Unreliable NAT Type Assist Daemon 2024 Q3
While setting up new broker and probetest, probetest was failing randomly:
Not working:
2024/09/18 14:06:14 Probetest answer:
v=0
o=- 8779524473244606145 1726668374 IN IP4 0.0.0.0
s=-
t=0 0
a=msid-semantic:WMS*
a=fingerprint:sha-256 2F:1F:98:34:19:25:EF:40:22:3F:AA:22:1F:31:B6:5A:5E:1F:D2:87:57:87:26:63:91:AA:5B:E0:37:85:F8:7A
a=extmap-allow-mixed
a=group:BUNDLE 0
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 0.0.0.0
a=setup:active
a=mid:0
a=sendrecv
a=sctp-port:5000
a=ice-ufrag:AZjLBFkjKrpsiaES
a=ice-pwd:FesUPXAxnSTOXZoKwCqHEZLruriTJknS
a=candidate:136321087 1 udp 1694498815 37.218.242.175 17976 typ srflx raddr 0.0.0.0 rport 45562
a=candidate:136321087 2 udp 1694498815 37.218.242.175 17976 typ srflx raddr 0.0.0.0 rport 45562
a=candidate:1021868445 1 udp 1694498815 2a00:c6c0:0:151:4:ae99:c0a9:d585 17720 typ srflx raddr :: rport 34864
a=candidate:1021868445 2 udp 1694498815 2a00:c6c0:0:151:4:ae99:c0a9:d585 17720 typ srflx raddr :: rport 34864
a=end-of-candidates
2024/09/18 14:06:14 Waiting for a test WebRTC connection with NAT check probe server to establish...
2024/09/18 14:06:15 WebRTC: DataChannel.OnClose
working:
2024/09/18 14:09:37 Probetest answer:
v=0
o=- 1802567889911309006 1726668577 IN IP4 0.0.0.0
s=-
t=0 0
a=msid-semantic:WMS*
a=fingerprint:sha-256 77:72:D3:11:5C:84:09:EC:21:B3:5D:AC:1A:65:73:5C:1D:1A:82:4C:EB:17:76:E8:F7:0C:A2:3D:59:9B:1F:17
a=extmap-allow-mixed
a=group:BUNDLE 0
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 0.0.0.0
a=setup:active
a=mid:0
a=sendrecv
a=sctp-port:5000
a=ice-ufrag:nYgIQeZCCtCMqnUE
a=ice-pwd:rHyULJDUfhHmraZnBNZvNDdUAUZNzkWT
a=candidate:136321087 1 udp 1694498815 37.218.242.175 35638 typ srflx raddr 0.0.0.0 rport 53863
a=candidate:136321087 2 udp 1694498815 37.218.242.175 35638 typ srflx raddr 0.0.0.0 rport 53863
a=candidate:1021868445 1 udp 1694498815 2a00:c6c0:0:151:4:ae99:c0a9:d585 24120 typ srflx raddr :: rport 59979
a=candidate:1021868445 2 udp 1694498815 2a00:c6c0:0:151:4:ae99:c0a9:d585 24120 typ srflx raddr :: rport 59979
a=end-of-candidates
2024/09/18 14:09:37 Waiting for a test WebRTC connection with NAT check probe server to establish...
2024/09/18 14:09:38 WebRTC: DataChannel.OnOpen
2024/09/18 14:09:38 Test WebRTC connection with NAT check probe server established! This means our NAT is unrestricted!
2024/09/18 14:09:38 NAT Type measurement: unknown -> unrestricted
2024/09/18 14:09:38 WebRTC: DataChannel.OnClose
2024/09/18 14:09:38 NAT type: unrestricted
This issue is here to document and track this issue(as I am deploying the broker and unable to follow into this issue and investigate it).