thankful-keyboard-4889
08/02/2023, 5:24 AMlivekit.io-1690953211948.log is the console log from LiveKit tester.
I have nginx at the front (because there is other things running too on the same machine), don't have caddy.
LiveKit running on the local machine directly with docker ("VM installation" on ubuntu).
Probably some configuration issue. Help appreciated!thankful-keyboard-4889
08/02/2023, 5:39 AMCould not establish pc connection ... I suppose this is because of TURN issues.
Also I don't know if the stream section in nginx config makes any sense, it came from ChatGPT. I have no idea how to configure TURN server.dry-elephant-14928
08/02/2023, 6:43 AMthankful-keyboard-4889
08/02/2023, 6:46 AMthankful-keyboard-4889
08/02/2023, 6:47 AMeyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2aWRlbyI6eyJyb29tSm9pbiI6dHJ1ZSwicm9vbSI6InByaXZhdGUtY29ycmVjdC1lcm1pbmUiLCJjYW5QdWJsaXNoIjp0cnVlLCJjYW5TdWJzY3JpYmUiOnRydWV9LCJpYXQiOjE2OTA5NDg4ODksIm5iZiI6MTY5MDk0ODg4OSwiZXhwIjoxNjkwOTcwNDg5LCJpc3MiOiJBUEljd2JHQ2J1QlFjZzciLCJzdWIiOiJSYXVsaSBCYWRkaW5nIiwianRpIjoiUmF1bGkgQmFkZGluZyJ9.Hix6X8CTzvaEgVK81psMAZ_QgUbWjcJR828KRiEy9wo and LiveKit url is <wss://meetdev.aamu.app>dry-elephant-14928
08/02/2023, 6:56 AMthankful-keyboard-4889
08/02/2023, 7:00 AMtcp 0 0 0.0.0.0:5349 0.0.0.0:* LISTEN 467907/livekit-serv
tcp6 0 0 [::]:7881 [::]:* LISTEN 467907/livekit-serv
tcp6 0 0 [::]:7880 [::]:* LISTEN 467907/livekit-serv
udp 0 0 0.0.0.0:https 0.0.0.0:* 467907/livekit-serv
I am focusing on TURN, but I'm not too familiar with it...thankful-keyboard-4889
08/02/2023, 7:01 AMthankful-keyboard-4889
08/02/2023, 7:06 AMthankful-keyboard-4889
08/02/2023, 7:34 AM$ nc -vz -u 91.158.238.89 443
Connection to 91.158.238.89 443 port [udp/*] succeeded!
And
$ nmap -sU -v 91.158.238.89 -p 443
Starting Nmap 7.80 ( <https://nmap.org> ) at 2023-08-02 09:31 CEST
Initiating Ping Scan at 09:31
Scanning 91.158.238.89 [4 ports]
Completed Ping Scan at 09:31, 0.15s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 09:31
Completed Parallel DNS resolution of 1 host. at 09:31, 0.00s elapsed
Initiating UDP Scan at 09:31
Scanning <http://91-158-238-89.elisa-laajakaista.fi|91-158-238-89.elisa-laajakaista.fi> (91.158.238.89) [1 port]
Completed UDP Scan at 09:31, 1.18s elapsed (1 total ports)
Nmap scan report for <http://91-158-238-89.elisa-laajakaista.fi|91-158-238-89.elisa-laajakaista.fi> (91.158.238.89)
Host is up (0.11s latency).
PORT STATE SERVICE
443/udp open|filtered https
Read data files from: /usr/bin/../share/nmap
Nmap done: 1 IP address (1 host up) scanned in 1.43 seconds
Raw packets sent: 6 (342B) | Rcvd: 8 (408B)
... also the livekit server shows lines like
2023-08-02T07:32:03.189Z ERROR livekit.turn pionlogger/logadapter.go:108 Failed to handle datagram: failed to create stun message from packet: unexpected EOF: not enough bytes to read header
<http://github.com/livekit/protocol/logger/pionlogger.(*logAdapter).Errorf|github.com/livekit/protocol/logger/pionlogger.(*logAdapter).Errorf>
/go/pkg/mod/github.com/livekit/protocol@v1.5.9/logger/pionlogger/logadapter.go:108
<http://github.com/pion/turn/v2.(*Server).readLoop|github.com/pion/turn/v2.(*Server).readLoop>
/go/pkg/mod/github.com/pion/turn/v2@v2.1.2/server.go:202
<http://github.com/pion/turn/v2.NewServer.func1|github.com/pion/turn/v2.NewServer.func1>
... which isn't probably out of ordinary.dry-elephant-14928
08/02/2023, 7:40 AMthankful-keyboard-4889
08/02/2023, 7:42 AMthankful-keyboard-4889
08/02/2023, 7:43 AMthankful-keyboard-4889
08/02/2023, 7:47 AMthankful-keyboard-4889
08/02/2023, 7:52 AMdry-elephant-14928
08/02/2023, 7:55 AMthankful-keyboard-4889
08/02/2023, 7:55 AMdry-elephant-14928
08/02/2023, 7:56 AMthankful-keyboard-4889
08/02/2023, 7:59 AMthankful-keyboard-4889
08/02/2023, 8:02 AMthankful-keyboard-4889
08/02/2023, 8:09 AMthankful-keyboard-4889
08/03/2023, 9:52 PMWARNING: error with ICE candidate: 701 STUN server address is incompatible. stun:5.161.50.6:443
WARNING: error with ICE candidate: 701 turns:<http://meetdev-turn.aamu.app:443?transport=tcp|meetdev-turn.aamu.app:443?transport=tcp>
... wonder if that's something serious?dry-elephant-14928
08/04/2023, 6:55 AM