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

Connection problems #32

Open
geraldurbas opened this issue Jun 11, 2022 · 1 comment
Open

Connection problems #32

geraldurbas opened this issue Jun 11, 2022 · 1 comment

Comments

@geraldurbas
Copy link

geraldurbas commented Jun 11, 2022

On a fresh install it was necessaty to add ::1 to the hostname.

Caused by the double entry for localhost in /etc/hosts.
GUCD seems to select the last entry there...
Solutio ist add the correct hostname in the connection manager...

image

@AirplanegoBrr
Copy link

Please pin this issue.

or fix whats wrong

Setting the proxy hostname under Guacamole Proxy Parameters (guacd) to ::1 will fix this

This also fixed my problems with the following errors
Oct 09 11:18:57 guacamole-tomcat9[116870]: 11:18:57.339 [http-nio-8080-exec-10] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to guacd failed: java.net.ConnectException: Connection refused (Connection refused)

Oct 09 11:18:57 guacamole-tomcat9[116870]: 11:18:57.466 [http-nio-8080-exec-1] ERROR o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request failed: java.net.ConnectException: Connection refused (Connection refused)

This might be the fix for #19 as well.

I can't believe this has been a problem for 2+ years.

The problem?

I believe the default hostname that guacamole tries to use (which I believe to be 127.0.0.1) doesn't work as mentioned, /etc/hosts has 127.0.0.1 defined 3 different times in the hosts file. But ::1 only has one entry. The last entry being yuno which Throws off guacamole and gets it confused

127.0.0.1 will NOT work as the proxy hostname, You MUST use the ipv6 local IP

image

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