Hello,
I try to setup a mozilla sync server but can't get it to work.
I use this docker Docker Hub
and i do the staps as describe.
This is my config file.
I have create a user and a group. The user id is 1040 but i dont know the id of the group so i have set it also to 1040.
further i have removed the / in the data path it was /data/ now it is /data i don't know if it is relevant but just saying...
I don't know why i must set the user because you need to login with a email adres as.
If i'll try http://d****ail.nl:5100 i see the message 'it works'
in firefox i also have changed the identity.sync.tokenserver.uri to http://d****ail.nl:5100/token/1.0/sync/1.5
then i have closed firefox. and start it again.
When i try to login i must fill in my email and password and i have to enter a code thas was send to my email.
After that i see a warning that i need to login again.
If i login i still see the warning.
Can someone help me with it?
I try to setup a mozilla sync server but can't get it to work.
I use this docker Docker Hub
and i do the staps as describe.
This is my config file.
Code:
[server:main]
use = egg:gunicorn
host = 0.0.0.0
port = 5000
workers = 1
timeout = 30
# SSL Support - uncomment the following lines to use ssl certificates
# don't forget to change your public_url prefix to https
#keyfile = privatekey.key
#certfile = certificate.crt
forwarded_allow_ips = *
#debug = True
#accesslog = -
errorlog = -
loglevel = warning
[app:main]
use = egg:syncserver
[syncserver]
# This must be edited to point to the public URL of your server,
# i.e. the URL as seen by Firefox.
public_url = http://d****ail.nl:5100
# This defines the database in which to store all server data.
sqluri = sqlite:////data/syncserver.db
# This is a secret key used for signing authentication tokens.
# It should be long and randomly-generated.
# The following command will give a suitable value on *nix systems:
#
# head -c 20 /dev/urandom | sha1sum
#
# If not specified then the server will generate a temporary one at startup.
secret = f413ab4b731a5c19305f0520920014970b73fd
# Set this to "false" to disable new-user signups on the server.
# Only request by existing accounts will be honoured.
# allow_new_users = false
# Set this to "true" to work around a mismatch between public_url and
# the application URL as seen by python, which can happen in certain reverse-
# proxy hosting setups. It will overwrite the WSGI environ dict with the
# details from public_url. This could have security implications if e.g.
# you tell the app that it's on HTTPS but it's really on HTTP, so it should
# only be used as a last resort and after careful checking of server config.
force_wsgi_environ = true
# Uncomment and edit the following to use a local BrowserID verifier
# rather than posting assertions to the mozilla-hosted verifier.
# Audiences should be set to your public_url without a trailing slash.
[browserid]
backend = tokenserver.verifiers.LocalVerifier
audiences = http://10.0.1.27:5100
I have create a user and a group. The user id is 1040 but i dont know the id of the group so i have set it also to 1040.
further i have removed the / in the data path it was /data/ now it is /data i don't know if it is relevant but just saying...
I don't know why i must set the user because you need to login with a email adres as.
If i'll try http://d****ail.nl:5100 i see the message 'it works'
in firefox i also have changed the identity.sync.tokenserver.uri to http://d****ail.nl:5100/token/1.0/sync/1.5
then i have closed firefox. and start it again.
When i try to login i must fill in my email and password and i have to enter a code thas was send to my email.
After that i see a warning that i need to login again.
If i login i still see the warning.
Can someone help me with it?