I am running SyncServer in a docker container using Mozilla's image and the standard settings, and connected via an NGINX reverse proxy. My desktop Firefox browser (on MacOS) seems to work fine with the updated tokenServerURI, but when I add the same URL (https://sync.my.server/token/1.0/sync/1.5) in the Custom Sync Token Server space om Firefox for iOS it doesn't seem to work. It seems to connect fine, and once I sign back in to sync I receive a message on my desktop telling me that my computer is now connected to my phone. I am also able to see both devices at https://accounts.firefox.com. However, Firefox on the phone never syncs again and I am unable to see any synced tabs from my desktop Firefox.
I changed the variable services.sync.log.appender.file.logOnSuccess on my Firefox desktop config to be true, just to check that the sync is working correctly and it does indeed seem to be.
However, if I run the command /usr/local/bin/python -m syncstorage.tests.functional.test_storage --use-token-server http://sync.my.server/token/1.0/sync/1.5 from within the Syncserver docker container I get this response:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/site-packages/syncstorage/tests/functional/test_storage.py", line 2281, in <module>
res = run_live_functional_tests(TestStorage, sys.argv)
File "/usr/local/lib/python2.7/site-packages/syncstorage/tests/functional/support.py", line 203, in run_live_functional_tests
creds = authenticate_to_token_server(url, opts.email, opts.audience)
File "/usr/local/lib/python2.7/site-packages/syncstorage/tests/functional/support.py", line 136, in authenticate_to_token_server
creds = json.loads(r.content)
File "/usr/local/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
I'm not sure how to go about troubleshooting this in any more detail than that. Any suggestions? Thanks!
Yeah, running in a docker container, except for me everything EXCEPT tabs syncing works fine. (The only feature I really need.). Reverted to Mozilla's servers for now.
I am running SyncServer in a docker container using Mozilla's image and the standard settings, and connected via an NGINX reverse proxy. My desktop Firefox browser (on MacOS) seems to work fine with the updated
tokenServerURI
, but when I add the same URL (https://sync.my.server/token/1.0/sync/1.5
) in the Custom Sync Token Server space om Firefox for iOS it doesn't seem to work. It seems to connect fine, and once I sign back in to sync I receive a message on my desktop telling me that my computer is now connected to my phone. I am also able to see both devices athttps://accounts.firefox.com
. However, Firefox on the phone never syncs again and I am unable to see any synced tabs from my desktop Firefox.I changed the variable
services.sync.log.appender.file.logOnSuccess
on my Firefox desktop config to be true, just to check that the sync is working correctly and it does indeed seem to be.However, if I run the command
/usr/local/bin/python -m syncstorage.tests.functional.test_storage --use-token-server http://sync.my.server/token/1.0/sync/1.5
from within the Syncserver docker container I get this response:I'm not sure how to go about troubleshooting this in any more detail than that. Any suggestions? Thanks!