Opened 16 years ago
Closed 15 years ago
#4255 closed defect (invalid)
TracCas 2.0.1 on Trac 0.11.2.1
Reported by: | anonymous | Owned by: | Noah Kantrowitz |
---|---|---|---|
Priority: | normal | Component: | TracCasPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Hello!
After login this error:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/api.py", line 367, in send_error
'text/html')
File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/chrome.py", line 688, in render_template
data = self.populate_data(req, data)
File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/chrome.py", line 596, in populate_data
dchrome?.update(req.chrome)
File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/api.py", line 194, in getattr
value = self.callbacks[name](self)
File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/chrome.py", line 464, in prepare_request
for category, name, text in contributor.get_navigation_items(req):
File "/usr/lib/python2.4/site-packages/TracFullBlogPlugin-0.1-py2.4.egg/tracfullblog/web_ui.py", line 79, in get_navigation_items
if 'BLOG_VIEW' in req.perm('blog'):
File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/api.py", line 194, in getattr
value = self.callbacks[name](self)
File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/main.py", line 261, in _get_perm
return PermissionCache(self.env, self.authenticate(req))
File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/main.py", line 132, in authenticate
authname = authenticator.authenticate(req)
File "build/bdist.linux-i686/egg/traccas/traccas.py", line 28, in authenticate File "build/bdist.linux-i686/egg/traccas/pycas.py", line 41, in validate_ticket File "urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "urllib2.py", line 358, in open
response = self._open(req, data)
File "urllib2.py", line 376, in _open
'_open', req)
File "urllib2.py", line 337, in _call_chain
result = func(*args)
File "urllib2.py", line 1029, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "urllib2.py", line 994, in do_open
r = h.getresponse()
File "httplib.py", line 866, in getresponse
response.begin()
File "httplib.py", line 336, in begin
version, status, reason = self._read_status()
File "httplib.py", line 300, in _read_status
raise BadStatusLine(line)
BadStatusLine
On logout is correct.
Thx.
This would mean your CAS server is sending back malformed HTTP responses.