zjael / simple-proxy-agent

Simple agent for sending HTTP and HTTPS traffic through HTTP and SOCKS proxies
MIT License
25 stars 5 forks source link

Issues with Authenticated Proxies #33

Open awxlfy opened 3 years ago

awxlfy commented 3 years ago

It seemed like I was having no issues using this project but I just noticed that it seems to fail with authenticated proxies (user:pass@ip:port). Not sure if this is a common issue but when I try doing this I receive a FetchError message that looks like this: "request to https://google.com/ failed, reason: Client network socket disconnected before secure TLS connection was established"

The code is ECONNRESET. The errno is also ECONNRESET and the type is system. Not sure why this happens but any help fixing this issue would be greatly appreciated.