On 6/05/2015 05:14, Martin Mühlbauer wrote: > Am 04.05.2015 um 04:08 schrieb Ryan Kelly: >> On 4/05/2015 05:19, Martin Mühlbauer wrote: >>> Am 29.04.2015 um 05:50 schrieb Ryan Kelly: >>>> On 26/04/2015 21:22, Martin Mühlbauer wrote: >>>>> Hi, >>>>> >>>>> Today I tried to set up a Firefox Sync Server on my Raspberry Pi. >>>>> Unfortunately I continue to get the following error message if I try to >>>>> connect to my server: >>>>> >>>>> ERROR:syncserver:The public_url setting doesn't match the application url. >>>>> This will almost certainly cause authentication failures! >>>>> public_url setting is: http://syncserver.test:5000 >>>>> application url is: http://s,y,n,c,s,e,r,v,e,r,.,t,e,s,t,:,5,0,0,0 >>>>> You can disable this check by setting the force_wsgi_environ >>>>> option in your config file, but do so at your own risk. >>>>> >>>>> Any idea how to solve this? >>> With 'print' I found out that there are commas between every single >>> character in the whole request. >>> I used 2.7.3. Seems to be the standard in Raspbian. >> I'm able to reproduce this locally. Very strange. As far as I can tell >> it's specific to `pserve`. If you try editing your config file to use >> gunicorn instead, like this: >> >> [server:main] >> # use = egg:Paste#http >> use = egg:gunicorn >> host = 0.0.0.0 >> port = 5000 >> >> >> Does the problem go away for you? >> >> Cheers, >> >> Ryan > Great. This solved the problem. Thanks! Except of the syncserver.ini file I > also edited the Makefile in order to use 'make serve' again. > Any idea what's the problem with pserve?
FYI, I didn't have any luck digging into this, so I've just changed the default build to use gunicorn rather than pserve. Thanks again for reporting and helping to debug! Cheers, Ryan _______________________________________________ Sync-dev mailing list Sync-dev@mozilla.org https://mail.mozilla.org/listinfo/sync-dev