Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Raven proxy usage #852

Open
vierja opened this issue Sep 6, 2016 · 1 comment
Open

Raven proxy usage #852

vierja opened this issue Sep 6, 2016 · 1 comment

Comments

@vierja
Copy link

vierja commented Sep 6, 2016

I'm trying to integrate Sentry with some apps that are deployed in an environment that doesn't allow non-proxied requests to the outside world. I can't use the HTTP(S)_PROXY environment variables because I still need to make requests without any proxy.

Any suggestions? I am willing to dive into the code and make a PR if necessary. Any pointers are helpful.

@ghost
Copy link

ghost commented Mar 7, 2017

@vierja use requests transport
https://github.com/getsentry/raven-python/blob/master/raven/transport/requests.py
you can modify it to support proxy
http://docs.python-requests.org/en/master/user/advanced/#proxies

it will be good if raven adds this feature into itself

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant