NATT is not initialized error

Hi team,

I’m testing on an Ubuntu 22 laptop with Minikube (Docker driver) with Metallb. I’ve tested the load balancer with generic nginx containers and can reach the welcome page so it’s configured correctly. When trying to connect to an Omnivese stream I’m getting the following errors below.

I’m using all the examples from the docs and the provided usd-viewer container. Appreciate some guidance on how to debug this. I can provide the config for the K8s service, and the envoy proxy just let me know what you need to see. I’ll keep the initial post short. Thanks

2024-12-06 13:55:52 [371,375ms] [Error] [carb.livestream-rtc.plugin] StreamSDK: natt: #4(E)[2024-12-06 13:55:52,136]=13:55:52=*00000*{14561495744829269654}&9620D6EB&<natt>             NATT Initialize: invalid STUN server count 0
2024-12-06 13:55:52 [371,375ms] [Error] [carb.livestream-rtc.plugin] StreamSDK: natt: #5(E)[2024-12-06 13:55:52,136]=13:55:52=*00000*{14561495744829269654}&A7EC0954&<natt>             NATT GetSocket Endpoint: NATT is not initialized
2024-12-06 13:56:08 [387,384ms] [Error] [carb.livestream-rtc.plugin] StreamSDK: WebRtcTransThr: #6(E)[2024-12-06 13:56:08,145]=13:56:08=*00000*{11758771461632788242}&E414E575&<WebRtcTransThr>   No packets received for 16 seconds
2024-12-06 13:56:08 [387,880ms] [Fatal] [carb.livestream-rtc.plugin] StreamSDK: NvscStreamingSession: #7(C)[2024-12-06 13:56:08,641]=13:56:08=*00000*{3082840065366501374}&1DA6C6B0&<NvscStreamingSes> Failed to setup the streaming session because: StreamSdkException 800b0000 [NVST_R_GENERIC_ERROR] Got stop event while waiting for client connection.
2024-12-06 13:57:37 [476,905ms] [Error] [carb.livestream-rtc.plugin] StreamSDK: NvNetworkPosix: #8(E)[2024-12-06 13:57:37,666]=13:57:37=*99999*{14561495744829269654}&F19E5260&<NvNetworkPosix>   getAddressInfo : Resolve address 07afe7ec-2b32-446d-a3be-1149edad64a4.local:52631: failed (Error: Name or service not known)
2024-12-06 13:57:37 [476,905ms] [Error] [carb.livestream-rtc.plugin] StreamSDK: NvNetworkCommon: #9(E)[2024-12-06 13:57:37,666]=13:57:37=*00000*{14561495744829269654}&80DCECD5&<NvNetworkCommon>  Network String To Address: failed to parse 07afe7ec-2b32-446d-a3be-1149edad64a4.local:52631 (Error: 2)
2024-12-06 13:57:37 [476,905ms] [Error] [carb.livestream-rtc.plugin] StreamSDK: NvNetworkCommon: #0(E)[2024-12-06 13:57:37,666]=13:57:37=*00000*{14561495744829269654}&168334B0&<NvNetworkCommon>  Network Address To String: invalid parameters 0x7975d001d0f0, 0x7975d001d110, 48
2024-12-06 13:57:37 [476,905ms] [Error] [carb.livestream-rtc.plugin] StreamSDK: SignalingConnection: #1(E)[2024-12-06 13:57:37,666]=13:57:37=*00000*{14561495744829269654}&6026E29E&<SignalingConnect> 
2024-12-06 13:57:37 [476,905ms] [Error] [carb.livestream-rtc.plugin] StreamSDK: Server: #2(E)[2024-12-06 13:57:37,666]=13:57:37=*00000*{14561495744829269654}&73C88495&<Server>           OnCustomMessage failed: StreamSdkException 800b1000 [NVST_R_INVALID_STATE] Cannot run the requested logic for state (1005) is incorrect.
2024-12-06 13:57:37 [476,905ms] [Error] [carb.livestream-rtc.plugin] StreamSDK: Server: #3(E)[2024-12-06 13:57:37,666]=13:57:37=*00000*{14561495744829269654}&8B0E15D8&<Server>           OnConnected failed: StreamSdkException 800b1000 [NVST_R_INVALID_STATE] Cannot transition from current state (1005) to (1002)
2024-12-06 13:57:37 [476,905ms] [Error] [carb.livestream-rtc.plugin] StreamSDK: SignalingConnection: #4(E)[2024-12-06 13:57:37,666]=13:57:37=*00000*{14561495744829269654}&9031DB77&<SignalingConnect> Failed to connect the peer.
2024-12-06 13:57:37 [476,905ms] [Error] [carb.livestream-rtc.plugin] StreamSDK: Server: #5(E)[2024-12-06 13:57:37,666]=13:57:37=*00000*{14561495744829269654}&8B0E15D8&<Server>           OnConnected failed: StreamSdkException 800b1000 [NVST_R_INVALID_STATE] Cannot transition from current state (1005) to (1002)
2024-12-06 13:57:37 [476,905ms] [Info] [carb.livestream-rtc.plugin] Stream Server: stream0 0x7975d0031c20 (type 1) stopped
2024-12-06 13:57:37 [476,905ms] [Error] [carb.livestream-rtc.plugin] StreamSDK: SignalingConnection: #6(E)[2024-12-06 13:57:37,666]=13:57:37=*00000*{14561495744829269654}&9031DB77&<SignalingConnect> Failed to connect the peer.

Thanks for posting this. I will ask for some expert help. In the meantime have you checked out both of this docs?

https://docs.omniverse.nvidia.com/ovc/latest/developing_for_ovc/developing.html
and:
Containerizing and Local Validation — Omniverse Cloud That will help to validate streaming locally. An OV kit container built for streaming has two paths for consumption at scale.

  1. OVC as a managed Paas: NVIDIA Omniverse Cloud™ Platform-as-a-Service (PaaS) — Omniverse Cloud
  2. OVAS which is self deployed: Architecture Overview — Kit App Streaming API

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.