Migrated from Redmine #731 | Author: Henri Ch
Status: New | Priority: Normal | Created: 2021-07-07
Hello,
I’m getting this error once in a while when using the API: 504 Gateway Timeout
Any reasons? Anything I can do? I’m using https://user-api-v2.simplybook.plus/admin/
Redmine Admin wrote:
please provide more details, which company login, raw http request
system
December 18, 2021, 12:22am
3
Henri Ch wrote:
Even the admin interface is giving me 504.
Here is the url: Appointment booking service and free online booking service
Is it due to high volume? Or the DB being slow? Can we upgrade the server?
system
December 18, 2021, 12:33am
4
system
December 18, 2021, 12:34am
5
system
December 18, 2021, 8:05am
6
Redmine Admin wrote:
hi, sorry, it was huge load spike on server. Our engeneers managed to mitigate it and everything went fine
system
December 21, 2021, 11:50pm
8
Henri Ch wrote:
Hello,
I still get this daily…
[2021-12-21 18:44:02] POST https://user-api-v2.simplybook.plus/admin/auth resulted in a 504 Gateway Time-out response:
^M
504 Gateway Time-out^M
^M
504 Gateway Time-out < (truncated...)
{"exception":"[object] (GuzzleHttp\\Exception\\ServerException(code: 504): Server error: `POST https://user-api-v2.simplybook.plus/admin/auth` resulted in a `504 Gateway Time-out` response:
^M
504 Gateway Time-out^M
^M
504 Gateway Time-out < (truncated...)
system
December 22, 2021, 8:09am
9
Dmytro Bondarev wrote:
Hi!
Please try to reuse token, instead of making token for each request.
system
May 20, 2022, 2:55pm
10
Henri Ch wrote:
I fixed my code to reuse token and it’s working a lot better. However, every day around 8pm Eastern Time, the error shows up for 5 min or so. Every day same thing. I don’t have any specific crons running. I’m wondering if you do something on your side.
Server error: POST https://user-api-v2.simplybook.plus/admin/auth resulted in a 504 Gateway Time-out response:
^M
504 Gateway Time-out^M
^M
504 Gateway Time-out < (truncated...)
Any ideas?