go-elasticsearch icon indicating copy to clipboard operation
go-elasticsearch copied to clipboard

Request returns EOF when using HTTP instead of HTTPS

Open AlexeyNikipelau opened this issue 2 years ago • 1 comments

If elasticsearch service is configured to use https, and http is used in the connection string, requests return EOF

AlexeyNikipelau avatar Apr 30 '22 00:04 AlexeyNikipelau

Hi @AlexeyNikipelau

Unfortunately what you get is coming from golang transport due to the fact that you are targeting a closed http port.

I'll try to dig a bit deeper to see if we can improve the reporting of this.

Anaethelion avatar May 02 '22 16:05 Anaethelion