Am 30.07.2014 um 09:00 schrieb Ryan Kelly:
> On 29/07/2014 7:01 PM, [email protected] wrote:
>> Hello,
>>
>> I have setup the syncserver with own authserver.
>>
>> As far as I can see, authserver is running fine (account creation,
>> e-mail verificaation ...) and I get access to /token/1.0/sync/1.5 URL. 
>> The /token/1.0/sync/1.5 URL returns result code 200.  Also the logs of
>> authserver and contentserver and browserid verifier are looking fine.
>>
>> But, then the /storage/1.5/1/info/collections is accessed and the access
>> log of apache shows an 401 access denied.  Why?  I'm missing something?
> A couple of things to check:
>
> * Ensure that you have set a custom "secret" value in the syncserver
> config file.  By default it generates a random secret at startup, which
> can sometimes lead to 401s when it changes in between runs or across
> processes.
The custom secret is set.
> * Ensure that the the storage URL handed out by the tokenserver (which
> you can check by searching for "clusterURL" in about:config) precisely
> matches the configured "public_url" in your syncserver config.
The clusterURL is: https://sync.example.com:443/storage/1.5/1/
The public_url is: https://sync.example.com:443/


If I change (as a test) the public_url to
https://sync.example.com:443/storage/1.5/1/
then the clusterURL is
https://sync.example.com:443/storage/1.5/1/storage/1.5/1/


So, I think that the public_url of https://sync.example.com:443/ is correct.


The Apache error log has this entry:

[Wed Jul 30 23:04:58 2014] [error] INFO:mozsvc.metrics:{"code": 200,
"request_time": 0.0014450550079345703, "remoteAddressChain": ["<IP
address>"], "agent": "Firefox/31.0
FxSync/1.33.0.20140716183446.desktop", "path":
"https://sync.example.com/storage/1.5/1/info/collections";, "method": "GET"}

> Hope this helps,
>
>    Ryan
What should I check next?

Uwe
> _______________________________________________
> Sync-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/sync-dev

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

Reply via email to