[go-nuts] Re: How to implement localhost proxy which injects Proxy-Authorization header to incoming request and sends it to another remote proxy with Go?

2021-03-17 Thread Hugo Bollon
_read: error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version, errno 0* Maybe my approach is completely crazy or wrong but I feel can succeed lmao Le mercredi 17 mars 2021 à 16:00:22 UTC+1, Hugo Bollon a écrit : > Yeah, I'm not very comfortable with networking so it'

[go-nuts] Re: How to implement localhost proxy which injects Proxy-Authorization header to incoming request and sends it to another remote proxy with Go?

2021-03-17 Thread Hugo Bollon
Yeah, I'm not very comfortable with networking so it's possible I'm not using the right terms... I want to be able to allow my users to use, with Selenium (and therefore Chrome), a proxy with authentication. The problem is that I cannot send the proxy credentials to the Chrome instance or inter

[go-nuts] Re: How to implement localhost proxy which injects Proxy-Authorization header to incoming request and sends it to another remote proxy with Go?

2021-03-16 Thread Hugo Bollon
Thank you for your advice that I applied. But now I have a *407 Proxy Authentication Required* error, while the header is added to the request... Here is the output: INFO[0019] Pre-Edited request: &{Method:CONNECT URL://google.com:443 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Proxy-Co

[go-nuts] How to implement localhost proxy which injects Proxy-Authorization header to incoming request and sends it to another remote proxy with Go?

2021-03-15 Thread Hugo Bollon
Hi! I'm actually building an automation tool based on Selenium with Go called IGopher and I have had a few requests to implement native proxy support. However, I am facing an issue with those with authentication... I can't send the proxy credentials to Chrome and without them it asks through