Closed ghost closed 1 year ago
same for me
same here 😞
This module has gone through a large refactor and modernization. I am closing this issue as a bit of house cleaning. If you feel that this issue still exists in the latest release, feel free to open a new issue.
I have this error that I don't know how to reproduce because I don't own the proxy server that produces it. But it is rather critical because it crashes any application without possible way to catch it.
The code below causes the crash without warning. The console logs never trigger. No errors is outputted. Application immediately exits. I have tried with node-fetch and make-fetch-happen as well and still the same issue. http-proxy-agent has no issue.
If I curl the proxy server I get
if I curl to an http site I get:
I know I'm not the only one getting this bug https://github.com/node-fetch/node-fetch/issues/739
It's probably not possible to fix it just based on this information since I dont know how to reproduce it, but maybe someone can figure it out eventually.