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

[18945/18950] WSL2 localhost sometimes stalls in Chrome (curl seems to work) #4368

Closed
shayne opened this issue Aug 1, 2019 · 2 comments
Closed

Comments

@shayne
Copy link

shayne commented Aug 1, 2019

Microsoft Windows [Version 10.0.18950.1000]
(also happened on last 18945 build)

  • Node app running, bound to 0.0.0.0:3000
  • Launch Chrome and navigate to localhost:3000 and it works as intended
  • Make code changes in text editor (VSCode FWIW)
  • Hit refresh
    • Sometimes it works and the page reloads
    • More often, the browser stalls on "connecting to localhost". It doesn't seem to resolve itself, usually I close the tab and reopen it and it starts working. But sometimes it takes multiple attempts.

It's worth noting that while I'm struggling in the browser, if I curl localhost:3000 from PowerShell, I've never had it hang there, it always seems to work.

  • What's wrong / what should be happening instead:

Since I started using the new localhost feature of WSL2 I experience this hang-up in the browser where it's not reloading. I'd expect it to reload without any trouble.

@Drakota
Copy link

Drakota commented Aug 1, 2019

Duplicate of #4340
Seems to be a keepAlive issue

@shayne
Copy link
Author

shayne commented Aug 1, 2019

I agree- thanks for linking, I failed to find it before creating this issue.

Closing, Dupe of #4340

@shayne shayne closed this as completed Aug 1, 2019
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