Can you tell me what you're trying to diagnose with netstat? Is APM Server not accepting requests from your agents? Are the agents running on the same host?
We can see from the log that APM Server is listening on localhost:8200 -- this is the default. Assuming your agents are on another host, you will need to tell APM Server to listen on an external address by configuring apm-server.host in apm-server.yml. For example, you can set apm-server.host: 0.0.0.0:8200 to listen on all network interfaces.
This happens when APM Server exceeds the maximum number of requests that it can process concurrently.
HTTP 503: Request timed out waiting to be processededit
Reduce the sample rate.
Reduce collected stacktrace information.
Reduce the payload size.
Add APM Server instances.
Can you please elaborate on this? Are you attempting to connect APM Server using curl or something? If so, are you running this on the same machine? Otherwise, are you observing errors in an APM Agent's log? Are the agents running on the same machine?
Hello @axw,
I've been having the same problem, but i'm using elastic agent on version 7.17.7 on docker/kubernetes. Logs show apm server is listening on [::]:8200 but everytime i try to curl from other host or even localhost i get connection refused error. From within container netstat doesn't show 8200 port at all. I have created another topic about it.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.