Modify

Opened 6 years ago

Closed 5 years ago

#4255 closed defect (invalid)

TracCas 2.0.1 on Trac 0.11.2.1

Reported by: anonymous Owned by: coderanger
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.

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by coderanger

  • Resolution set to invalid
  • Status changed from new to closed

This would mean your CAS server is sending back malformed HTTP responses.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from coderanger. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.