Comments (5)
@zilexa , have you tried in your firefox to check the about:sync-log
content ?
I have also a sync issue and can see error in the logs (but I do not know how to solve them π )
from docker-firefox-syncserver.
I was using Firefox Beta for Android. I installed Firefox for Android besides it and changed the url (after tapping the logo in About Firefox 5 times, this option becomes visible in Settings).
Unfortunately, after authentication, "last sync" stays on Never (Firefox for Android). Even if I tap to sync.
It seems now, both my desktop Firefox and my (new) Firefox for Android are not syncing.
With my old Firefox Beta for Android, I logged out of Sync, changed the URL. Now after a login attempt (authentication), the Firefox Beta app itself is still not logged in. I am logged in on the website and shown as Web Session when I go to my account page. But the Firefox Beta app is not logged in.
Something seems to be going wrong here.
What could have gone wrong here?
The Traefik setup works fine, I use it for multiple services and in Traefik webUI I can see all is OK.
Enabled debug logging:
https://pastebin.com/ySRG6P58
2020-10-21 17:10:57 +0000] [17] [DEBUG] GET /token/1.0/sync/1.5
ERROR:syncserver:The public_url setting doesn't match the application url.
This will almost certainly cause authentication failures!
public_url setting is: https://firefox.obelix.cloud
application url is: http://firefox.obelix.cloud
You can disable this check by setting the force_wsgi_environ
option in your config file, but do so at your own risk.
this does not make sense as I state https:// in Compose and also in the url on my devices. If I disable the check via the env the error goes away. But the issue remains.
from docker-firefox-syncserver.
@zilexa , have you tried in your firefox to check the
about:sync-log
content ?
I have also a sync issue and can see error in the logs (but I do not know how to solve them π )
Thanks I will try tomorrow. Had some other unrelated stuff to fix first.
Do post your error please, I'll check my log tomorrow.
from docker-firefox-syncserver.
The issue remains with application url is: http://firefox.obelix.cloud
While it is https. How can I change the application url
?
from docker-firefox-syncserver.
I have got it working. Not sure how or why.
##_____________________ Firefox Sync [CLOUD/Browser]
# generate secret.txt first see docker-config.sh
firefox-syncserver:
image: crazymax/firefox-syncserver:latest
container_name: firefox_syncserver
restart: always
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TZ
- FF_SYNCSERVER_PUBLIC_URL=https://firefox.$DOMAIN
- FF_SYNCSERVER_SECRET=$FFSYNCSECRET
# - FF_SYNCSERVER_FORWARDED_ALLOW_IPS=*
- FF_SYNCSERVER_FORCE_WSGI_ENVIRON=true
- FF_SYNCSERVER_ALLOW_NEW_USERS=true
- FF_SYNCSERVER_LOGLEVEL=debug
volumes:
- "$USERDIR/docker/firefox-syncserver:/data"
ports:
- 5000:5000
labels:
- traefik.enable=true
- traefik.http.middlewares.firefox-redirect.redirectscheme.scheme=https
- traefik.http.routers.firefox-redirect.entrypoints=web
- traefik.http.routers.firefox-redirect.middlewares=firefox-redirect
- traefik.http.routers.firefox-redirect.rule=Host(`firefox.$DOMAIN`)
- traefik.http.routers.firefox.entrypoints=websecure
- traefik.http.routers.firefox.rule=Host(`firefox.$DOMAIN`)
- traefik.http.routers.firefox.tls.certresolver=letsencrypt
- traefik.http.services.firefox.loadbalancer.server.port=5000
Did not chang any Traefik label.
Note on Android I accidentally changed the Auth server. Be careful to select sync server.
You will get both options via Firefox > Settings > About > tap the logo 5 times > go back to Settings > see the extra options under Sync > Only change the sync server to https://firefox.yourdomain.com/token/token/1.0/sync/1.5
You can also test in a browser:
https://firefox.yourdomain.com/token/
should not show any errors.
BUT: nothing gets synced. I will open a new issue.
from docker-firefox-syncserver.
Related Issues (20)
- Healthy error after latest image update, no problems before. HOT 9
- Doesn't launch on a raspberry pi 3B + HOT 2
- Mariadb support HOT 3
- ConnectionError: Failed to GET https://api.accounts.firefox.com/.well-known/browserid. HOT 4
- SQLite unable to open database file HOT 2
- Doesnβt sync with iOS only with desktop HOT 2
- Improve with account server? HOT 5
- [question] difference your image vs Mozilla official? HOT 2
- [request] Point to a secret key file instead of writing it in docker-compose.yml HOT 3
- SyncStorage now available HOT 1
- Installation success, but Firefox Android 82.1.3 not syncing HOT 1
- [idea] add Caddy to examples HOT 1
- [Question] How to check how many/what accounts are linked? HOT 1
- WARNING:mozsvc.user:Authentication Failed: invalid hawk signature HOT 4
- Python error with latest version
- The public_url setting doesn't match the application url
- forwarded_allow_ips variable not applied to gunicorn launch HOT 1
- SQL issue HOT 7
- Container Cannot Connect With api.accounts.firefox.com, Sync Nonfunctional HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-firefox-syncserver.