-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
使用代理大量请求时Chrome浏览器请求会报错:net::ERR_HTTP2_PROTOCOL_ERROR #1081
Comments
试试: myhost.com/oss-dev/static https://zany-winner-96wp4v45jfx7j-9888.app.github.dev//oss-dev/static disable://h2 会不会是被限频了 |
我这边的问题是直接连接原服务器,1000+的请求没有问题,经过代理之后就出现大量net::ERR_HTTP2_PROTOCOL_ERROR,这些请求都是返回304协商缓存,如果把缓存禁止掉:disable://cache,那么请求全部是200就不会出现这个错误 感觉是代理这边处理大量请求的304的时候处理不过来? |
200 都可以处理得来,没道理 304 不可以,我这边怎么重现,本地自己起服务器也有这个问题吗? |
是的我也觉得奇怪,我这里是前端开发,就是本地的服务 我这边用的是vite起的node服务,vitejs/vite#4403 这个issue也说了这个问题说增加maxSessionMemory来应对,但是我直连node服务没有问题,whistle会不会在代理的过程中进行批处理从而导致服务器吞吐量变大从而无法响应过来呢 |
whistle 上显示的请求正常吗,能不能打包个可重现的服务发我看下 |
报错的请求在whistle的network中搜索不到 |
network 收不到说明请求还没到 whistle,在中间某个环节或 node 底层就出问题 |
使用 Github Codespaces 开发 https://github.com/microsoft/vscode 时,经常碰到如下错误:
这个仓库会请求3000左右个JS文件。
不确定是否跟 header limit 有关?
https://stackoverflow.com/questions/60974237/chrome-neterr-http2-protocol-error-200-after-a-reconnect
Whistle配置如下:
The text was updated successfully, but these errors were encountered: