-
Notifications
You must be signed in to change notification settings - Fork 11.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proxy for internal hubot #6957
Comments
Being that this is internal. Rocket.Chat wide proxy settings should effect this. This is also needed for #2657 @soulstyless but in general if you use the environment variable: |
Hi, thanks @geekgonecrazy for this workaround. Unfortunately this way all requests go through our proxy (locahost included and thus fail). We tried to use NO_PROXY environnement variable ( https://wiki.archlinux.org/index.php/proxy_settings ), but it seems rocket.Chat (or one of its components) does not take it into account. Maybe linked to (My knowledge of rocket.Chat component is not good enough to ensure it is linked) : meteor/meteor#5417 |
@fcoppolani if you export the variable then yes they would. I would recommend passing this environment variable explicitly to rocket.chat. Something like: |
Thanks for you reply @geekgonecrazy , that is what we have done, HTTP_PROXY works well but everything pass through it (even the localhost requests used by rocket.chat). So we tried the NO_PROXY but this last one is not taken into account (we still see the localhost request coming into our proxy). |
hm.. from a quick search it looks like this NO_PROXY is widely requested across many frameworks. But seems to not be baked in with nodejs like HTTP_PROXY is. |
@geekgonecrazy was this resolved? Looks like it but I'm not sure if there's changes required to the internal hubot? |
Please move this to the rocket.chat forums. Thanks! |
How set proxy (manual or use http_proxy) for internal hubot?
Rocket.Chat Version: 0.54.2
Running Instances: 1
Node Version: v4.7.3
The text was updated successfully, but these errors were encountered: