mozilla-services / syncserver

Run-Your-Own Firefox Sync Server
Mozilla Public License 2.0
1.87k stars 145 forks source link

Error running docker with apache reverse proxy #274

Open stocton12 opened 3 years ago

stocton12 commented 3 years ago

I'm running docker with:

docker run -v /firefox:/data -p 5000:5000 -e SYNCSERVER_PUBLIC_URL=http://127.0.0.1:5000 -e SYNCSERVER_SECRET=MYSECRET -e SYNCSERVER_SQLURI=sqlite:////data/syncserver.db -e SYNCSERVER_BATCH_UPLOAD_ENABLED=true -e SYNCSERVER_FORCE_WSGI_ENVIRON=true -e PORT=5000 mozilla/syncserver:latest

and I get the error:

ERROR:tokenserver:Unexpected verification error Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/tokenserver/views.py", line 202, in _validate_oauth_token token = verifier.verify(token) File "/usr/local/lib/python2.7/site-packages/tokenserver/verifiers.py", line 231, in verify raise ConnectionError(msg) ConnectionError: Verification request to https://oauth.accounts.firefox.com/v1 failed; reason: HTTPSConnectionPool(host='oauth.accounts.firefox.com', port=443): Max retries exceeded with url: /v1/jwks (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa7931dd290>: Failed to establish a new connection: [Errno -3] Try again',))

Any ideas?