apache-openid returns 500 error message on access to a protected resource
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apache OpenID |
Fix Released
|
High
|
Unassigned |
Bug Description
Accessing https:/
Unfortunately, I cannot reproduce as I do not have an older cookie.
What I expect to happen:
1. Gain access to the protected resource.
What actually happens:
1. Apache returns a 500 error message.
How to reproduce:
1. Access the directory with an older cookie (unfortunately I don't know what the cookie contents look like).
More information:
Below is the information that I have mined from our Apache logs with the request and the relevant error message that is returned.
Apache request:
xxx.xxx.xxx.xxx - - [19/Oct/
The traceback follows below:
[Mon Oct 19 09:57:32 2009] [error] [client xxx.xxx.xxx.xxx] mod_python (pid=29107, interpreter=
[Mon Oct 19 09:57:32 2009] [error] [client xxx.xxx.xxx.xxx] ServerName: 'directory.
[Mon Oct 19 09:57:32 2009] [error] [client xxx.xxx.xxx.xxx] DocumentRoot: '/htdocs'
[Mon Oct 19 09:57:32 2009] [error] [client xxx.xxx.xxx.xxx] URI: '/'
[Mon Oct 19 09:57:32 2009] [error] [client xxx.xxx.xxx.xxx] Location: '/'
[Mon Oct 19 09:57:33 2009] [error] [client xxx.xxx.xxx.xxx] Directory: None
[Mon Oct 19 09:57:33 2009] [error] [client xxx.xxx.xxx.xxx] Filename: '/htdocs'
[Mon Oct 19 09:57:33 2009] [error] [client xxx.xxx.xxx.xxx] PathInfo: '/'
[Mon Oct 19 09:57:33 2009] [error] [client xxx.xxx.xxx.xxx] Traceback (most recent call last):
[Mon Oct 19 09:57:33 2009] [error] [client xxx.xxx.xxx.xxx] File "/usr/lib/
[Mon Oct 19 09:57:33 2009] [error] [client xxx.xxx.xxx.xxx] File "/usr/lib/
[Mon Oct 19 09:57:33 2009] [error] [client xxx.xxx.xxx.xxx] File "/usr/lib/
[Mon Oct 19 09:57:33 2009] [error] [client xxx.xxx.xxx.xxx] File "/usr/lib/
[Mon Oct 19 09:57:33 2009] [error] [client xxx.xxx.xxx.xxx] File "/usr/lib/
[Mon Oct 19 09:57:33 2009] [error] [client xxx.xxx.xxx.xxx] File "/usr/lib/
[Mon Oct 19 09:57:33 2009] [error] [client xxx.xxx.xxx.xxx] File "/usr/lib/
[Mon Oct 19 09:57:33 2009] [error] [client xxx.xxx.xxx.xxx] AttributeError: 'list' object has no attribute 'keys'
Changed in apache-openid: | |
importance: | Undecided → High |
assignee: | nobody → Stuart Metcalfe (stuartmetcalfe) |
I added some debug code and found that when we traceback, team_cache
lookgs like this:
[Mon Oct 19 17:53:58 2009] [error] [client 555.555.555.555] MOOHAHA: [u'canonical']
But when it works, looks like this:
[Mon Oct 19 11:58:13 2009] [error] [client 555.555.555.555] MOOHAHA: {u'canonical': datetime. datetime( 2009, 10, 19, 12, 58, 13, 378459)}, referer: https:/ /directory. canonical. com/openid/ login