elastic / elastic/apm-agent-php

Getting 502 when using in combination with Azure Application Gateway

Open
#154 7 comments 0 reactions 1 assignee Claimed by @SergeyKleyman View on GitHub
agent-php bug from a real user triage: pass 1
Dominant language
PHP
Stars
268
Forks
86
PR merge metrics
No merged PRs in 30d

Description

Hi there,

I was testing the extension with my PHP 7.3.14 (Ubuntu) which runs an Apache server. As load balancer solution we are using Azure Application Gateway. So basically the requests go first to Application Gateway and then it hits my Apache server.

Checking the logs I can see that my Apache is responding the requests with 200 but the application gateway is responding with 502. Disabling the APM extension everything starts working fine again. Even getting 502 I am able to see the traces being sent to APM dashboard.

Any thoughts on what can be the issue here?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.