Closed srikantht0 closed 4 years ago
The log looks fine. There is no visible problem. Can you try to connect two users and then supply the client side log + the signaling server log? What is the exact error message they get on the client?
I would recommend using a turn server to try and fix the problem. Based on the messages it is only using direct ("typ host" in the messages) & STUN ("typ srflx" )connections which can result in some users being unable to connect.
thanks for Reply. i will provide you logs. i will try to use turn server and check.
Hi , i have hosted server in heroku for testing. everything works fine but while i am testing with a user in UK in his organization network. User cant join in room he always gets server close call back. Sorry i dont have complete information why it happens. But i got these log info.
Logs--
2019-09-29T14:47:39.258753+00:00 app[web.1]: (2019-09-29T14:47:39.258Z)[10.186.239.155:13485 /]INC: [NetEventType: (NewConnection), id: (1), Data: (tst)] 2019-09-29T14:47:39.258953+00:00 app[web.1]: (2019-09-29T14:47:39.258Z)[10.63.192.219:17965 /]OUT: [NetEventType: (NewConnection), id: (16384)] 2019-09-29T14:47:39.259313+00:00 app[web.1]: (2019-09-29T14:47:39.259Z)[10.186.239.155:13485 /]OUT: [NetEventType: (NewConnection), id: (1)] 2019-09-29T14:47:39.404206+00:00 app[web.1]: (2019-09-29T14:47:39.404Z)[10.186.239.155:13485 /]INC: [NetEventType: (ServerInitialized), id: (-1), Data: (tst:3b7b7185-7006-403a-bcbe-0626f9717719)] 2019-09-29T14:47:39.404302+00:00 app[web.1]: (2019-09-29T14:47:39.404Z)[10.186.239.155:13485 /]OUT: [NetEventType: (ServerInitialized), id: (-1), Data: (tst:3b7b7185-7006-403a-bcbe-0626f9717719)] 2019-09-29T14:47:39.459230+00:00 app[web.1]: (2019-09-29T14:47:39.459Z)[10.186.239.155:13485 /]INC: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"sdp":"v=0\r\no=- 7933552640947125835 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE data\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:X7lo\r\na=ice-pwd:USZXkFQq0b3GdQsJXAvxoQmD\r\na=fingerprint:sha-256 F4:E6:D0:13:FA:26:15:E8:4F:86:C4:55:96:07:03:AA:6F:F0:75:E4:0A:77:7B:C0:B4:F9:23:B2:AE:4E:41:90\r\na=setup:actpass\r\na=mid:data\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"offer"} 2019-09-29T14:47:39.459234+00:00 app[web.1]: )] 2019-09-29T14:47:39.459390+00:00 app[web.1]: (2019-09-29T14:47:39.459Z)[10.63.192.219:17965 /]OUT: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"sdp":"v=0\r\no=- 7933552640947125835 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE data\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:X7lo\r\na=ice-pwd:USZXkFQq0b3GdQsJXAvxoQmD\r\na=fingerprint:sha-256 F4:E6:D0:13:FA:26:15:E8:4F:86:C4:55:96:07:03:AA:6F:F0:75:E4:0A:77:7B:C0:B4:F9:23:B2:AE:4E:41:90\r\na=setup:actpass\r\na=mid:data\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"offer"} 2019-09-29T14:47:39.459393+00:00 app[web.1]: )] 2019-09-29T14:47:39.459785+00:00 app[web.1]: (2019-09-29T14:47:39.459Z)[10.186.239.155:13485 /]INC: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:2467942287 1 udp 2122262783 2a02:587:2911:9e00:9df3:1804:1e62:45ec 56606 typ host generation 0 ufrag X7lo network-id 3 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:39.459788+00:00 app[web.1]: )] 2019-09-29T14:47:39.459904+00:00 app[web.1]: (2019-09-29T14:47:39.459Z)[10.63.192.219:17965 /]OUT: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:2467942287 1 udp 2122262783 2a02:587:2911:9e00:9df3:1804:1e62:45ec 56606 typ host generation 0 ufrag X7lo network-id 3 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:39.459908+00:00 app[web.1]: )] 2019-09-29T14:47:39.460376+00:00 app[web.1]: (2019-09-29T14:47:39.460Z)[10.186.239.155:13485 /]INC: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:3444548182 1 udp 2122197247 2a02:587:2911:9e00:74d0:530d:a181:f498 56607 typ host generation 0 ufrag X7lo network-id 2 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:39.460378+00:00 app[web.1]: )] 2019-09-29T14:47:39.460492+00:00 app[web.1]: (2019-09-29T14:47:39.460Z)[10.63.192.219:17965 /]OUT: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:3444548182 1 udp 2122197247 2a02:587:2911:9e00:74d0:530d:a181:f498 56607 typ host generation 0 ufrag X7lo network-id 2 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:39.460494+00:00 app[web.1]: )] 2019-09-29T14:47:39.542614+00:00 app[web.1]: (2019-09-29T14:47:39.542Z)[10.63.192.219:17965 /]INC: [NetEventType: (ReliableMessageReceived), id: (16384), Data: (1051286880)] 2019-09-29T14:47:39.542708+00:00 app[web.1]: (2019-09-29T14:47:39.542Z)[10.186.239.155:13485 /]OUT: [NetEventType: (ReliableMessageReceived), id: (1), Data: (1051286880)] 2019-09-29T14:47:39.549186+00:00 app[web.1]: (2019-09-29T14:47:39.549Z)[10.186.239.155:13485 /]INC: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:3022624816 1 udp 2122129151 192.168.1.4 56608 typ host generation 0 ufrag X7lo network-id 1 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:39.549190+00:00 app[web.1]: )] 2019-09-29T14:47:39.553826+00:00 app[web.1]: (2019-09-29T14:47:39.549Z)[10.63.192.219:17965 /]OUT: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:3022624816 1 udp 2122129151 192.168.1.4 56608 typ host generation 0 ufrag X7lo network-id 1 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:39.553830+00:00 app[web.1]: )] 2019-09-29T14:47:39.575827+00:00 app[web.1]: (2019-09-29T14:47:39.575Z)[10.186.239.155:13485 /]INC: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:3717870463 1 tcp 1518283007 2a02:587:2911:9e00:9df3:1804:1e62:45ec 60861 typ host tcptype passive generation 0 ufrag X7lo network-id 3 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:39.575831+00:00 app[web.1]: )] 2019-09-29T14:47:39.576179+00:00 app[web.1]: (2019-09-29T14:47:39.576Z)[10.63.192.219:17965 /]OUT: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:3717870463 1 tcp 1518283007 2a02:587:2911:9e00:9df3:1804:1e62:45ec 60861 typ host tcptype passive generation 0 ufrag X7lo network-id 3 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:39.576182+00:00 app[web.1]: )] 2019-09-29T14:47:39.576986+00:00 app[web.1]: (2019-09-29T14:47:39.576Z)[10.186.239.155:13485 /]INC: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:2211208870 1 tcp 1518217471 2a02:587:2911:9e00:74d0:530d:a181:f498 60862 typ host tcptype passive generation 0 ufrag X7lo network-id 2 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:39.576990+00:00 app[web.1]: )] 2019-09-29T14:47:39.577152+00:00 app[web.1]: (2019-09-29T14:47:39.577Z)[10.63.192.219:17965 /]OUT: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:2211208870 1 tcp 1518217471 2a02:587:2911:9e00:74d0:530d:a181:f498 60862 typ host tcptype passive generation 0 ufrag X7lo network-id 2 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:39.577155+00:00 app[web.1]: )] 2019-09-29T14:47:39.577515+00:00 app[web.1]: (2019-09-29T14:47:39.577Z)[10.186.239.155:13485 /]INC: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:4205470912 1 tcp 1518149375 192.168.1.4 60863 typ host tcptype passive generation 0 ufrag X7lo network-id 1 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:39.577519+00:00 app[web.1]: )] 2019-09-29T14:47:39.578009+00:00 app[web.1]: (2019-09-29T14:47:39.577Z)[10.63.192.219:17965 /]OUT: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:4205470912 1 tcp 1518149375 192.168.1.4 60863 typ host tcptype passive generation 0 ufrag X7lo network-id 1 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:39.578012+00:00 app[web.1]: )] 2019-09-29T14:47:39.580226+00:00 app[web.1]: (2019-09-29T14:47:39.580Z)[10.186.239.155:13485 /]INC: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:494278629 1 udp 1685921535 79.129.193.137 56608 typ srflx raddr 192.168.1.4 rport 56608 generation 0 ufrag X7lo network-id 1 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:39.580229+00:00 app[web.1]: )] 2019-09-29T14:47:39.580384+00:00 app[web.1]: (2019-09-29T14:47:39.580Z)[10.63.192.219:17965 /]OUT: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:494278629 1 udp 1685921535 79.129.193.137 56608 typ srflx raddr 192.168.1.4 rport 56608 generation 0 ufrag X7lo network-id 1 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:39.580387+00:00 app[web.1]: )] 2019-09-29T14:47:39.798557+00:00 app[web.1]: (2019-09-29T14:47:39.798Z)[10.63.192.219:17965 /]INC: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"sdp":"v=0\r\no=- 3781133919375444396 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE data\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\nb=AS:30\r\na=ice-ufrag:eU9j\r\na=ice-pwd:vyrzWqQ3aXKMOuU9cG1AqjdD\r\na=fingerprint:sha-256 89:7F:3C:79:01:F9:52:A4:99:11:D2:9D:13:29:79:E9:65:CA:10:32:17:DB:C8:21:FA:79:0C:5B:5C:80:0B:20\r\na=setup:active\r\na=mid:data\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"} 2019-09-29T14:47:39.798573+00:00 app[web.1]: )] 2019-09-29T14:47:39.798753+00:00 app[web.1]: (2019-09-29T14:47:39.798Z)[10.186.239.155:13485 /]OUT: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"sdp":"v=0\r\no=- 3781133919375444396 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE data\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\nb=AS:30\r\na=ice-ufrag:eU9j\r\na=ice-pwd:vyrzWqQ3aXKMOuU9cG1AqjdD\r\na=fingerprint:sha-256 89:7F:3C:79:01:F9:52:A4:99:11:D2:9D:13:29:79:E9:65:CA:10:32:17:DB:C8:21:FA:79:0C:5B:5C:80:0B:20\r\na=setup:active\r\na=mid:data\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"} 2019-09-29T14:47:39.798757+00:00 app[web.1]: )] 2019-09-29T14:47:39.799103+00:00 app[web.1]: (2019-09-29T14:47:39.799Z)[10.63.192.219:17965 /]INC: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:3608434697 1 udp 2122260223 10.200.30.101 60402 typ host generation 0 ufrag eU9j network-id 1 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:39.799107+00:00 app[web.1]: )] 2019-09-29T14:47:39.799268+00:00 app[web.1]: (2019-09-29T14:47:39.799Z)[10.186.239.155:13485 /]OUT: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:3608434697 1 udp 2122260223 10.200.30.101 60402 typ host generation 0 ufrag eU9j network-id 1 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:39.799271+00:00 app[web.1]: )] 2019-09-29T14:47:40.080192+00:00 app[web.1]: (2019-09-29T14:47:40.080Z)[10.63.192.219:17965 /]INC: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:2576852217 1 tcp 1518280447 10.200.30.101 60202 typ host tcptype passive generation 0 ufrag eU9j network-id 1 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:40.080206+00:00 app[web.1]: )] 2019-09-29T14:47:40.081584+00:00 app[web.1]: (2019-09-29T14:47:40.081Z)[10.186.239.155:13485 /]OUT: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:2576852217 1 tcp 1518280447 10.200.30.101 60202 typ host tcptype passive generation 0 ufrag eU9j network-id 1 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:40.081587+00:00 app[web.1]: )] 2019-09-29T14:47:40.319763+00:00 app[web.1]: (2019-09-29T14:47:40.319Z)[10.63.192.219:17965 /]INC: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:1448894141 1 udp 1686052607 121.213.178.88 37904 typ srflx raddr 10.200.30.101 rport 60402 generation 0 ufrag eU9j network-id 1 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:40.319766+00:00 app[web.1]: )] 2019-09-29T14:47:40.319869+00:00 app[web.1]: (2019-09-29T14:47:40.319Z)[10.186.239.155:13485 /]OUT: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:1448894141 1 udp 1686052607 121.213.178.88 37904 typ srflx raddr 10.200.30.101 rport 60402 generation 0 ufrag eU9j network-id 1 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:40.319873+00:00 app[web.1]: )] 2019-09-29T14:47:41.326059+00:00 app[web.1]: (2019-09-29T14:47:41.325Z)[10.63.192.219:17965 /]INC: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:1448894141 1 udp 1686052607 121.213.178.88 37434 typ srflx raddr 10.200.30.101 rport 60402 generation 0 ufrag eU9j network-id 1 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:41.326072+00:00 app[web.1]: )] 2019-09-29T14:47:41.326166+00:00 app[web.1]: (2019-09-29T14:47:41.326Z)[10.186.239.155:13485 /]OUT: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:1448894141 1 udp 1686052607 121.213.178.88 37434 typ srflx raddr 10.200.30.101 rport 60402 generation 0 ufrag eU9j network-id 1 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} 2019-09-29T14:47:41.326169+00:00 app[web.1]: )] 2019-09-29T14:47:50.813101+00:00 app[web.1]: (2019-09-29T14:47:50.813Z)[10.186.239.155:13485 /] CLOSED! 2019-09-29T14:47:50.813438+00:00 app[web.1]: (2019-09-29T14:47:50.813Z)[10.186.239.155:13485 /] disconnecting. 2019-09-29T14:47:50.813450+00:00 app[web.1]: (2019-09-29T14:47:50.813Z)[10.63.192.219:17965 /]OUT: [NetEventType: (Disconnected), id: (16384)] 2019-09-29T14:47:50.813457+00:00 app[web.1]: (2019-09-29T14:47:50.813Z)Address tst:3b7b7185-7006-403a-bcbe-0626f9717719 released. 2019-09-29T14:47:50.813994+00:00 app[web.1]: (2019-09-29T14:47:50.813Z)[10.186.239.155:13485 /]removed 2 connections left in pool 2019-09-29T14:47:50.811200+00:00 heroku[router]: at=info method=GET path="/" host=powerful-journey-10772.herokuapp.com request_id=731ff7f2-94e7-4c2d-a52c-3b771f026333 fwd="79.129.193.137" dyno=web.1 connect=0ms service=11719ms status=101 bytes=129 protocol=http
can i know why its happening for that network. Please provide a solution or any work through links.