Open coverthesea opened 3 weeks ago
It looks like KasmVNC is unable to reach the STUN servers over the ports listed. Is there any networking reason that communication would not be allowed. I just tested on a new deployment in Oracle Cloud and it is working for me...
2024-11-06 10:06:22,769 [INFO] ICE: Querying public IP...
2024-11-06 10:06:22,769 [DEBUG] ICE: Trying 'stun.l.google.com', port 19302
2024-11-06 10:06:22,771 [DEBUG] Config: set publicIP(String) to 129.211.163.211
2024-11-06 10:06:22,771 [INFO] ICE: My public IP is 129.211.163.211
Describe the bug ICE: Failed to get public IP, please specify it with -publicIP
System Description
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
Linux C20241021138453 6.1.0-25-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux
KasmVNC Details
Xvnc KasmVNC 1.3.2.a6f8800511e1379ead4613fd4d6138e1793c4f3f - built Oct 7 2024 12:48:50 Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me) See http://kasmweb.com for information on KasmVNC. Underlying X server release 12010000, The X.Org Foundation
To Reproduce Steps to reproduce the behavior (for non-installation issues):
sudo apt update sudo apt install task-xfce-desktop sudo apt-get install dbus-x11
sudo apt-get install ./kasmvncserver_*.deb sudo addgroup $USER ssl-cert
vncserver
See error 2024-10-22 11:29:31,471 [DEBUG] vncext: Total 3 binary mime types 2024-10-22 11:29:31,471 [INFO] ICE: Querying public IP... 2024-10-22 11:29:31,471 [DEBUG] ICE: Trying 'stun.l.google.com', port 19302 2024-10-22 11:29:41,648 [INFO] ICE: STUN server 0 didn't work, trying next... 2024-10-22 11:29:41,648 [DEBUG] ICE: Trying 'stun1.l.google.com', port 19302 2024-10-22 11:29:51,680 [INFO] ICE: STUN server 1 didn't work, trying next... 2024-10-22 11:29:51,680 [DEBUG] ICE: Trying 'stun2.l.google.com', port 19302 2024-10-22 11:30:01,711 [INFO] ICE: STUN server 2 didn't work, trying next... 2024-10-22 11:30:01,711 [DEBUG] ICE: Trying 'stun3.l.google.com', port 19302 2024-10-22 11:30:11,887 [INFO] ICE: STUN server 3 didn't work, trying next... 2024-10-22 11:30:11,887 [DEBUG] ICE: Trying 'stun4.l.google.com', port 19302 2024-10-22 11:30:22,060 [INFO] ICE: STUN server 4 didn't work, trying next... 2024-10-22 11:30:22,060 [DEBUG] ICE: Trying 'stun.voipbuster.com', port 3478 2024-10-22 11:30:32,273 [INFO] ICE: STUN server 5 didn't work, trying next... 2024-10-22 11:30:32,273 [DEBUG] ICE: Trying 'stun.voipstunt.com', port 3478 2024-10-22 11:30:42,300 [INFO] ICE: STUN server 6 didn't work, trying next... 2024-10-22 11:30:42,300 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP