You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem with client side of the library behind a corporate proxy. HTTP_PROXY, HTTPS_PROXY and NO_PROXY environment parameters ignored during connection.
Definitely, it is possible to make self proxy-aware Dialer implementation, but looking at the standard library it seems that default implementation should honor *_PROXY params out of the box.
The text was updated successfully, but these errors were encountered:
@e-zhydzetski did you manage to get a proxy working with the websockets? I can't seem to get it working
Edit:
Got it working, turns out the net/proxy package only supports socks5 proxies, and I was using an HTTP proxy. You need to register a custom dialer to make that work.
For anyone else finding this issue later on, copy the code from here (except for the main function), it will register the dialers, and afterwards you can use HTTP proxies.
Problem with client side of the library behind a corporate proxy.
HTTP_PROXY, HTTPS_PROXY and NO_PROXY environment parameters ignored during connection.
Definitely, it is possible to make self proxy-aware Dialer implementation, but looking at the standard library it seems that default implementation should honor *_PROXY params out of the box.
The text was updated successfully, but these errors were encountered: