Skip to content

can't access elasticsearch over squid #357

Closed
@pigletfly

Description

@pigletfly

I am using elasticsearch-py to access elasticsearch over squid,and got a error message as below

Some possible problems are:
Missing or unknown request method.
Missing URL.
Missing HTTP Identifier (HTTP/1.0).
Request is too large.
Content-Length missing for POST or PUT requests.
Illegal character in hostname; underscores are not allowed.
HTTP/1.1 Expect: feature is being asked from an HTTP/1.0 software.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions