I am getting a 504 error and unsure why. Other times it goes through the 60 second mark! I'm self-hosted and haven't set any env variables regarding this.
Not sure if this is already solved, outside of the post here (which doesn't seem to be true given my screenshot...)
I'm confused, there's a marked solution on that page regarding updating the env variables but you're still looking for a solution without trying that one? No offense, but have you tried anything? It looks like its an OpenAI API request... have you checked the logs on their side or are you able to connect LogFire? Can we see the http response headers? I noticed 'PDF' in the query name, are you sending a file? were those 2 requests ran quickly back to back?
Well, I mean if the marked solution is correct then it sounds like the default env variable values and the ones in the documentation are different, which would be why it times out at 60 seconds even though the documentation says 2 mins..... because they're different.
just a side thought, but it is possible to get a 504 error from an overloaded server or from sending requests too quickly (rate limit basically, or lack of i guess)