Wrote a simple app:
The server hits a bunch of Spotify API’s but takes a little over 1 minute to process before sending a response which I can see in the server logs. In the browser, I’m getting a “504 Gateway Time-out” response after 60 seconds (right before the server finishes up). I can’t tell if the timeout is from the ExpressJS server, Glitch, JQuery, or the browser.
I’ve tried increasing the timeout in JQuery to 2 minutes but the GET request still times out after exactly 1 minute.
I was wondering if Glitch (for my own sanity) automatically times out HTTP requests after 60 seconds and if so, if there is a way to change that.