On 22/08/2014 4:49 AM, [email protected] wrote:
> Sorry for my late answer, I was some day out of office.
>
> Now, I have some statements within Apache error log. See attached file.
>
> Are these repeated messages correct?
>
> [Thu Aug 21 20:39:10 2014] [error] Created new connection
> <pymysql.connections.Connection object at 0x7f35ab418890>
> [Thu Aug 21 20:39:10 2014] [error] Connection
> <pymysql.connections.Connection object at 0x7f35ab418890> being returned
> to pool
These are normal chatter. I should probably update the code to silence
them by default because they're not very useful.
> But we see nothing of the print statements that I have added to the file
>
> ./local/lib/python2.7/site-packages/hawkauthlib/__init__.py
>
> How should I proceed?
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.
Also it's worth double-checking that you have "WSGIPassAuthorization on"
in your mod_wsgi config. Is apache handling auth for any other software
running on your host, which might accidentally interfere with things here?
Cheers,
Ryan
_______________________________________________
Sync-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/sync-dev