Coturn Server Not Responding

171 views
Skip to first unread message

Rohit Chaku

unread,
Mar 7, 2023, 1:52:20 PM3/7/23
to TURN Server (Open-Source project)
Hello all,

The Coturn server we have deployed in not responding for STUN Requests origination from a certain Browser Client (Binding requests).
We have deployed a
Coturn Server (coturn/stable,now 4.5.2-3 amd64 [installed]) in
Debian 11 AWS EC2 instance (Linux ip-10-10-6-88 5.10.0-20-cloud-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 GNU/Linux).

As browser Client we are using JsSIP v3.9.0 for both, a slightly modified version of tryit-jssip to test (where it is working successfully) in once case and our enterprise production application in another case (where it fails). There are no major differences in terms of implementation of JsSIP.

Have attached the relevant Documents with Coturn logs in Both cases (Verbose flag set), Relevant SIP Message exchange in both cases and WebRTC Internals.

Not sharing the entire PCAP file at the moment for both cases but have attached some screenshots showing the difference in both cases, with binding responses from Coturn when we user JsSIP standalone as expected but not otherwise. I could not see any reasonable difference in the individual packets in the two scenarios.

Any help is appreciated. (Also in case there is anything I have overlooked anything or any relevant detail is missing, please let me know).

More information about the Logs:
  1. Coturn Verbose Logs - Starting with coturn_Verbose.
  2. The arrows for SIP Traces are similar to what we see on browser Network Tab (WS), indicating whether messages are incoming (⬇️) or outgoing (⬆️).
  3. The WebRTC Internals Dump with the WebRTC connection failure. (webrtc_internals_dump.txt)
  4. PCAP screenshot for Successful JsSIP Test (pcap_jssip-test_success.png)
  5. PCAP screenshot for Failed Enterprise JsSIP Test (pcap_enterprise-ui_fail.png)

Thanks.
coturn_Verbose_enterprise-ui.txt
pcap_jssip-test_success.png
enterprise-ui_log_sip-trace.txt
webrtc_internals_dump.txt
jssip_log_sip-trace.txt
pcap_enterprise-ui_fail.png
coturn_Verbose_jssip.txt

Gustavo Garcia

unread,
Apr 2, 2023, 6:59:33 AM4/2/23
to TURN Server (Open-Source project)
can you confirm the enterprise firewall is not blocking the BindingResponse messages from your coturn server to your client?

if all the IPs and ports in those messages look correct then some firewall rules could be the cause.   

Also DM me the pcaps if you want me to take a look.
Reply all
Reply to author
Forward
0 new messages