APM Server version:
APM Agent language and version:
Original install method (e.g. download page, yum, deb, from source, etc.) and version:
Using RPM package (apm-agent-php-1.0.0_beta1-1.noarch.rpm)
Fresh install or upgraded from other version?
Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):
I followed the docs at https://www.elastic.co/guide/en/apm/agent/php/current/intro.html to attach the elastic-apm-php agent to my application and added the configurations to the php.ini file. When I run my application I get the following error:-
Elastic APM PHP Tracer [PID: 4790] 2021-01-07 13:10:22.365282+00:00 [ERROR] [Backend-Comm] [backend_comm.c:161] [sendEventsToApmServer] Sending events to
APM Server failed. URL: `http://localhost:8200/intake/v2/events'. Error message: Couldn't connect to server.
The apm-server is reachable from the application instance, the trace data for java-agent is visible and I get the above error only for php-agent .
Kindly help me resolve this issue.
Steps to reproduce:
1.Followed PHP agent docs.