Glitch server timeout?

Wrote a simple app:
JQuery client
ExpressJS server

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.

Hey @cbalane, welcome to the Glitch forum!

I’m fairly certain that timeout length is something Glitch enforces, and I don’t think it’s something you can control. I’m checking with the rest of the team to verify, though, and will get back to you if I find out anything additional

Sorry for the bother!