Failed to create alias: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

Hi All,

Version - 7.3.x
I have ES behind Apache 2.4 reverse proxy. At first instance, when no index is created in ES, I am getting below error from filebeat

2019-09-19T19:35:53.281+0530	ERROR	pipeline/output.go:100	Failed to connect to backoff(elasticsearch(http://<reverseproxy>:80)): Connection marked as failed because the onConnect callback failed: failed to create alias: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>404 Not Found</title>
> </head><body>
> <h1>Not Found</h1>
> <p>The requested URL was not found on this server.</p>
> </body></html>
> : 404 Not Found: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>404 Not Found</title>
> </head><body>
> <h1>Not Found</h1>
> <p>The requested URL was not found on this server.</p>
> </body></html>

However, once related index is created in ES without using reverse proxy, after that I have no issues in publishing the logs from filebeat to ES via reverse proxy. It works fine.
Since my index is based on month and year, I believe this would cause above issue, once index rollover happens every month, with reverse proxy in place

Please help

Thanks
Jai

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.