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
If pysocks is available, urllib3 supports SOCKS proxies, but you can't use the urllib3.ProxyManager class and must instead use urllib3.contrib.socks.SOCKSProxyManager. It would be very nice if sentry_sdk.transport.HttpTransport could detect a proxy set to socks:// (or one of the many variants) and Do The Right Thing.
Reacted by Yasuyuki YAMADA, keno (Ken Okada) and notogawa
Activity
support SOCKS proxies in sentry_sdk
support SOCKS proxies in sentry_sdk
support SOCKS proxies in sentry_sdk
kenoss commentedon Jun 17, 2021
I vote one. It is great that
sentry_sdkitself has SOCKS proxy support (integrated in the classHttpTransport.).Rationale:
Socks5HttpTransport, but it's not cool to use.And then, here's some implementation options.
How to designate proxy URL
A. From
http_proxy/https_proxyoption, likerequestsand #1050 .B. From other new option like
socks_proxy.I guess the members of sentry prefer B because #178 (comment) .
@untitaker @ahmedetefy Could you let us know your thoughts?