-
-
Notifications
You must be signed in to change notification settings - Fork 656
SNI support #523
Comments
Does this work with the request transport ? |
It does work with the requests transport, but then you lose the asynchronous thread feature. |
I would like to see:
On Monday, December 1, 2014 at 4:48 PM, Gavin Wahl wrote:
|
TBH, I'd go with vendoring requests. I don't have time to investigate on urllib3 or DYI SNI / proxy support in particular with how hard supporting some proxy is with the stdlibs |
+1 for this |
1 similar comment
+1 for this |
+1 |
I thought this was kind of nightmare, having to write code for 10+ apps after switching to LetsEncrypt on the server; but then I noticed there is a pretty easy way to change the transport via the url. Just use |
transport can be configured in the DSN as an example this configuration issue with SNI servers getsentry/raven-python#523 (comment) without this transport variable, it can be fixed by just changing the dsn in the pillar
This fixed the problem for me. Should I submit a PR? |
@gartens Something went wrong on your tests (see flake8 core tests) |
Also to add, if you can change your sentry server
to force nginx route the non-SNI default website to sentry. |
Thanks @est, this saved me from changing stuff in ~100 projects. Somehow somewhere last week the sentry logging started throwing |
In my setup the HTTP transport always failed because of an untrusted certificate. The certificate, however, was trusted, but the server sent the wrong certificate as raven's very own SSL wrapper apparently does not support TLS Server Name Indication. My guess is that this could be fixed by adding a
server_hostname
attribute with useful content to thessl.wrap_socket
call inraven.utils.http.urlopen.ValidHTTPSConnection
.The text was updated successfully, but these errors were encountered: