Closed pmishev closed 3 years ago
@pmishev the issue seems to be in Connection::buildCurlCommand()
since I don't pass the port
value to build the cURL command.
The port value (9200
) is reported in response.transfer_stats.primary_port
. These are the DEBUG information reported by cURL
. We removed the port
in the Host
because of this issue.
I'll fix this asap, thanks for reporting.
@pmishev I just sent this PR https://github.com/elastic/elasticsearch-php/pull/1126 to fix the issue. Let me know if you can try it, thanks!
Thank you @ezimuel. I tried it and as far as I can tell it works as expected.
Merged #1126 . This will be released with 7.13.0.
What happened with this PR? It doesn't seem to be merged in 7.13.0?
@pmishev I didn't cherry-pick this to 7.13
branch, sorry for that. I'm going to provide a patch release 7.13.1
including #1126.
Likely related to #925, but since that one is close as fixed, I'm submitting a new issue, in case it's a different problem:
Version: 7.11.0
trace.log
contains:The port is still missing from the URLs. It should be:
http://192.168.56.115:9200/_alias/blah
, nothttp://192.168.56.115/_alias/blah