Forum Discussion
502 Bad Gateway Error
- Mar 20, 2022
Hi ashish_solanki,
pity you have to prove your innocence here. My standard answer to such accusations usually is: "The BIG-IP does not send a HTML page unless it is configured to do so."
Before you make such a bold statement with confidence, you should check that your configuration on the BIG-IP is correct. You can do the following to further analyze the issue and to verify your config is working as intended:
- Try curl from the BIG-IP to /lib/dict.en-US.json on the Apache servers directly. Check that you get the correct response from the backend server.
- Capture traffic between BIG-IP and backend server with tcpdump. This should show that the 502 status page is sent by the web application server. And also this will verify that the request is arriving at the correct Apache servers.
If you are not experienced with tcpdump - start from here: K411: Overview of packet tracing with the tcpdump utility - Capture traffic going to the web application server when you access /lib/dict.en-US.json directly.
Compare differences - maybe you find a solution in the differences.
Good luck,
Daniel
Hi ashish_solanki,
pity you have to prove your innocence here. My standard answer to such accusations usually is: "The BIG-IP does not send a HTML page unless it is configured to do so."
Before you make such a bold statement with confidence, you should check that your configuration on the BIG-IP is correct. You can do the following to further analyze the issue and to verify your config is working as intended:
- Try curl from the BIG-IP to /lib/dict.en-US.json on the Apache servers directly. Check that you get the correct response from the backend server.
- Capture traffic between BIG-IP and backend server with tcpdump. This should show that the 502 status page is sent by the web application server. And also this will verify that the request is arriving at the correct Apache servers.
If you are not experienced with tcpdump - start from here: K411: Overview of packet tracing with the tcpdump utility - Capture traffic going to the web application server when you access /lib/dict.en-US.json directly.
Compare differences - maybe you find a solution in the differences.
Good luck,
Daniel
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com