Request failed with status code 504

I have set up OpenAI Assistant on the website WIX.com . The request often gets a response.: Request failed with status code 504. Why is this happening? Help me solve this problem. Setting the timeout to 5000 did not solve the problem. The first request is handled perfectly. The following requests receive responses with an error: Request failed with status code 504.

The Api sometimes needs 40 seconds or longer to answer :frowning:

So setting the timelimit to 60000 or at least 30000 might work better.

You can also check for ongoing problems of the api, that might cause that here: