You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using npm run preview -- --host works fine on the first page load, and all subsequent loads.
Using npm run dev, the server starts. Sometimes, but not always, the first page fetch will work fine and then fail when a second page load happens -- including from a secondary device. Often, the first fetch will also fail. Here is the relevant log lines, and a screenshot from the Network tab of DevTools
on Windows 10/11 with nodejs v18.13.0 or v19.3.0: npm install npm run dev
load the page from another device. if it does load correctly, either manually refresh on the second device or try loading the page on a third device. it should not load and eventually display a Timeout error message in the browser.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
For me, that specific type of infinite pending requests issue was resolved by not using vite's proxy/dev server. We're using a separate proxy for all of the requests. #11468 (comment)
I was never able to get anything useful out of the vite logs and I narrowed down the suspect to be http. There might be some magical config to set on vite's http that would solve it but in everything I tried, it did not resolve. In the separate proxy we setup, we needed to set the max connections per host limit to 100 but setting a similar setting on http did not resolve it.
What we really need is a small reproduction... if we can get that, we'll definitely get one step closer to figuring this out.
Describe the bug
Possibly related to #11468 , but in a very small application without many imports and running on Windows.
I can reproduce this problem with both node v18.13.0 and v19.3.0 running on Windows 10 and 11. This happens even with Windows Firewall completely disabled. A reduction is in this public repo:
https://github.com/rebeckerspecialties/threejs-tests
Using
npm run preview -- --host
works fine on the first page load, and all subsequent loads.Using
npm run dev
, the server starts. Sometimes, but not always, the first page fetch will work fine and then fail when a second page load happens -- including from a secondary device. Often, the first fetch will also fail. Here is the relevant log lines, and a screenshot from the Network tab of DevToolsthe chunk fetch that hangs is the W5FU one. the transform appears to be successful, but then the fetch is never serviced:
Reproduction
https://github.com/rebeckerspecialties/threejs-tests
Steps to reproduce
on Windows 10/11 with nodejs v18.13.0 or v19.3.0:
npm install
npm run dev
load the page from another device. if it does load correctly, either manually refresh on the second device or try loading the page on a third device. it should not load and eventually display a Timeout error message in the browser.
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: