adrenak / univoice-sample

A sample voice chat app using univoice
MIT License
11 stars 3 forks source link

join method "System.Exception: ConnectionFailed" #4

Open hojat-shafiee opened 9 months ago

hojat-shafiee commented 9 months ago

image hello, i'm created airsignal server on my own vps and using this repository for testing and learning about univoice unity package. host method success carefully but join method showing connection failed exception this is the log of airsignal server:

(2024-01-21T20:49:23.470Z)[91.192.81.21:49976]INC: [NetEventType: (NewConnection), id: (1), Data: (123)] (2024-01-21T20:49:23.470Z)[109.125.182.92:16522]OUT: [NetEventType: (NewConnection), id: (16384)] (2024-01-21T20:49:23.471Z)[91.192.81.21:49976]OUT: [NetEventType: (NewConnection), id: (1)] (2024-01-21T20:49:23.922Z)[109.125.182.92:16522]INC: [NetEventType: (ReliableMessageReceived), id: (16384), Data: (1374634504)] (2024-01-21T20:49:23.923Z)[91.192.81.21:49976]OUT: [NetEventType: (ReliableMessageReceived), id: (1), Data: (1374634504)] (2024-01-21T20:49:24.269Z)[91.192.81.21:49976]INC: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"sdp":"v=0\r\no=- 7952620394246846192 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:mseQ\r\na=ice-pwd:NypqjCfUMhtgR8hJhtqQmN4E\r\na=fingerprint:sha-256 22:85:71:F0:75:E0:DD:0C:7A:97:1B:CA:02:0D:75:A6:5E:1C:1C:78:23:48:3A:15:20:1C:BA:62:0A:76:6F:43\r\na=setup:actpass\r\na=mid:data\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"offer"} )] (2024-01-21T20:49:24.269Z)[109.125.182.92:16522]OUT: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"sdp":"v=0\r\no=- 7952620394246846192 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:mseQ\r\na=ice-pwd:NypqjCfUMhtgR8hJhtqQmN4E\r\na=fingerprint:sha-256 22:85:71:F0:75:E0:DD:0C:7A:97:1B:CA:02:0D:75:A6:5E:1C:1C:78:23:48:3A:15:20:1C:BA:62:0A:76:6F:43\r\na=setup:actpass\r\na=mid:data\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"offer"} )] (2024-01-21T20:49:24.270Z)[91.192.81.21:49976]INC: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:4062063367 1 udp 2122260223 172.19.0.1 37439 typ host generation 0 ufrag mseQ network-id 3 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} )] (2024-01-21T20:49:24.270Z)[109.125.182.92:16522]OUT: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:4062063367 1 udp 2122260223 172.19.0.1 37439 typ host generation 0 ufrag mseQ network-id 3 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} )] (2024-01-21T20:49:24.271Z)[91.192.81.21:49976]INC: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:186199869 1 udp 2122194687 192.168.1.101 39112 typ host generation 0 ufrag mseQ network-id 4 network-cost 10","sdpMLineIndex":0,"sdpMid":"data"} )] (2024-01-21T20:49:24.271Z)[109.125.182.92:16522]OUT: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:186199869 1 udp 2122194687 192.168.1.101 39112 typ host generation 0 ufrag mseQ network-id 4 network-cost 10","sdpMLineIndex":0,"sdpMid":"data"} )] (2024-01-21T20:49:24.523Z)[91.192.81.21:49976]INC: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:3164461047 1 tcp 1518280447 172.19.0.1 42055 typ host tcptype passive generation 0 ufrag mseQ network-id 3 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} )] (2024-01-21T20:49:24.523Z)[109.125.182.92:16522]OUT: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:3164461047 1 tcp 1518280447 172.19.0.1 42055 typ host tcptype passive generation 0 ufrag mseQ network-id 3 network-cost 50","sdpMLineIndex":0,"sdpMid":"data"} )] (2024-01-21T20:49:24.524Z)[91.192.81.21:49976]INC: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:1167774669 1 tcp 1518214911 192.168.1.101 44857 typ host tcptype passive generation 0 ufrag mseQ network-id 4 network-cost 10","sdpMLineIndex":0,"sdpMid":"data"} )] (2024-01-21T20:49:24.524Z)[109.125.182.92:16522]OUT: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:1167774669 1 tcp 1518214911 192.168.1.101 44857 typ host tcptype passive generation 0 ufrag mseQ network-id 4 network-cost 10","sdpMLineIndex":0,"sdpMid":"data"} )] (2024-01-21T20:49:24.648Z)[109.125.182.92:16522]INC: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"sdp":"v=0\r\no=- 7747518371174733181 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:3kCX\r\na=ice-pwd:eZlLUP1+BgmW+TGzxDmAIcVp\r\na=fingerprint:sha-256 12:4E:B9:59:10:F3:09:14:5D:58:1D:F5:9E:B8:E6:B3:C2:55:52:63:B7:60:31:51:F1:34:01:2A:AB:B5:C8:3B\r\na=setup:active\r\na=mid:data\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"} )] (2024-01-21T20:49:24.649Z)[91.192.81.21:49976]OUT: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"sdp":"v=0\r\no=- 7747518371174733181 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:3kCX\r\na=ice-pwd:eZlLUP1+BgmW+TGzxDmAIcVp\r\na=fingerprint:sha-256 12:4E:B9:59:10:F3:09:14:5D:58:1D:F5:9E:B8:E6:B3:C2:55:52:63:B7:60:31:51:F1:34:01:2A:AB:B5:C8:3B\r\na=setup:active\r\na=mid:data\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"} )] (2024-01-21T20:49:25.517Z)[109.125.182.92:16522]INC: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:3013953624 1 udp 2122260223 192.168.1.100 38884 typ host generation 0 ufrag 3kCX network-id 3 network-cost 10","sdpMLineIndex":0,"sdpMid":"data"} )] (2024-01-21T20:49:25.518Z)[91.192.81.21:49976]OUT: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:3013953624 1 udp 2122260223 192.168.1.100 38884 typ host generation 0 ufrag 3kCX network-id 3 network-cost 10","sdpMLineIndex":0,"sdpMid":"data"} )] (2024-01-21T20:49:25.518Z)[109.125.182.92:16522]INC: [NetEventType: (ReliableMessageReceived), id: (16384), Data: ({"candidate":"candidate:4247172264 1 tcp 1518280447 192.168.1.100 44697 typ host tcptype passive generation 0 ufrag 3kCX network-id 3 network-cost 10","sdpMLineIndex":0,"sdpMid":"data"} )] (2024-01-21T20:49:25.518Z)[91.192.81.21:49976]OUT: [NetEventType: (ReliableMessageReceived), id: (1), Data: ({"candidate":"candidate:4247172264 1 tcp 1518280447 192.168.1.100 44697 typ host tcptype passive generation 0 ufrag 3kCX network-id 3 network-cost 10","sdpMLineIndex":0,"sdpMid":"data"}

hojat-shafiee commented 9 months ago

also after connection failed on second device, first device showing connection failed