Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

401 with Firefox 83.0 #263

Open
sysoppl opened this issue Dec 11, 2020 · 7 comments
Open

401 with Firefox 83.0 #263

sysoppl opened this issue Dec 11, 2020 · 7 comments

Comments

@sysoppl
Copy link

sysoppl commented Dec 11, 2020

Hello,
I just deployed my docker container, and with some research I was able to sync with my Android phone ( https://example.com/token/ ), however I'm unable to sync with my firefox desktop (83.0).

Docker logs says:
INFO:mozsvc.metrics:{"code": 401, "request_time": 0.00031304359436035156, "remoteAddressChain": ["1.2.3.4", "172.17.0.1"], "agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0", "path": "https://example.com/token/1.0/sync/1.5", "method": "GET"}

Also, there was crash or something inside, here is the log:
sync_logs.txt - I removed some ip's and url's

I tried with
http://example.com/token/1.0/sync/1.5
http://example.com/token/token/1.0/sync/1.5
http://example.com/token/


After setting these two to false and few relogins I was finally able to sync...
91498485-d6cccc00-e88d-11ea-8d1f-9a465725428d

@rfk
Copy link
Contributor

rfk commented Dec 14, 2020

After setting these two to false

Just want to let you know, those prefs will eventually be removed from Firefox, so we can't count on them for a long-term solution here.

When you have a chance, please try setting those prefs back to False, reproducing the 401 error, and then following these instructions to capture more detailed client-side logs about what might be going wrong?

@sysoppl
Copy link
Author

sysoppl commented Dec 15, 2020

Well, I set them back to true, but no 401 in logs for now..
I will try with fresh firefox or it will pop 401 soon, I'll see in few days

@virgoparna
Copy link

Those settings do not exists in Firefox for Android since last august. Probably reason, why I cannot get sync to work even with https.

@sysoppl
Copy link
Author

sysoppl commented Mar 20, 2021

@virgoparna For Android version I'm using https://URL/token/ without changing any settings and it is working fine

@virgoparna
Copy link

Got Android version to sync by new install. Old sync server was probably too old.

@MichiFr
Copy link

MichiFr commented Apr 6, 2021

@virgoparna For Android version I'm using https://URL/token/ without changing any settings and it is working fine

So you did this with the current server which source is available here? w/o adding any SSL certs or whatsoever? You even did not change the URI to https://URL/token/1.0/sync/1.5 with or without trailing slash?

@sysoppl
Copy link
Author

sysoppl commented Apr 6, 2021

I'm using 3 months old version with Lets Encrypt SSL. It is just https://URL/token/ without any /1.0/sync etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants