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?
>
> Sorry for the delay in replying here.  The code generating that message
> is in:
>
>
> https://github.com/mozilla-services/syncserver/blob/master/syncserver/__init__.py#L125
>
> But it's pulling the application_url more-or-less directly out of the
> WebOb request object, so I'm really not sure how it got all those commas
> in there.  I've never seen this before.
>
> If you're familiar with python, you could try diving in and putting some
> debugging `print` statements around that code to find out what's going on.
>
> What version of python are you running?  Are you just using the provided
> `make serve` command to run the server?
>
> Very strange.  I hope we can get to the bottom of it!
>
>
>   Cheers,
>
>     Ryan
Ryan,

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.
Yes, I used 'make serve' to start the server.

Thanks ,
Martin
_______________________________________________
Sync-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/sync-dev

Reply via email to