Opened 16 years ago
Last modified 16 years ago
#1821 closed defect
urlopen error unknown url type: https — at Initial Version
| Reported by: | Owned by: | Noah Kantrowitz | |
|---|---|---|---|
| Priority: | normal | Component: | TracCasPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.10 |
Description
After trying to log in with CAS, this error is spat out, and the TracCAS plugin is unloaded:
2007-07-18 16:15:47,574 Trac[main] ERROR: <urlopen error unknown url type: https> Traceback (most recent call last):
File "/opt/local/lib/python2.5/site-packages/trac/web/main.py", line 406, in dispatch_request
dispatcher.dispatch(req)
File "/opt/local/lib/python2.5/site-packages/trac/web/main.py", line 182, in dispatch
req.authname = self.authenticate(req)
File "/opt/local/lib/python2.5/site-packages/trac/web/main.py", line 146, in authenticate
authname = authenticator.authenticate(req)
File "build/bdist.macosx-10.3-ppc/egg/traccas/traccas.py", line 34, in authenticate
valid, user = self.cas.validate_ticket(req.abs_href.login(), ticket)
File "build/bdist.macosx-10.3-ppc/egg/traccas/pycas.py", line 41, in validate_ticket
f = urllib2.urlopen(self.validate_url(service, ticket))
File "/opt/local/lib/python2.5/urllib2.py", line 121, in urlopen
return _opener.open(url, data)
File "/opt/local/lib/python2.5/urllib2.py", line 374, in open
response = self._open(req, data)
File "/opt/local/lib/python2.5/urllib2.py", line 397, in _open
'unknown_open', req)
File "/opt/local/lib/python2.5/urllib2.py", line 353, in _call_chain
result = func(*args)
File "/opt/local/lib/python2.5/urllib2.py", line 1133, in unknown_open
raise URLError('unknown url type: %s' % type)
URLError: <urlopen error unknown url type: https>


