Can not connect to the sync server

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

Can not connect to the sync server

Unread 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: 30841
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Can not connect to the sync server

Unread 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.
"Just because you know something is going to break in the end, doesn't mean that it can't have an effect that lasts into the future. Joy. Wonder. Laughter. Hope. The world can be better because of what you built in the past." -- Tom Scott
Image

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

Re: Can not connect to the sync server

Unread 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.
"Just because you know something is going to break in the end, doesn't mean that it can't have an effect that lasts into the future. Joy. Wonder. Laughter. Hope. The world can be better because of what you built in the past." -- Tom Scott
Image

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

Re: Can not connect to the sync server

Unread 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