You are not logged in.

#1 2022-03-20 16:12:41

Morta
Member
Registered: 2019-07-07
Posts: 660

Firefox Sync Server get Bad Gateway 502 with nginx

Hi!

I have following setup and one haproxy before nginx as webserver

https://wiki.archlinux.org/title/Firefox_Sync_Server

Now I get a Bad Gateway 502 and this error message:

2022/03/20 17:49:08 [error] 1523522#1523522: *1156 upstream prematurely closed connection while reading response header from upstream, client: 192.168.1.1, server: sync.xxx.ch, request: "GET /token/1.0/sync/1.5 HTTP/1.1", upstream: "uwsgi://unix:/run/uwsgi/mozilla-firefox-sync-server.sock:", host: "sync.xxx.ch"
2022/03/20 17:49:23 [info] 1523522#1523522: *1156 client 192.168.1.1 closed keepalive connection

I just increased timeout in haproxy to 1000ms but doesn't fix it.

Have someone a idea how to fix?

Thanks!

Last edited by Morta (2022-03-21 12:19:39)

Offline

Board footer

Powered by FluxBB