Using the Python client behind an outbound HTTP proxy

I’m using the Python Raven client as a WSGI middleware. The host I’m running my app on has an outbound HTTP proxy – so any requests to have to go through this proxy host.

I’ve looked over the docs for a few of the clients, and notably the Ruby and Java clients support passing a proxy param, but I haven’t found similar options for any of the Python clients, including the WSGI middleware client I’m using.

Is there a way to forward outgoing report requests to the Sentry servers through this outbound proxy?

While not directly a feature of the python Raven client, you can use the requests transport as described in this issue on Github.

1 Like

This looks promising, thanks for the link!