-
-
Notifications
You must be signed in to change notification settings - Fork 135
Support for HTTP proxies #363
Comments
In progress PR: #370 Works with http endpoint, still getting it working on https endpoint (using TLS). |
Awesome to see this is something being worked on as we're very much in need of it. Do you have some sort of ETA for the pull request to be merged? And will it automatically infer the proxy from env vars like other libraries do or do we have to set it explicitly? If the latter, regarding the implementation in your PR, how do we specify a user+password for the proxy? |
@ndmanvar I know it's kinda rude and I'm sorry but is there any chance you could give us an ETA for this? Otherwise we'd have to abandon the usage of sentry for the particular project which we absolutely don't want to. |
Hi @tom2strobl . All good, I understand. Have you seen https://gist.github.com/ndmanvar/7ae7b4db7bf1cda30545c1480fde77fe (workaround / client-side solution)?
|
@ndmanvar For some reason I never picked up that gist. That indeed worked like a charm – thanks a bunch! |
@tom2strobl no problem. glad to hear it worked out-of-box! 😄 Closing this issue as the gist (client-side transport using request library) is the best solution (at the moment). |
@ndmanvar I don't get why you're closing this issue as the gist is obviously a quick fix and will end up being a pain to maintain for users who wants to keep the library up to date. IMHO the support for HTTP proxies should be out of the box. |
@mfpierre We believe this should (and will be) part of raven-node. Was just closing as not working at the moment (Closing this does not mean that we are not getting this in). Will continue to work on this in the new few weeks and keep updating here (: I just figured out how npm library is handling proxying, need to bring some of that logic into here. Let me know if you have any questions. |
Works for both HTTP and HTTPS endpoint. |
Hi! What's the status of this issue? |
Hi @jazmon ! On it. Hope to be done by mid next week latest. Status:
TODO / In progress:
|
Do you want to request a feature or report a bug?
feature
What is the current behavior?
When the node app has to go through a proxy to have HTTP access, raven-node can't access sentry to report anything.
With current implementation, it seems there's currently no way to configure a http proxy for the library.
What is the expected behavior?
There seems to be at least two options to have the library work behind a http proxy:
HTTP_PROXY
/HTTPS_PROXY
/NO_PROXY
variablesThe text was updated successfully, but these errors were encountered: