I am trying to create a page that will take more than 600 seconds to load. Do you have any idea on what to create for this to happen? Or just anything to generate the 502 gateway timeout error.
I am trying to create a page that will take more than 600 seconds to load. Do you have any idea on what to create for this to happen? Or just anything to generate the 502 gateway timeout error.
502 is Status code for Bad Gateway, not Gateway timeout. 504 is the code you are looking for.
Here's a Gateway timeout with 5000 milliseconds: https://httpstat.us/504?sleep=5000
One for 600 seconds: https://httpstat.us/504?sleep=600000
This must be done server-side. Depending on the backend language you are using, you have the following options: