Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Oct 31, 2024

The test_nodejs_sockets_echo_subprotocol_runtime test was failing on my machine because node was resolving "localhost" to the IPv6 address ::1 but the websockify server was running on the IPv4 address 127.0.0.1.

The only thing that source_is_ipv6=True does is set prefer_ip6 which in turn just reveres the list of results from the DNS lookup: https://github.com/novnc/websockify/blob/417210f2cf8db9cd3cd9d86c45ef954778176b0e/websockify/websockifyserver.py#L454-L455

@sbc100 sbc100 requested review from dschuff and kripken October 31, 2024 21:34
The test_nodejs_sockets_echo_subprotocol_runtime test was failing on
my machine because node was resolving "localhost" to the IPv6 address
::1 but the websockify server was running on the IPv4 address
127.0.0.1.
@sbc100 sbc100 enabled auto-merge (squash) October 31, 2024 22:49
@sbc100 sbc100 merged commit d097f6d into emscripten-core:main Oct 31, 2024
28 checks passed
@sbc100 sbc100 deleted the prefer_ipv6 branch October 31, 2024 22:51
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

Successfully merging this pull request may close these issues.

2 participants