-
Notifications
You must be signed in to change notification settings - Fork 1.2k
can't access elasticsearch over squid #357
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
Comments
This means that squid is not configured properly and is not supporting all the features that we need, or you are using it in an unsupported way. Can you share what you are trying to do and why? Thanks |
If squid is not configured properly, I shouldn't access es via browser.We use squid to control access to IDC from office,and I add a rule to allow access to es via specific host and port,it works for browser,and I tried to use |
You can use requests in elasticsearch-py, but it just looks like the squid instance is configured to be too strict. To use requests, just install it and then do:
Either way this is an issue with squid - if you want to use it as proxy you need to make sure it has the same requirements and behavior as elasticsearch. Closing this issue since it's not really elasticsearch related. |
I know this is already closed, however is there anymore information that I could get on this? I'm having similar issues, however for me Logstash is what's failing with the same squid error message, therefore I don't have any way to change the request (that I'm aware of). What info do I need to be able to get appropriate squid settings changed? Assuming that I can even get them changed? |
I am using elasticsearch-py to access elasticsearch over squid,and got a error message as below
but I can access the same elasticsearch cluster via curl or browser.
Some info may help.
squid/3.5.6
elasticsearch-py 2.1.0
The text was updated successfully, but these errors were encountered: