Can not connect to the sync server

Anything to do with the Pale Moon Sync service.

Moderator: satrow

yami_
Lunatic
Lunatic
Posts: 448
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: 23449
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
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.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 23449
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
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.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

yami_
Lunatic
Lunatic
Posts: 448
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

Post Reply