HTTP Code 502 Bad Gateway Explained (All its Possible Causes on the Backend) - podcast episode cover

HTTP Code 502 Bad Gateway Explained (All its Possible Causes on the Backend)

Apr 30, 202117 min
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

502 Bad Gateway is one of the most infamous errors on the backend, it usually means “hey something wrong with your backend server” but it doesn’t really give enough information. 


In this video, 

I’ll go through details on why proxies and gateways like NGINX and HAProxy should consider throwing more fine detailed HTTP error codes.   502 Bad Gateway The server was acting as a gateway or proxy and received an invalid response from the upstream server.  


0:00 intro  

3:45 What Causes a 502 Bad Gateway?

8:00 Cloudflare HTTP error codes 

13:00 Security Implications


Support my work on PayPal

https://bit.ly/33ENps4

Become a Member on YouTube

https://www.youtube.com/channel/UC_ML5xP23TOWKUcc-oAE_Eg/join

🧑‍🏫 Courses I Teach

https://husseinnasser.com/courses

For the best experience, listen in Metacast app for iOS or Android