-
Notifications
You must be signed in to change notification settings - Fork 9
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
Intermittent network errors on Chrome when running WebDash on 3rd party hosting websites #17
Comments
for me, it's reliably the three largest packages that fail - numpy, pandas, and plotly.
|
Vercel have finally gotten back to me - there is some black magic sorcery in their edge network which identifies the excessive requests as a DDoS attack. There is no good way around that problem without a paid CDN. Potentially Fastly or equivalent. I am wondering is Service Workers can somehow pace the downloads and cache - might slower on the first run but fast afterwards. |
I investigated this further, and the issue stems from throttling free providers such as Vercel and Netlify apply to free account tiers. The solution would be to serve WebDash from a CDN which is designed for that kind of traffic. |
Chrome seems to trigger NetworkError exceptions when loading
Pyodide
from free 3rd party hosting solutions such as Vercel and Netlify. This issue does not occur when served from a local HTTP server or when using Firefox (locally or on the free hosting services). This leads me to think Chrome has some sort of concurrent loading network mechanism which potentially hammers the free hosting services, who in turn ignore or drop the request, resulting in no response.It's still a very shaky hypothesis at this stage, but this issue definitely needs investigating.
The text was updated successfully, but these errors were encountered: