You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using ...aws.elastic-cloud.com:9243
the server applet is defined as https://******************.eu-central-2.aws.elastic-cloud.com:9243/
So I enter exactly this string for "Address of the Servlet" https://user:password@*****************.eu-central-2.aws.elastic-cloud.com:9243
the log files shows
:"Request: PUT http://user:password@*******************.eu-central-2.aws.elastic-cloud.com:9243/service_index/_doc/files%3A45307323?pipeline=attachment","userAgent":"--","version":"29.0.6.1","data":{"app":"fulltextsearch_elasticsearch","request":"{"[object]
Hint:
this works
curl --user user:password -X GET "https://**************.eu-central-2.aws.elastic-cloud.com:9243/_cat/indices?v=true&s=index&pretty"
curl --user user:password -X GET "http://**************.eu-central-2.aws.elastic-cloud.com:9243/_cat/indices?v=true&s=index&pretty"
IMHO AWS elastic is not configured to handle http requests
as a quick fix I changed
lib/Vendor/Http/Discovery/Psr17Factory.php
to remove the error.
IMHO the prefix http or https must not be hard coded, but taken from the "Address of the Servlet"
I am using ...aws.elastic-cloud.com:9243
the server applet is defined as
https://******************.eu-central-2.aws.elastic-cloud.com:9243/
So I enter exactly this string for "Address of the Servlet"
https://user:password@*****************.eu-central-2.aws.elastic-cloud.com:9243
the log files shows
:"Request: PUT http://user:password@*******************.eu-central-2.aws.elastic-cloud.com:9243/service_index/_doc/files%3A45307323?pipeline=attachment","userAgent":"--","version":"29.0.6.1","data":{"app":"fulltextsearch_elasticsearch","request":"{"[object]
which returns an error
{"reqId":"Ww4vhzZOpq7LjbtESUpN","level":3,"time":"2024-09-07T14:34:22+00:00","remoteAddr":"","user":"--","app":"fulltextsearch_elasticsearch","method":"","url":"--","message":"Retry 0: cURL error 56: Recv failure: Connection reset by peer (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://user:password@************.eu-central-2.aws.elastic-cloud.com:9243/service_index/_doc/files%3A45307323?pipeline=attachment","userAgent":"--","version":"29.0.6.1","data":{"app":"fulltextsearch_elasticsearch"},"id":"66dc66602286d"}
Hint:
this works
curl --user user:password -X GET "https://**************.eu-central-2.aws.elastic-cloud.com:9243/_cat/indices?v=true&s=index&pretty"
curl --user user:password -X GET "http://**************.eu-central-2.aws.elastic-cloud.com:9243/_cat/indices?v=true&s=index&pretty"
IMHO AWS elastic is not configured to handle http requests
as a quick fix I changed
lib/Vendor/Http/Discovery/Psr17Factory.php
to remove the error.
IMHO the prefix http or https must not be hard coded, but taken from the "Address of the Servlet"
The text was updated successfully, but these errors were encountered: