-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Spdy net::ERR_CONTENT_DECODING_FAILED 200 #1699
Comments
We need reproducible test repo, it is hard to debug and search problem without example |
I tried to reproduce this with express js but with no luck, but at the end I found out that:
Maybe you'll have some idea what could be wrong but that broken json at 8192~ish position is the key. |
Maybe related #1574 ? And problem with |
Yeah, it sounds it’s related, but in my particular case it breaks after 8192 signs, and it worked just fine when using the same json response from express js, same response coming from spring boot didn’t. |
Wait reproducible test repo, it is really hard to debug and find problem without this |
here you go: it really took me so long to find reproducible case. |
Close in favor #1574 |
Code
Angular CLI with proxy:
When using dev-server with https proxy with config:
I'm getting error when trying to data via ajax call:
net::ERR_CONTENT_DECODING_FAILED 200
I went through different versions of webpack dev server and its related to release
3.10.0 -> 3.11.0, when the spdy version has been updated from 3.4.0 to 4.0.0.
I reverted those changes locally and everything started to work fine (just spdy version)
When forced Server.js to use only https.createServer(options.https, app);
all went good. When using:
require('spdy').createServer(options.https, app);
it returns error described. It could be awesome if you could tell me whats going on or maybe
introduce an option in dev server to disable spdy dev server if it fails so often.
Expected Behavior
requests should work just fine or option to disable spdy completly
Actual Behavior
net::ERR_CONTENT_DECODING_FAILED 200
For Bugs; How can we reproduce the behavior?
Not sure if it's reproducible, but I'm using angular 7.2.7 with proxy settings
The text was updated successfully, but these errors were encountered: