Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICE: Failed to get public IP, please specify it with -publicIP #292

Open
coverthesea opened this issue Oct 22, 2024 · 1 comment
Open

ICE: Failed to get public IP, please specify it with -publicIP #292

coverthesea opened this issue Oct 22, 2024 · 1 comment

Comments

@coverthesea
Copy link

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):
1.
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

  1. 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
@mmcclaskey
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants