Page 1 of 1

Can not connect to the sync server

Posted: 2018-11-12, 00:08
by yami_
Around 2018-11-11T23:00Z the sync server started returning the HTTP/1.1 502 Bad Gateway status code. Did something happen to it?

Re: Can not connect to the sync server

Posted: 2018-11-12, 08:57
by Moonchild
The sync server has been under regular DoS attacks. Something caused a load spike that I will investigate.

Re: Can not connect to the sync server

Posted: 2018-11-12, 09:38
by Moonchild
It seems it was a runaway query caused by a sync user shoving a ridiculous amount of data to the server in a single batch. I'll see if I can tune the db server to handle this better in the future or abort if out of bounds.

Re: Can not connect to the sync server

Posted: 2018-11-13, 18:57
by yami_
I guess that explains it. Can I assume that the HTTP/1.1 412 PRECONDITION FAILED errors and

Code: Select all

DEBUG	Records that will be uploaded again because the server couldn't store them: <list of records>
that I have been getting today are also part of that problem?