After setting up Firefox sync server, I could not sync with it because I get the error
Failed to fetch the cluster URL: Error: user is not verified
These are the steps I took:
- Set up Firefox sync server with Docker on Lubuntu following the instructions from the README:
$ git clone https://github.com/mozilla-services/syncserver.git && cd syncserver
$ docker build -t syncserver:latest .
$ docker run --restart=unless-stopped --name=syncserver -d -v /opt/syncserver:/data -p 5000:5000 -e SYNCSERVER_PUBLIC_URL=http://firefox.domain.com -e SYNCSERVER_SECRET=53b1023a45a4446e15be9b6c0041724f9c2a354d -e SYNCSERVER_SQLURI=sqlite:////tmp/syncserver.db -e SYNCSERVER_BATCH_UPLOAD_ENABLED=true -e SYNCSERVER_FORCE_WSGI_ENVIRON=false -e PORT=5000 syncserver:latest
$ sudo chmod 1001:1001 /opt/syncserver
- Ran test from the README, which exited with
Ran 60 tests in 147.371s
OK (skipped=6)
- Created Nginx reverse proxy on another machine:
server {
server_name firefox.domain.com;
listen 443;
listen [::]:443;
<SSL certs here>
location / {
proxy_pass http://192.168.x.x:5000;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_redirect off;
proxy_read_timeout 120;
proxy_connect_timeout 10;
}
}
I was able to access it from firefox.domain.com, where it said it works!
- In about:config, I changed
identity.sync.tokenserver.uri to https://firefox.domain.com/token/1.0/sync/1.5
Every time I try to sync from Firefox on Ubuntu, I get this in about:sync-log: PrivateBin
I also tested it without the reverse proxy, and it still gave the same error.
Any help is appreciated. Thanks in advanced!
UPDATE:
After signing out and going back in, I now get this error: PrivateBin.
After setting up Firefox sync server, I could not sync with it because I get the error
Failed to fetch the cluster URL: Error: user is not verifiedThese are the steps I took:
I was able to access it from firefox.domain.com, where it said
it works!identity.sync.tokenserver.uritohttps://firefox.domain.com/token/1.0/sync/1.5Every time I try to sync from Firefox on Ubuntu, I get this in
about:sync-log: PrivateBinI also tested it without the reverse proxy, and it still gave the same error.
Any help is appreciated. Thanks in advanced!
UPDATE:
After signing out and going back in, I now get this error: PrivateBin.