Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

Can I install Nx Witness in the Google or AWS-Cloud?

Answered

Comments

11 comments

  • Permanently deleted user

    BTW: I'm getting this error in the logs: 

    2020-08-16 10:36:18.358   1497 WARNING QnMulticodecRtpReader(0x5573967efce0): Can't open RTSP stream [rtsp://x.x.x.x:554/ISAPI/Streaming/Channels/1mov], SETUP request has been failed
    0
  • Wendy Chuang
    • Network Optix team

    Hi @...

    Yes, the Nx Witness should be able to host on the Google cloud.

    Based on the error log, issue is more likely there's a problem occurred during RTSP SETUP process.

    Please refer to the ONVIF troubleshooting guide here. Likely you could do more troubleshooting first:

    - Is the firmware of HIKVISION up to date?

    - Installed the VLC player in your cloud host and try to play the RTSP URL directly and see if the LIVE stream could be played or not

    - When you see "NO SIGNAL" on the stream window, press "DIAGNOSTICS" button and provide the result to us

    - Using the tcpdump to collect the packet during stream playback. It will help us to check why the SETUP request get failed.

    Look forward to your feedback, thank you.

     

    0
  • Permanently deleted user

    Hi Wendy, 

    Thank you for your support. As my Ubuntu server in the cloud comes with no visuals I'll create a second VM in the same google-cloud network and try if I get the RTSP connection on the new VM with VLC. I'll get back to this thread once this is done.

    However, I was able to get the stream with VLC on my local system over the same internet connection- but maybe there is still something blocked on the Google cloud firewall. 

    Thank you, 

    Jens

     

    0
  • Wendy Chuang
    • Network Optix team

    Hi Jens,

    Just a little reminder -  make sure the firmware of HIKVISION camera is the latest version before further testing. 
    Thank you.

    0
  • Jasper

    Jens,

    If you setup the VM in the GCP you can allow all HTTP and HTTPS traffic. This way you know it isn't a firewall problem.
    I have already successfully setup some NX servers via GCP.

    Also, if you add the camera do you add them by the RTSP URL? For example: rtsp://IP:554/axis-media/media.amp
    If you try to add them via Onvif (just the IP adress) you should also open the HTTP(S) (80/443) port to be able to let the NX server connect to the camera properly.

    0
  • Permanently deleted user

    Thank you all, 

    I'm not getting it running. Everything is well on my local hyper-v system - with the same external IP Address. I did open all ports from the camera network and even on the GCP machine- but I'm not getting the stream.

    However, when I use this test stream: https://www.wowza.com/html/mobile.html I'm getting the stream immediately.

    @...

    Yes, I use the full RTSP URL- The exact same URL works in VLC and on my local hyper V system. I checked open ports with "sudo netstat -npl" and saw a lot of UDP ports- So I'd allowed the UDP connection in booth directions too - without success. I'll give it another try on the weekend. 

     

    Firewall Settings GCP: 

     

    0
  • Permanently deleted user

    Hi all, 

    I did an AWS-Test now. Same result. Weird part is, when I spin up a Windows machine in the same network- I can get the stream via VLC- But still not with NX Witness. The client on my PC is not getting the stream. 

     

     

    0
  • Permanently deleted user

    Log:

    2020-08-20 21:27:51.512   7971    INFO QnMServerResourceDiscoveryManager(0x7f3a84060560): Mark resource Network resource url: , ip: , mac: 00-00-00-00-00-00, uniqueId: {41481a77-8eda-46ce-bb17-cda583de050b}{99cbc715-539b-4bfe-856f-799b45b69b1e} as offline because it doesn't response to discovery any more.
    2020-08-20 21:28:36.510   7971    INFO QnMServerResourceDiscoveryManager(0x7f3a84060560): Mark resource Network resource url: , ip: , mac: 00-00-00-00-00-00, uniqueId: {41481a77-8eda-46ce-bb17-cda583de050b}{99cbc715-539b-4bfe-856f-799b45b69b1e} as offline because it doesn't response to discovery any more.
    2020-08-20 21:28:38.907   8408    INFO ThirdPartyStreamReader(0x7f3a8423fe80): got stream URL rtsp://95.xx.xx.xx:554/ISAPI/Streaming/Channels/1mov for camera rtsp://95.xx.xx.xx:554/ISAPI/Streaming/Channels/1mov for role 1
    2020-08-20 21:28:49.072   8408 WARNING QnMulticodecRtpReader(0x7f3a800afdf0): Can't open RTSP stream [rtsp://95.xx.xx.xx:554/ISAPI/Streaming/Channels/1mov], SETUP request has been failed
    2020-08-20 21:29:05.409   7943 WARNING nx::vms::server::metrics::CameraController(0x7f3a841d1508): Skip missing resource a5c7e570-xxxx-xxxx-xxxx-53acb1xxxxx
    2020-08-20 21:30:05.408   7943 WARNING ec2::detail::ServerQueryProcessor(0x7f3a8439a740): Remove resource access status failed

     

    0
  • Wendy Chuang
    • Network Optix team

    Hi Jens,

    Based on previous error message, the problem should be related to the failed RTSP SETUP process.

    Please follow the suggestion and help us to collect the debug info,

    1. Update the firmware of HIKVISION to the latest version

    2. When you see "NO SIGNAL" on the stream window, press "DIAGNOSTICS" button and provide the result to us

    3. Use the Wireshark to collect the packet during stream playback then provide the IP of server/camera to us. It will help us to check why the SETUP request get failed.

    Thanks for your cooperation.

    0
  • Norman
    • Network Optix team

    Hi @...,

    After the reply of my colleague Wendy Chuang, is there something we can do for you? 

    0
  • Permanently deleted user

    Hi Norman, 

    I was not able to get the RTSP camera connected to the AWS or google cloud system.

    I've postponed this for now. Thank you, Jens

    0

Please sign in to leave a comment.