-
Notifications
You must be signed in to change notification settings - Fork 23
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
bug: force ipv4 instead of localhost #200
Conversation
I'd suggest adding these node versions to the CI in |
@idea404 done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@volovyks I don't have permissions either, let me ask Arthur |
Please can this be merged and released, I spent a long time getting stuck and this looks like it's the solution. I'm sure there are many others using Mac and LTS node |
@robdefeo for some reason I can not run CI here. Created a separate PR to test Node 18, but faced a dependencie issue that is not fixed here aswell. #208 Error:
Do you have the same issue? |
Not sure of the exact cause though I'd suggest upgrading the version of |
Hey @no2chem ! Looks like we fixed the CI, can you please merge current "main" to your branch? |
hi @volovyks - sorry for the delay. rebased and pushed. |
all tests are passing, the change is clear, this LGTM @fospring |
.github/workflows/tests-sandbox.yml
Outdated
@@ -9,7 +9,7 @@ jobs: | |||
strategy: | |||
matrix: | |||
platform: [ubuntu-latest, macos-latest] | |||
node-version: [14, 16] | |||
node-version: [14, 16, 18, 20] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @no2chem! This should resolve the conflicts and we can merge the PR.
node-version: [14, 16, 18, 20] | |
node-version: [16, 18, 20] |
@race-of-sloths invite |
@frol Thank you for calling! @no2chem Thank you for the contribution! Join Race of Sloths by simply mentioning me in your comment/PRs description and start collecting Sloth Points through contributions to open source projects. What is the Race of SlothsRace of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow For contributors:
For maintainers:
Feel free to check our website for additional details! Bot commands
|
This PR fixes an issue in Node 18+ which causes tests to never launch.
The root cause is in nodejs/node#40702 - essentially localhost is ambiguously defined as both
127.0.0.1
and::1
. Node 16 forced127.0.0.1
, whereas node 18+ just uses whatever the OS gives back as a result ofgetaddrinfo(3)
-- on macOS it happens to be::1
-- but the near sandbox is set to explicitly listen on ipv4 (0.0.0.0:random port).So, this PR fixes the issue by forcing 127.0.0.1 instead of localhost for the sandbox RPC.
This PR closes #168