Atlantis-Software / node-turn

Node-turn is a STUN/TURN server for Node.JS
MIT License
279 stars 63 forks source link

turn server relay faild. #5

Open suoc opened 5 years ago

suoc commented 5 years ago

This is node server's-123.56.177.185:3478 ips:

本地候选 远程候选 组件 ID ICE 统计 优先级 已提名 已选定 已发送字节 已接收字节
192.168.126.1:62720/udp(host) 192.168.1.103:34856/udp(host) 1 inprogress 9115005270282338000 false false 0 0
192.168.0.19:62719/udp(host) 192.168.1.103:34856/udp(host) 1 inprogress 9114723795305628000 false false 0 0
192.168.74.1:62721/udp(host) 192.168.1.103:34856/udp(host) 1 inprogress 9114442320328917000 false false 0 0
192.168.126.1:52265/tcp(host) 192.168.1.103:64901/tcp(host) 1 inprogress 9043088413699310000 false false 0 0
192.168.0.19:60684/tcp(host) 192.168.1.103:64901/tcp(host) 1 inprogress 9042877307466744000 false false 0 0
192.168.74.1:53738/tcp(host) 192.168.1.103:64901/tcp(host) 1 inprogress 9042595832490033000 false false 0 0
192.168.126.1:62720/udp(host) 124.202.206.114:34856/udp(serverreflexive) 1 inprogress 7241541910156673000 false false 0 0
192.168.0.19:62719/udp(host) 124.202.206.114:34856/udp(serverreflexive) 1 inprogress 7241541910156542000 false false 0 0
192.168.74.1:62721/udp(host) 124.202.206.114:34856/udp(serverreflexive) 1 inprogress 7241541910156411000 false false 0 0

This is coturn(a open source turn server)-59.110.15.178:3478 ips:

本地候选 远程候选 组件 ID ICE 统计 优先级 已提名 已选定 已发送字节 已接收字节
59.110.15.178:60849/udp(relayed-udp) 124.202.206.114:35595/udp(serverreflexive) 1 succeeded 395787901192781800 true true 998359 1953085
192.168.126.1:62512/udp(host) 192.168.1.103:35595/udp(host) 1 failed 9115005270282338000 false false 0 0
192.168.0.19:62511/udp(host) 192.168.1.103:35595/udp(host) 1 failed 9114723795305628000 false false 0 0
192.168.74.1:62513/udp(host) 192.168.1.103:35595/udp(host) 1 failed 9114442320328917000 false false 0 0
192.168.126.1:51758/tcp(host) 192.168.1.103:55579/tcp(host) 1 failed 9043088413699310000 false false 0 0
192.168.0.19:54307/tcp(host) 192.168.1.103:55579/tcp(host) 1 failed 9042877307466744000 false false 0 0
192.168.74.1:61332/tcp(host) 192.168.1.103:55579/tcp(host) 1 failed 9042595832490033000 false false 0 0
192.168.126.1:62512/udp(host) 124.202.206.114:35595/udp(serverreflexive) 1 failed 7241541910156673000 false false 0 0
192.168.0.19:62511/udp(host) 124.202.206.114:35595/udp(serverreflexive) 1 failed 7241541910156542000 false false 0 0
192.168.74.1:62513/udp(host) 124.202.206.114:35595/udp(serverreflexive) 1 failed 7241541910156411000 false false 0 0
59.110.15.178:60849/udp(relayed-udp) 192.168.1.103:35595/udp(host) 1 failed 395787902065181200 false false 0 0
suoc commented 5 years ago

coturn can connect success, node-turn can't.

atiertant commented 5 years ago

what is this test? could you give your code and translate all in english ?

suoc commented 5 years ago

You can try it by yourself in firefox browser, Because go-turn(golang turnserver) had fixed a bug about the firefox.

suoc commented 5 years ago

You can test in this link: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/

atiertant commented 5 years ago

so, this is working on google chrome but not on firefox?

suoc commented 5 years ago

Yes, In firefox can't get relay address.

atiertant commented 5 years ago

go-turn(golang turnserver) had fixed a bug about the firefox

could you give the PR link ?

suoc commented 5 years ago

https://github.com/pions/turn/compare/1.0.3...master

atiertant commented 5 years ago

so https://github.com/pions/turn/compare/1.0.2...1.0.3 i'll have a look at it

atiertant commented 5 years ago

firefox use fingerprint that was not implemented in 0.0.3. could you try 0.0.4 with last firefox version ?

suoc commented 5 years ago

Yes!!! 0.0.4 is ok! great. But i find that firefox will get tow relay address:

ime Component Type Foundation Protocol Address Port Priority
0.010 1 host 0 UDP 192.168.0.19 53090 126 | 32512 | 255
0.011 1 host 4 UDP 2001:0:9d38:6ab8:3468:efb4:480f:3b8e 53089 126 | 32256 | 255
0.012 1 host 5 TCP 192.168.0.19 9 125 | 32704 | 255
0.016 1 host 6 TCP 2001:0:9d38:6ab8:3468:efb4:480f:3b8e 9 125 | 32448 | 255
0.016 2 host 0 UDP 192.168.0.19 53091 126 | 32512 | 254
0.017 2 host 5 TCP 192.168.0.19 9 125 | 32704 | 254
0.017 2 host 6 TCP 2001:0:9d38:6ab8:3468:efb4:480f:3b8e 9 125 | 32448 | 254
0.017 1 srflx 1 UDP 124.202.206.114 53090 100 | 32543 | 255
0.045 1 relay 3 UDP 123.56.177.185 60281 5 | 32542 | 255
0.083 2 srflx 2 UDP 124.202.206.114 53091 100 | 32542 | 254
0.085 2 relay 3 UDP 123.56.177.185 59004 5 | 32542 | 254
0.158 2 srflx 1 UDP 124.202.206.114 53091 100 | 32543 | 254
0.158 Done

I think, If tow peers use different(session address), Maybe will failed;

suoc commented 5 years ago

And i find few time later , ICE will failed, video will disconnect;

atiertant commented 5 years ago

need a way to reproduce it. could you write a test?

jespertheend commented 3 years ago

I have an issue with firefox as well, I think it might be the same issue. Here is a minimal example: webrtctest.html.zip To reproduce the issue, do npm i node-turn and npm run start inside the node-turn folder. Then open webrtctest.html in a browser. If you click 'connect' everything works fine. But if you click 'connect (force turn)' it fails on firefox.

In the console it shows: WebRTC: ICE failed, your TURN server appears to be broken, see about:webrtc for more details

Interestingly enough, on Chromium and Safari with 'force turn' it disconnects every n seconds (this number seems to change every time you refresh the page, but is usually around 42 seconds). I'm not sure if this is a related issue or not, but it only seems to occur with force turn.

jespertheend commented 3 years ago

I just tried deploying node-turn on my server and it seems to work fine on firefox. It also doesn't disconnect every 42 seconds. On chrome and safari it still disconnects though, both on the local and the remote turn server.

zeijibashuai commented 3 years ago

I have an issue with firefox as well, I think it might be the same issue. Here is a minimal example: webrtctest.html.zip To reproduce the issue, do npm i node-turn and npm run start inside the node-turn folder. Then open webrtctest.html in a browser. If you click 'connect' everything works fine. But if you click 'connect (force turn)' it fails on firefox.

In the console it shows: WebRTC: ICE failed, your TURN server appears to be broken, see about:webrtc for more details

Interestingly enough, on Chromium and Safari with 'force turn' it disconnects every n seconds (this number seems to change every time you refresh the page, but is usually around 42 seconds). I'm not sure if this is a related issue or not, but it only seems to occur with force turn.

I met the same problem. How did you deal with it now? 📚

jespertheend commented 3 years ago

@zeijibashuai I switched to coturn

sweesenkoh commented 3 years ago

I also faced the same disconnection issue using webrtc for android/ios, where the call will be disconnected at around 40-42 seconds. Just switched to coturn and the issue is now solved.

RezaErfani67 commented 3 years ago

any way for solution?

atiertant commented 3 years ago

I can't get enough browser debug to understand problem, some help would be appreciated

ntanis-dev commented 3 years ago

I can't get enough browser debug to understand problem, some help would be appreciated

Comparing Firefox (which the issue does not occur) and Chrome at first, I can see that Chrome complains about STUN server being incompatible even though only TURN is specified in iceServers property of the RTCPeerConnection. Going a step further and testing the STUN server of node-turn using https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ then we can see similar behavior. Chrome complains with 701 "STUN server address is incompatible" while in Firefox there are no errors. I am not sure if this is related to the disconnect issue but may be worth mentioning. If I have some time later I will get a coturn server running and try to compare the behavior against node-turn since people here say coturn does not have this issue.

RezaErfani67 commented 3 years ago

@ntanis-dev can you please solve this bug faster?

elplancton commented 1 year ago

https://github.com/Atlantis-Software/node-turn/blob/fc1951cce419ae7e7ba33c2e0deb70a8c073453c/lib/methods/allocate.js#L89-L90 liftetime está correto ou era pra ser lifetime?

elplancton commented 1 year ago

Descobri na RFC 5389 # seção 7.2.1 que aparentemente esse problema está relacionado à algo com retransmissão. O cliente da expira a conexão após 39,5 segundos.

Retransmissions continue until a response is received, or until a total of Rc requests have been sent. Rc SHOULD be configurable and SHOULD have a default of 7. If, after the last request, a duration equal to Rm times the RTO has passed without a response (providing ample time to get a response if only this final request actually succeeds), the client SHOULD consider the transaction to have failed. Rm SHOULD be configurable and SHOULD have a default of 16. A STUN transaction over UDP is also considered failed if there has been a hard ICMP error [RFC1122]. For example, assuming an RTO of 500 ms, requests would be sent at times 0 ms, 500 ms, 1500 ms, 3500 ms, 7500 ms, 15500 ms, and 31500 ms. If the client has not received a response after 39500 ms, the client will consider the transaction to have timed out.

PolanZ commented 7 months ago

same error, but I remember it seemed like there was success on the first time.

image

this Firefox connect logs. ```shell +++++++ BEGIN (process id 22948) ++++++++ (generic/CRIT) PR_Connect failed: -5980 (ice/INFO) ICE-STREAM(PC:{77591e8b-f1e6-4d1e-9134-caafd88dfb4d} 1706584409846000 (id=19327352833 url=https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/) transport-id=transport_0 - 4795fde6:c609f934af75141b36f239216138aff5): Skipping STUN server because of address type mis-match (ice/INFO) /builds/worker/checkouts/gecko/dom/media/webrtc/transport/third_party/nICEr/src/net/nr_socket_multi_tcp.c:175 function nr_socket_multi_tcp_create_stun_server_socket skipping UDP STUN server(addr:IP4:0.0.0.0:19302/UDP) (ice/INFO) /builds/worker/checkouts/gecko/dom/media/webrtc/transport/third_party/nICEr/src/net/nr_socket_multi_tcp.c:175 function nr_socket_multi_tcp_create_stun_server_socket skipping UDP STUN server(addr:IP6:[::]:19302/UDP) (ice/INFO) /builds/worker/checkouts/gecko/dom/media/webrtc/transport/third_party/nICEr/src/net/nr_socket_multi_tcp.c:175 function nr_socket_multi_tcp_create_stun_server_socket skipping UDP STUN server(addr:IP4:172.16.124.106:3478/UDP) (ice/WARNING) /builds/worker/checkouts/gecko/dom/media/webrtc/transport/third_party/nICEr/src/net/nr_socket_multi_tcp.c:639 function nr_socket_multi_tcp_listen failed with error 3 (ice/WARNING) ICE-STREAM(PC:{77591e8b-f1e6-4d1e-9134-caafd88dfb4d} 1706584409846000 (id=19327352833 url=https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/) transport-id=transport_0 - 4795fde6:c609f934af75141b36f239216138aff5): failed to create passive TCP host candidate: 3 (ice/INFO) ICE-STREAM(PC:{77591e8b-f1e6-4d1e-9134-caafd88dfb4d} 1706584409846000 (id=19327352833 url=https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/) transport-id=transport_0 - 4795fde6:c609f934af75141b36f239216138aff5): Skipping STUN server because of address type mis-match (ice/INFO) /builds/worker/checkouts/gecko/dom/media/webrtc/transport/third_party/nICEr/src/net/nr_socket_multi_tcp.c:175 function nr_socket_multi_tcp_create_stun_server_socket skipping UDP STUN server(addr:IP4:0.0.0.0:19302/UDP) (ice/INFO) /builds/worker/checkouts/gecko/dom/media/webrtc/transport/third_party/nICEr/src/net/nr_socket_multi_tcp.c:175 function nr_socket_multi_tcp_create_stun_server_socket skipping UDP STUN server(addr:IP6:[::]:19302/UDP) (ice/INFO) /builds/worker/checkouts/gecko/dom/media/webrtc/transport/third_party/nICEr/src/net/nr_socket_multi_tcp.c:175 function nr_socket_multi_tcp_create_stun_server_socket skipping UDP STUN server(addr:IP4:172.16.124.106:3478/UDP) (ice/WARNING) /builds/worker/checkouts/gecko/dom/media/webrtc/transport/third_party/nICEr/src/net/nr_socket_multi_tcp.c:639 function nr_socket_multi_tcp_listen failed with error 3 (ice/WARNING) ICE-STREAM(PC:{77591e8b-f1e6-4d1e-9134-caafd88dfb4d} 1706584409846000 (id=19327352833 url=https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/) transport-id=transport_0 - 4795fde6:c609f934af75141b36f239216138aff5): failed to create passive TCP host candidate: 3 (stun/INFO) STUN-CLIENT(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)::TURN): Received response; processing (stun/WARNING) STUN-CLIENT(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)::TURN): nr_stun_process_error_response failed (stun/WARNING) STUN-CLIENT(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)::TURN): Error processing response: Retry may be possible, stun error code 401. (stun/INFO) STUN-CLIENT(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)::TURN): Received response; processing (stun/WARNING) STUN-CLIENT(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)::TURN): nr_stun_process_error_response failed (stun/WARNING) STUN-CLIENT(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)::TURN): Error processing response: Retry may be possible, stun error code 401. (turn/WARNING) TURN(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)): Exceeded the number of retries (turn/WARNING) TURN(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)): mode 20, nr_turn_client_error_cb (turn/WARNING) TURN(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)) failed (turn/INFO) TURN(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)): cancelling (turn/WARNING) ICE-CANDIDATE(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)): nr_turn_allocated_cb called with state 4 (turn/WARNING) ICE-CANDIDATE(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)): nr_turn_allocated_cb failed (ice/WARNING) ICE(PC:{77591e8b-f1e6-4d1e-9134-caafd88dfb4d} 1706584409846000 (id=19327352833 url=https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/))/CAND(srflx(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)): failed to initialize, 5 remaining (ice/WARNING) ICE(PC:{77591e8b-f1e6-4d1e-9134-caafd88dfb4d} 1706584409846000 (id=19327352833 url=https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/))/CAND(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)): failed to initialize, 4 remaining (stun/INFO) STUN-CLIENT(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)::TURN): Received response; processing (stun/WARNING) STUN-CLIENT(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)::TURN): nr_stun_process_error_response failed (stun/WARNING) STUN-CLIENT(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)::TURN): Error processing response: Retry may be possible, stun error code 401. (stun/INFO) STUN-CLIENT(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)::TURN): Received response; processing (stun/WARNING) STUN-CLIENT(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)::TURN): nr_stun_process_error_response failed (stun/WARNING) STUN-CLIENT(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)::TURN): Error processing response: Retry may be possible, stun error code 401. (turn/WARNING) TURN(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)): Exceeded the number of retries (turn/WARNING) TURN(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)): mode 20, nr_turn_client_error_cb (turn/WARNING) TURN(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)) failed (turn/INFO) TURN(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)): cancelling (turn/WARNING) ICE-CANDIDATE(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)): nr_turn_allocated_cb called with state 4 (turn/WARNING) ICE-CANDIDATE(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)): nr_turn_allocated_cb failed (ice/WARNING) ICE(PC:{77591e8b-f1e6-4d1e-9134-caafd88dfb4d} 1706584409846000 (id=19327352833 url=https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/))/CAND(srflx(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)): failed to initialize, 3 remaining (ice/WARNING) ICE(PC:{77591e8b-f1e6-4d1e-9134-caafd88dfb4d} 1706584409846000 (id=19327352833 url=https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/))/CAND(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)): failed to initialize, 2 remaining (stun/INFO) STUN-CLIENT(srflx(IP4:172.16.124.106:57073/UDP|IP4:0.0.0.0:19302/UDP)): Received response; processing (stun/INFO) STUN-CLIENT(srflx(IP4:172.16.124.106:57074/UDP|IP4:0.0.0.0:19302/UDP)): Received response; processing (ice/INFO) ICE(PC:{77591e8b-f1e6-4d1e-9134-caafd88dfb4d} 1706584409846000 (id=19327352833 url=https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/)): All candidates initialized +++++++ END (process id 22948) ++++++++ +++++++ BEGIN (process id 17312) ++++++++ (generic/CRIT) PR_Connect failed: -5980 (ice/INFO) ICE-STREAM(PC:{77591e8b-f1e6-4d1e-9134-caafd88dfb4d} 1706584409846000 (id=19327352833 url=https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/) transport-id=transport_0 - 4795fde6:c609f934af75141b36f239216138aff5): Skipping STUN server because of address type mis-match (ice/INFO) /builds/worker/checkouts/gecko/dom/media/webrtc/transport/third_party/nICEr/src/net/nr_socket_multi_tcp.c:175 function nr_socket_multi_tcp_create_stun_server_socket skipping UDP STUN server(addr:IP4:0.0.0.0:19302/UDP) (ice/INFO) /builds/worker/checkouts/gecko/dom/media/webrtc/transport/third_party/nICEr/src/net/nr_socket_multi_tcp.c:175 function nr_socket_multi_tcp_create_stun_server_socket skipping UDP STUN server(addr:IP6:[::]:19302/UDP) (ice/INFO) /builds/worker/checkouts/gecko/dom/media/webrtc/transport/third_party/nICEr/src/net/nr_socket_multi_tcp.c:175 function nr_socket_multi_tcp_create_stun_server_socket skipping UDP STUN server(addr:IP4:172.16.124.106:3478/UDP) (ice/WARNING) /builds/worker/checkouts/gecko/dom/media/webrtc/transport/third_party/nICEr/src/net/nr_socket_multi_tcp.c:639 function nr_socket_multi_tcp_listen failed with error 3 (ice/WARNING) ICE-STREAM(PC:{77591e8b-f1e6-4d1e-9134-caafd88dfb4d} 1706584409846000 (id=19327352833 url=https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/) transport-id=transport_0 - 4795fde6:c609f934af75141b36f239216138aff5): failed to create passive TCP host candidate: 3 (ice/INFO) ICE-STREAM(PC:{77591e8b-f1e6-4d1e-9134-caafd88dfb4d} 1706584409846000 (id=19327352833 url=https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/) transport-id=transport_0 - 4795fde6:c609f934af75141b36f239216138aff5): Skipping STUN server because of address type mis-match (ice/INFO) /builds/worker/checkouts/gecko/dom/media/webrtc/transport/third_party/nICEr/src/net/nr_socket_multi_tcp.c:175 function nr_socket_multi_tcp_create_stun_server_socket skipping UDP STUN server(addr:IP4:0.0.0.0:19302/UDP) (ice/INFO) /builds/worker/checkouts/gecko/dom/media/webrtc/transport/third_party/nICEr/src/net/nr_socket_multi_tcp.c:175 function nr_socket_multi_tcp_create_stun_server_socket skipping UDP STUN server(addr:IP6:[::]:19302/UDP) (ice/INFO) /builds/worker/checkouts/gecko/dom/media/webrtc/transport/third_party/nICEr/src/net/nr_socket_multi_tcp.c:175 function nr_socket_multi_tcp_create_stun_server_socket skipping UDP STUN server(addr:IP4:172.16.124.106:3478/UDP) (ice/WARNING) /builds/worker/checkouts/gecko/dom/media/webrtc/transport/third_party/nICEr/src/net/nr_socket_multi_tcp.c:639 function nr_socket_multi_tcp_listen failed with error 3 (ice/WARNING) ICE-STREAM(PC:{77591e8b-f1e6-4d1e-9134-caafd88dfb4d} 1706584409846000 (id=19327352833 url=https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/) transport-id=transport_0 - 4795fde6:c609f934af75141b36f239216138aff5): failed to create passive TCP host candidate: 3 (stun/INFO) STUN-CLIENT(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)::TURN): Received response; processing (stun/WARNING) STUN-CLIENT(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)::TURN): nr_stun_process_error_response failed (stun/WARNING) STUN-CLIENT(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)::TURN): Error processing response: Retry may be possible, stun error code 401. (stun/INFO) STUN-CLIENT(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)::TURN): Received response; processing (stun/WARNING) STUN-CLIENT(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)::TURN): nr_stun_process_error_response failed (stun/WARNING) STUN-CLIENT(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)::TURN): Error processing response: Retry may be possible, stun error code 401. (turn/WARNING) TURN(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)): Exceeded the number of retries (turn/WARNING) TURN(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)): mode 20, nr_turn_client_error_cb (turn/WARNING) TURN(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)) failed (turn/INFO) TURN(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)): cancelling (turn/WARNING) ICE-CANDIDATE(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)): nr_turn_allocated_cb called with state 4 (turn/WARNING) ICE-CANDIDATE(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)): nr_turn_allocated_cb failed (ice/WARNING) ICE(PC:{77591e8b-f1e6-4d1e-9134-caafd88dfb4d} 1706584409846000 (id=19327352833 url=https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/))/CAND(srflx(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)): failed to initialize, 5 remaining (ice/WARNING) ICE(PC:{77591e8b-f1e6-4d1e-9134-caafd88dfb4d} 1706584409846000 (id=19327352833 url=https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/))/CAND(relay(IP4:172.16.124.106:57073/UDP|IP4:172.16.124.106:3478/UDP)): failed to initialize, 4 remaining (stun/INFO) STUN-CLIENT(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)::TURN): Received response; processing (stun/WARNING) STUN-CLIENT(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)::TURN): nr_stun_process_error_response failed (stun/WARNING) STUN-CLIENT(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)::TURN): Error processing response: Retry may be possible, stun error code 401. (stun/INFO) STUN-CLIENT(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)::TURN): Received response; processing (stun/WARNING) STUN-CLIENT(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)::TURN): nr_stun_process_error_response failed (stun/WARNING) STUN-CLIENT(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)::TURN): Error processing response: Retry may be possible, stun error code 401. (turn/WARNING) TURN(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)): Exceeded the number of retries (turn/WARNING) TURN(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)): mode 20, nr_turn_client_error_cb (turn/WARNING) TURN(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)) failed (turn/INFO) TURN(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)): cancelling (turn/WARNING) ICE-CANDIDATE(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)): nr_turn_allocated_cb called with state 4 (turn/WARNING) ICE-CANDIDATE(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)): nr_turn_allocated_cb failed (ice/WARNING) ICE(PC:{77591e8b-f1e6-4d1e-9134-caafd88dfb4d} 1706584409846000 (id=19327352833 url=https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/))/CAND(srflx(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)): failed to initialize, 3 remaining (ice/WARNING) ICE(PC:{77591e8b-f1e6-4d1e-9134-caafd88dfb4d} 1706584409846000 (id=19327352833 url=https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/))/CAND(relay(IP4:172.16.124.106:57074/UDP|IP4:172.16.124.106:3478/UDP)): failed to initialize, 2 remaining (stun/INFO) STUN-CLIENT(srflx(IP4:172.16.124.106:57073/UDP|IP4:0.0.0.0:19302/UDP)): Received response; processing (stun/INFO) STUN-CLIENT(srflx(IP4:172.16.124.106:57074/UDP|IP4:0.0.0.0:19302/UDP)): Received response; processing (ice/INFO) ICE(PC:{77591e8b-f1e6-4d1e-9134-caafd88dfb4d} 1706584409846000 (id=19327352833 url=https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/)): All candidates initialized +++++++ END (process id 17312) ++++++++ ```

Hope it will be helpful for solving the problem. :)