-
-
Notifications
You must be signed in to change notification settings - Fork 942
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
https urls get "ECONNREFUSED 127.0.0.1:443" (https-proxy-agent breaks got without even using it) #951
Comments
Tried the alpha/beta versions.
EDIT: I was adding the example code above after requires in this file: https://github.com/thelounge/thelounge/blob/master/src/plugins/irc-events/link.js EDIT2: Looks like adding What's silly is that we don't use |
See #876 (comment). This is a not a problem with Got. Please open an issue on |
Please note that I'm not passing EDIT: Dug deeper into it, specifically this crap breaks it: https://github.com/TooTallNate/node-agent-base/blob/1aaf316cc3f7e3bad0616d42b483da61416406fd/patch-core.js |
|
I have the same problem. I'm using My app does not use |
Hi @szmarczak, Cheers |
Which proxy agent will work? I couldn't find it, had to go back to version 9 |
@sdomagala The problem is caused by something not related to |
I wonder why |
@sdomagala It's because |
I assume you're referring to this patch function mentioned couple comments up: https://github.com/TooTallNate/node-agent-base/blob/1aaf316cc3f7e3bad0616d42b483da61416406fd/patch-core.js . You could just check if |
@sdomagala Node.js core is not a dependency. Patching it is not a good idea. @dashmug is right. There's a way to fix that issue, but it's not Got fault. Got 10 is using the Node.js 10 API (Node 8 is being dropped).
That's up to you, as Got does nothing wrong at this point. |
This should be fixed now in |
Describe the bug
Actual behavior
For some reason it's resolving any https url to 127.0.0.1. Even changing the port in the uri still tries to connect to 443.
http
appears to work fine.[email protected] works fine.
Code to reproduce
Checklist
The text was updated successfully, but these errors were encountered: