Hi! I'm currently self-hosting sync 1.1 on my webspace[1], and now I'm trying to upgrade to sync 1.5
I followed the documentation at [2], and it works well running local/bin/pserve -v syncserver.ini (I can see it on client-side in a success-*.txt) However, this will only serve plain http, thus I'd like to reverse-proxy the syncserver through their webserver/https setup. This is normally done with the following directives in a .htaccess file: RewriteEngine On RewriteRule (.*) http://localhost:64223/$1 [P] Doing so, I can connect to the syncserver via https - but then the server will issue the following message(s): serving on 0.0.0.0:PORT view at http://127.0.0.1:PORT ERROR:syncserver:The public_url setting does not match the application url. This will almost certainly cause authentication failures! public_url setting is: https://HOST.uberspace.de/ffsync-1.5 application url is: http://localhost:PORT/ffsync-1.5 Client-side, I get no more success*.txt, and the error-*.txt contains: > 1423165555790 Sync.BrowserIDManager DEBUG Getting a token > 1423165558454 Sync.SyncScheduler DEBUG Next sync in 3600000 ms. > 1423165561987 Sync.BrowserIDManager ERROR Non-authentication error in > _fetchTokenForUser: Server error. > 1423165561988 Sync.Status DEBUG Status.login: success.login => > error.login.reason.network > 1423165561989 Sync.Status DEBUG Status.service: success.status_ok => > error.login.failed > 1423165561989 Sync.SyncScheduler DEBUG Clearing sync triggers and > the global score. > 1423165561993 Sync.SyncScheduler DEBUG Next sync in 3600000 ms. I suspect that, opposed to sync 1.1, the syncserver does not simply work with the different Host: http header (and others) it receives being behind the reverse proxy. Any help? Jonathan Biegert [1] uberspace.de, they offer shared web- & mail-hosting with shell access [2] https://docs.services.mozilla.com/howtos/run-sync-1.5.html _______________________________________________ Sync-dev mailing list [email protected] https://mail.mozilla.org/listinfo/sync-dev

