On 23/08/2014 2:04 AM, [email protected] wrote: > Am 22.08.2014 um 02:44 schrieb Ryan Kelly: >> On 22/08/2014 4:49 AM, [email protected] wrote: >> OK, so perhaps the error is happening before the request even hits the >> hawkauth library. The next layer up is the pyramid_hawkauth library here: >> >> ./local/lib/python2.7/site-packages/pyramid_hawkauth/__init__.py >> >> Specifically either the "effective_principals" or "authenticated_userid" >> methods. You could try logging some debug information out of these >> methods to see where it's failing. > Now, there is progress. Wonderful! > > Within "_get_credentials" we have an exception "invalid Hawk id: %s" - > but I don't see the message - but this is another issue. > > The "id" is a string with 172 characters. The start of the id is equal > from call to call, but the end is changing. Right?
Yes, this sounds right. > But it seems that "decode_hawk_id" isn't called. I see no debug > statements from it's expected execution. Ah, I remembered that there is an overridden version of decode_hawk_id in this file: local/lib/python2.7/site-packages/syncstorage/views/authentication.py Which is probably the one being invoked here. Ryan _______________________________________________ Sync-dev mailing list [email protected] https://mail.mozilla.org/listinfo/sync-dev

