Skip to content
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

HTTP_PROXY support for connections towards Elasticsearch #5211

Closed
markdav opened this issue Oct 27, 2015 · 5 comments
Closed

HTTP_PROXY support for connections towards Elasticsearch #5211

markdav opened this issue Oct 27, 2015 · 5 comments
Labels
release_note:enhancement Team:Operations Team label for Operations Team

Comments

@markdav
Copy link

markdav commented Oct 27, 2015

I can't run Kibana behind a corporate firewall, pointing at an elasticsearch instance outside of the corporate firewall. When I try to do so I get the error:

{"name":"Kibana","hostname":"kibanahost.mycorp.com","pid":31277,"level":50,"err":{"message":"Request Timeout after 5000ms","name":"Error","stack":"Error: Request Timeout after 5000ms\n at null. (/home/markdav/kibana-4.1.2-linux-x64/src/node_modules/elasticsearch/src/lib/transport.js:282:15)\n at Timer.listOnTimeout as ontimeout"},"msg":"","time":"2015-10-27T20:08:37.995Z","v":0}
{"name":"Kibana","hostname":"kibanahost.mycorp.com","pid":31277,"level":60,"err":{"message":"Request Timeout after 5000ms","name":"Error","stack":"Error: Request Timeout after 5000ms\n at null. (/home/markdav/kibana-4.1.2-linux-x64/src/node_modules/elasticsearch/src/lib/transport.js:282:15)\n at Timer.listOnTimeout as ontimeout"},"msg":"","time":"2015-10-27T20:08:37.997Z","v":0}

the http_proxy/https_proxy (upper and lowercase) is set, and curls, etc work just fine.

@rashidkpc rashidkpc changed the title Kibana doesn't seem to fully support HTTP_PROXY settings HTTP_PROXY support Oct 29, 2015
@rashidkpc rashidkpc added bug Fixes for quality problems that affect the customer experience v4.2.1 labels Oct 29, 2015
@rashidkpc
Copy link
Contributor

This is likely due to using wreck: hapijs/wreck#64

@rashidkpc rashidkpc added release_note:enhancement and removed bug Fixes for quality problems that affect the customer experience v4.2.1 labels Nov 6, 2015
@jperkelens
Copy link

Running into this issue as well, I'm not sure it's the same thing as the wreck dependency as it seems like it's only being used for plugin installation. Kibana is not respecting HTTP_PROXY / NO_PROXY env variables when trying to request status updates from an Elasticsearch cluster behind a proxy. And AFAIK the console.proxyConfig setting isn't meant for configuring a general proxy kibana should be making requests through.

@mrvincenzo
Copy link

Any updates? I am able to reproduce this bug with Kibana 5.2.2

thomasv314 pushed a commit to thomasv314/kibana that referenced this issue Mar 29, 2017
@tbragin tbragin added the Team:Operations Team label for Operations Team label Apr 26, 2017
@timroes timroes changed the title HTTP_PROXY support HTTP_PROXY support for connections towards Elasticsearch Nov 22, 2017
@Ochir
Copy link

Ochir commented Dec 25, 2017

any updates? @timroes is it possible to migrate code from #12753 to fix this issue?

@tylersmalley
Copy link
Contributor

This feature request is an interesting idea but since its opening, we have not seen enough feedback that it is a feature we should pursue. We prefer to close this issue as a clear indication that we are not going to work on this at this time. We are always open to reconsidering this in the future based on compelling feedback; despite this issue being closed please feel free to leave feedback on the proposal (including +1s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:enhancement Team:Operations Team label for Operations Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants