Elastic apm agent Read timed out issue

We are using kibana 7.7 and co.elastic.apm:apm-agent-attach:1.21.0 and getting error soon after apm server starts. It makes our services visible in kibana, but anyway it logs such errors every 5 minutes: [elastic-apm-remote-config-poller] ERROR co.elastic.apm.agent.configuration.ApmServerConfigurationSource - Read timed out

In config we use only 3 properties and they all configured correctly:

service_name=...
application_packages=...
server_url=...

Maybe someone knows what is the problem? Or at least how to disable this errors logging, we do not want to read any remote config from server in our app.

Hi and welcome to our forum!

This error means that agent central configuration cannot be applied to this agent. If you don't need/want to use this feature, you can ignore these messages. If you do want it, you would need to configure a Kibana endpoint. If you did that as well and it still doesn't work, try looking in the APM Server logs to see if provides more info.

1 Like

Thanks a lot for your answer, maybe tere is some config value exists, that could disable this polling, to avoid undesired connection to server every 5 minutes and stop this logging at the same time?

There is - central_config, sorry for not mentioning it :pray:

Great, thanks again, you saved me a lot of time :slight_smile:

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