Skip to content

uri [/api/console/proxy] with method [post] exists but is not available with the current configuration #162

@kaiser20106

Description

@kaiser20106

i install es by curl

curl -fsSL https://elastic.co/start-local | sh

and update compose.yml


ports:
      # - 127.0.0.1:${ES_LOCAL_PORT}:9200
      - "${ES_LOCAL_PORT}:9200"  

ports:
      # - 127.0.0.1:${KIBANA_LOCAL_PORT}:5601
      - "${KIBANA_LOCAL_PORT}:5601"

environment:
      # - ELASTICSEARCH_PUBLICBASEURL=http://localhost:${ES_LOCAL_PORT}
      - ELASTICSEARCH_PUBLICBASEURL=http://192.168.2.177:${ES_LOCAL_PORT}
Image Image

report error

Connection test failed: org.elasticsearch4idea.ey: POST http://192.168.2.177:5601/api/console/proxy
?path=%2F&method=GET 400 {"statusCode":400,"error":"Bad Request","message":"uri [/api/console/proxy]
with method [post] exists but is not available with the current configuration"}

But connecting to es is successful
Image

and i can access to kibana by google browser

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions