Elastic Agent Unhealthy - 504 Gateway Timeout - net/hxxp: TLS handshake timeout


Elastic agent is un healthy and not send logs -- Logs below -- appreciate any help.

[elastic_agent.filebeat][warn] WinEventLog[winlog-winlog.winlog-c97bd33a-1398-47bc-88a7-284efdb43f68] error salvaging message (event id=16403 qualifier=0 provider="Microsoft-Windows-Bits-Client" created at 2023-08-09 06:28:44.969621 +0000 UTC will be included without a message): failed in EvtFormatMessage: The message ID for the desired message could not be found.

[elastic_agent][error] lazy acker: failed ack batch, enqueue for retry: []fleetapi.Action{(*fleetapi.ActionApp)(0xc0008ce090)}

[elastic_agent.filebeat][error] failed to publish events: 504 Gateway Timeout: {"ok":false,"message":"Post \"https://x.x.x.x:18076/_bulk\": net/http: TLS handshake timeout"}

[elastic_agent.filebeat][error] Failed to connect to backoff(elasticsearch(https://prod.xx.xx.xxxx.xx:9243)): 504 Gateway Timeout: {"ok":false,"message":"Get \"https://x.x.x.x:18076/\": net/http: TLS handshake timeout"}

Hi @Shinej

Have you checked if there are any firewall blocks on the machine or on the network?

Is there communication between the servers? Does it respond to telnet communication test?

Best regards

I will quickly test this and get back.

1 Like

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