-
-
Couldn't load subscription status.
- Fork 133
WIP: Add support for sending event requests via proxy #370
Conversation
|
usage / test script: http in URL -> HTTPProxyTransport |
lib/transports.js
Outdated
| }; | ||
|
|
||
| // set path apprpriately when using proxy | ||
| if (this.options.hasOwnProperty('host')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ndmanvar I think you're missing setting the Host header to be set to client.dsn.host in case of proxy.
Without it the host header would keep the proxy host which cause the HTTP request to be rejected by the sentry.io server
|
https://gist.github.com/ndmanvar/7ae7b4db7bf1cda30545c1480fde77fe Works with https. |
|
Gist is the current workaround. |
6c5c58b to
bf9dbab
Compare
|
Closed this, as I am working off of new branch: #397 |
Do not merge...just yet.