Closed
Bug 753224
Opened 13 years ago
Closed 13 years ago
Tweens not hooked up correctly in server-aitc?
Categories
(Cloud Services Graveyard :: Server: Sync, defect)
Tracking
(Not tracked)
VERIFIED
INVALID
People
(Reporter: rfkelly, Assigned: rfkelly)
Details
(Whiteboard: [qa?])
Got this traceback during loadtest on stage:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/aitc/tweens.py", line 15, in log_all_errors_tween
return handler(request)
File "/usr/lib/python2.6/site-packages/pyramid/tweens.py", line 20, in excview_tween
response = handler(request)
File "/usr/lib/python2.6/site-packages/pyramid/router.py", line 164, in handle_request
response = view_callable(context, request)
File "/usr/lib/python2.6/site-packages/pyramid/config/views.py", line 307, in attr_view
return view(context, request)
File "/usr/lib/python2.6/site-packages/pyramid/config/views.py", line 280, in predicate_wrapper
return view(context, request)
File "/usr/lib/python2.6/site-packages/pyramid/config/views.py", line 225, in _secured_view
result = _permitted(context, request)
File "/usr/lib/python2.6/site-packages/pyramid/config/views.py", line 221, in _permitted
principals = self.authn_policy.effective_principals(request)
File "/usr/lib/python2.6/site-packages/pyramid_whoauth/auth.py", line 98, in effective_principals
userid = self.unauthenticated_userid(request)
File "/usr/lib/python2.6/site-packages/pyramid_whoauth/auth.py", line 86, in unauthenticated_userid
raise ApplicationRedirectException
ApplicationRedirectException
This seems to indicate that some of the tweens are not getting loaded/configured correctly. This particular exception should always be caught by a tween from pyramid_whoauth.
Need to dig into the config to see what's going on here...
Assignee | ||
Comment 1•13 years ago
|
||
Hmm, looks like it might just be an ordering issue. The log-all-exceptions tween is appearing *before* the pyramid_whoauth tween, so it's logging the error before it gets handled.
Updated•13 years ago
|
Whiteboard: [qa?]
Assignee | ||
Comment 2•13 years ago
|
||
Confirmed as an ordering issue, and we're going to dump pyramid_whoauth anyway, so closing this as invalid.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Updated•2 years ago
|
Product: Cloud Services → Cloud Services Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•