I am using central authentication system for login purpose for my app..
Ticket ID
14.139.82.6.2015-11-19.14-36-56.c18f12cf-7fe4-43d8-bb5a-c2e4f2184438
<class 'socket.error'> [Errno 111] Connection refused
Version
web2py™ Version 2.12.3-stable+timestamp.2015.08.19.00.18.03
Python Python 2.7.6: /usr/local/bin/uwsgi (prefix: /usr)
Traceback
Traceback (most recent call last):
File "/home/sanketshah/web2py/gluon/restricted.py", line 227, in restricted
except RestrictedError:
File "/home/sanketshah/web2py/applications/courier_portal/controllers/default.py", line 489, in <module>
File "/home/sanketshah/web2py/gluon/globals.py", line 412, in <lambda>
'Response.render can be called with two arguments, at most')
File "/home/sanketshah/web2py/applications/courier_portal/controllers/default.py", line 461, in login
session.token = CAS.login(request)
File "/home/sanketshah/web2py/applications/courier_portal/models/cas.py", line 37, in <lambda>
CAS.login=lambda r=request: _CAS_login(r)
File "/home/sanketshah/web2py/applications/courier_portal/models/cas.py", line 21, in _CAS_login
conn.endheaders()
File "/usr/lib/python2.7/httplib.py", line 975, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 835, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 797, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 1178, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
error: [Errno 111] Connection refused
Error snapshot help
<class 'socket.error'>([Errno 111] Connection refused)