Can not connect to the sync server

Anything to do with the Pale Moon Sync service.
Locked
yami_
Astronaut
Astronaut
Posts: 506
Joined: 2018-04-26, 11:05

Can not connect to the sync server

Post by yami_ » 2018-11-12, 00:08

Around 2018-11-11T23:00Z the sync server started returning the HTTP/1.1 502 Bad Gateway status code. Did something happen to it?
cat came back from Berkeley waving flags -- rob pike

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 27902
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Can not connect to the sync server

Post by Moonchild » 2018-11-12, 08:57

The sync server has been under regular DoS attacks. Something caused a load spike that I will investigate.
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 27902
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Can not connect to the sync server

Post by Moonchild » 2018-11-12, 09:38

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.
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

yami_
Astronaut
Astronaut
Posts: 506
Joined: 2018-04-26, 11:05

Re: Can not connect to the sync server

Post by yami_ » 2018-11-13, 18:57

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?
cat came back from Berkeley waving flags -- rob pike

Locked