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

Unable to authenticate (bis) #116

mirabellette opened this Issue Apr 22, 2018 · 2 comments


None yet
2 participants

mirabellette commented Apr 22, 2018

Hi hi everyone,

My configuration -> virtual machine ip address

I enable this parameters in syncserve.ini

public_url =
sqluri = sqlite:////opt/syncserver/syncserver_data.db
secret = *************************
force_wsgi_environ = false

I got some issues with Firefox syncserver.

I installed it in a virtual machine which can access to internet. There is an Apache reverse proxy in front of it. It looks to work well because when I request, I receive it works!.

I have a Firefox account.

My tests
I modify in browser the value of identity.sync.tokenserver.uri with

I restart my browser but Firefox asks me to reconnect to sync again and again and again. When I am looking for the Apache log, I got a HTTP answer from with 401 code.

I thought it was Apache2.4 which made trouble so I made a NAT redirection directly to the firefoxserver. Unfortunately, I got the same problem in the Firefox browser (asking for sign in)

When I run sudo -u user make serve ; the server starts well but I didn't get any new message from the console when I request . -> "it works" in my browser -> .json answer with Unauthorized

Do you have some idea ?


This comment has been minimized.


rfk commented Apr 23, 2018

public_url =
I modify in browser the value of identity.sync.tokenserver.uri with

The public_url setting as to be the URL of your server as seen by the browser, so I would expect it to be "" base on your example here.

force_wsgi_environ = false

You could also try flipping this to true and see if that helps, which would narrow down the problem.


This comment has been minimized.

mirabellette commented Apr 28, 2018

Hello rfk,

I was able to fix my issue! Even if I changed the public_url with the correct one, I got an error from syncserver. I set the force_wsgi_environ to true and it works :)

I created an article to help new user to install syncserver. I hope it will help others to install it.

Thank you for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment