-
-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Zlib.zlibOnError - Error: unexpected end of file #3648
Copy link
Copy link
Closed
Description
Describe the bug
axios or a used library produces this exception on some failed web requests, causing an application crash
To Reproduce
Hard to say, but this is my axios config:
httpAgent: new HttpProxyAgent(this.proxy),
httpsAgent: new HttpsProxyAgent(this.proxy),
proxy: false,Make a request using a http proxy that ends up failing. (I know its a bug because sometimes a simple request retry fixes the issue)
Expected behavior
Axios returns the request properly
Environment
- Axios Version 0.21.0
- Adapter http
- Node.js Version v12.16.1
- OS: [e.g. iOS 12.1.0, OSX 10.13.4]
- Additional Library Versions [e.g. React 16.7, React Native 0.58.0]
Additional context/Screenshots
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
