guac icon indicating copy to clipboard operation
guac copied to clipboard

[bug] GUAC issues with ipv6 running docker compose on Colima

Open mlieberman85 opened this issue 2 years ago • 5 comments

Describe the bug I am opening this up here instead of the docs or visualizer repos since this issue probably could affect multiple areas of GUAC.

Running the demos via Lima/Colima for running docker compose will fail with ipv6 issues.

GUAC Visualizer will giver errors like: Failed to proxy http://localhost:8080/query Error: connect ECONNREFUSED ::1:8080

Node will no longer resolve ipv4 unless explicitly told to.

See: https://github.com/abiosoft/colima/issues/583

The issue is related to:

To Reproduce Steps to reproduce the behavior:

Run demos when using docker compose with colima running instead of docker desktop.

mlieberman85 avatar May 25 '23 18:05 mlieberman85

I would like to help with this issue.

arorasoham9 avatar Jul 25 '23 17:07 arorasoham9

hmm @mlieberman85 is this still an issue with the new guac visualizer?

pxp928 avatar Jul 25 '23 17:07 pxp928

I will need to check after all the updates to the docker compose.

mlieberman85 avatar Jul 26 '23 03:07 mlieberman85

@mlieberman85 were you able to check if this was resolved?

lumjjb avatar Aug 21 '23 14:08 lumjjb

This still affects the visualizer by default but the env var does allow for folks to fix it themselves. Do we want to make the default address 127.0.0.1 in the next.config.js which should probably support all the common use cases with no action on the user end?

mlieberman85 avatar Aug 21 '23 16:08 mlieberman85