-
Notifications
You must be signed in to change notification settings - Fork 509
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
503 Server Unavailable issue (mostly on windows) #1454
Comments
@pi0 Pooya - just to update, i'm using mac and windows both, getting this on both of them |
Related: I am planning to replace old http-proxy used in dev server with a better implementation. I will try to reproduce the issue with old package anyway but at the moment i think it is the most likely source of the issues. |
https://githubxuwmq6-kyyz--3000--c53ab388.local-credentialless.webcontainer.io/ Minimal demo to produce the error
|
Any update on this? |
Hello, is there any news on this? it seems something is blocking the http call or returning a bad response (503) |
I encountered the same problem, is there any solution? thanks The server seems to be working normally in my case, but there is a problem with the display of devtool |
I've also had a probñem there. I had to redo the project from scratch with the devtools always on, to be sure it didn't crash anytime. |
It should be added that this problem currently only occurs in the Windows development environment, and does not have this problem in the Linux server environment. |
Surprised there isn't bigger noise around this issue, I encounter this every day working on a smallish nuxt app |
same issue I am having |
Im facing this problem too using Nuxt, and as a workaround I could solve it using The problem only occurs to me when using a specific public WIFI network with my company's computer which has firewall configurations. So I have my suspicions that this issue has something to do with security and permissions. |
I have here the same issue in this reproduction |
for me this was solved with npm cache verify and opening the app in incognito mode. |
I just wanted to add that we're still experiencing this a lot in our Nuxt 3 site which proxies a few routes to an old SPA (which is quite heavy with lots of requests). On Windows, some of the proxied requests will fail with an error 503. It's completely random as to which ones. I don't experience it while developing the same site on my Mac. It is definitely related to there being lots of concurrent requests though - it doesn't do it if there's only a few at once. The workarounds listed above of trying via different network addresses don't seem to help. If we switch to an alternative proxy solution, such as nginx in a Docker container, that works fine. We'd prefer to use Nuxt as our proxy while developing though, as it's quicker and easier, with fewer dependencies. |
Is there any temporary way to address this issue? |
Related:
Fix attempts:
This issue has been mentioned by several users (mostly on Windows) that the dev server socket might go unavailable with 503 when having concurrency.
Right now there is no solid minimal reproduction with Nitro alone in order to isolate and resolve the root cause of the issue but it is certainly a valid issue that has been reported several times and needs to be resolved.
The text was updated successfully, but these errors were encountered: