<class 'socket.error'>
Python 2.7.1: /home/koala/virtualkc/bin/python
Thu May 5 08:36:23 2016

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/koala/virtualkc/lib/python2.7/site-packages/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object>)
    556         """Runs the handler, flushes the streams, and ends the request."""
    557         try:
=>  558             protocolStatus, appStatus = self.server.handler(self)
    559         except:
    560             traceback.print_exc(file=self.stderr)
protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object>, self.server = <flup.server.fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi.WSGIServer object>>
 /home/koala/virtualkc/lib/python2.7/site-packages/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi.WSGIServer object>, req=<flup.server.fcgi_base.Request object>)
   1116         try:
   1117             try:
=> 1118                 result = self.application(environ, start_response)
   1119                 try:
   1120                     for data in result:
result = None, self = <flup.server.fcgi.WSGIServer object>, self.application = <django.core.handlers.wsgi.WSGIHandler object>, environ = {u'CSRF_COOKIE': u'0T3ji9qkEhKlv6lsSuEkx2oyW4vZYUiI', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/koala/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en-gb,en;q=0.7,*;q=0.3', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.koalacredits.com', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', ...}, start_response = <function start_response>
 /home/koala/virtualkc/lib/python2.7/site-packages/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object>, environ={u'CSRF_COOKIE': u'0T3ji9qkEhKlv6lsSuEkx2oyW4vZYUiI', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/koala/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en-gb,en;q=0.7,*;q=0.3', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.koalacredits.com', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', ...}, start_response=<function start_response>)
    187             response = http.HttpResponseBadRequest()
    188         else:
=>  189             response = self.get_response(request)
    190 
    191         response._handler_class = self.__class__
response undefined, self = <django.core.handlers.wsgi.WSGIHandler object>, self.get_response = <bound method WSGIHandler.get_response of <django.core.handlers.wsgi.WSGIHandler object>>, request = <WSGIRequest: GET '/aion/aion-guide/aion-gladiator-leveling-secrets/'>
 /home/koala/virtualkc/lib/python2.7/site-packages/django/core/handlers/base.py in get_response(self=<django.core.handlers.wsgi.WSGIHandler object>, request=<WSGIRequest: GET '/aion/aion-guide/aion-gladiator-leveling-secrets/'>)
    216             # Get the exception info now, in case another exception is thrown later.
    217             signals.got_request_exception.send(sender=self.__class__, request=request)
=>  218             response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
    219 
    220         try:
response = None, self = <django.core.handlers.wsgi.WSGIHandler object>, self.handle_uncaught_exception = <bound method WSGIHandler.handle_uncaught_except...f <django.core.handlers.wsgi.WSGIHandler object>>, request = <WSGIRequest: GET '/aion/aion-guide/aion-gladiator-leveling-secrets/'>, resolver = <RegexURLResolver 'kk.urls' (None:None) ^/>, global sys = <module 'sys' (built-in)>, sys.exc_info = <built-in function exc_info>
 /home/koala/virtualkc/lib/python2.7/site-packages/django/core/handlers/base.py in handle_uncaught_exception(self=<django.core.handlers.wsgi.WSGIHandler object>, request=<WSGIRequest: GET '/aion/aion-guide/aion-gladiator-leveling-secrets/'>, resolver=<RegexURLResolver 'kk.urls' (None:None) ^/>, exc_info=(<class 'django.db.utils.OperationalError'>, OperationalError(1030, 'Got error 122 from storage engine'), <traceback object>))
    254             extra={
    255                 'status_code': 500,
=>  256                 'request': request
    257             }
    258         )
request = <WSGIRequest: GET '/aion/aion-guide/aion-gladiator-leveling-secrets/'>
 /opt/python2.7.1/lib/python2.7/logging/__init__.py in error(self=<logging.Logger object>, msg=u'Internal Server Error: %s', *args=(u'/aion/aion-guide/aion-gladiator-leveling-secrets/',), **kwargs={'exc_info': (<class 'django.db.utils.OperationalError'>, OperationalError(1030, 'Got error 122 from storage engine'), <traceback object>), 'extra': {u'request': <WSGIRequest: GET '/aion/aion-guide/aion-gladiator-leveling-secrets/'>, u'status_code': 500}})
   1156         """
   1157         if self.isEnabledFor(ERROR):
=> 1158             self._log(ERROR, msg, args, **kwargs)
   1159 
   1160     def exception(self, msg, *args):
self = <logging.Logger object>, self._log = <bound method Logger._log of <logging.Logger object>>, global ERROR = 40, msg = u'Internal Server Error: %s', args = (u'/aion/aion-guide/aion-gladiator-leveling-secrets/',), kwargs = {'exc_info': (<class 'django.db.utils.OperationalError'>, OperationalError(1030, 'Got error 122 from storage engine'), <traceback object>), 'extra': {u'request': <WSGIRequest: GET '/aion/aion-guide/aion-gladiator-leveling-secrets/'>, u'status_code': 500}}
 /opt/python2.7.1/lib/python2.7/logging/__init__.py in _log(self=<logging.Logger object>, level=40, msg=u'Internal Server Error: %s', args=(u'/aion/aion-guide/aion-gladiator-leveling-secrets/',), exc_info=(<class 'django.db.utils.OperationalError'>, OperationalError(1030, 'Got error 122 from storage engine'), <traceback object>), extra={u'request': <WSGIRequest: GET '/aion/aion-guide/aion-gladiator-leveling-secrets/'>, u'status_code': 500})
   1248                 exc_info = sys.exc_info()
   1249         record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra)
=> 1250         self.handle(record)
   1251 
   1252     def handle(self, record):
self = <logging.Logger object>, self.handle = <bound method Logger.handle of <logging.Logger object>>, record = <logging.LogRecord object>
 /opt/python2.7.1/lib/python2.7/logging/__init__.py in handle(self=<logging.Logger object>, record=<logging.LogRecord object>)
   1258         """
   1259         if (not self.disabled) and self.filter(record):
=> 1260             self.callHandlers(record)
   1261 
   1262     def addHandler(self, hdlr):
self = <logging.Logger object>, self.callHandlers = <bound method Logger.callHandlers of <logging.Logger object>>, record = <logging.LogRecord object>
 /opt/python2.7.1/lib/python2.7/logging/__init__.py in callHandlers(self=<logging.Logger object>, record=<logging.LogRecord object>)
   1298                 found = found + 1
   1299                 if record.levelno >= hdlr.level:
=> 1300                     hdlr.handle(record)
   1301             if not c.propagate:
   1302                 c = None    #break out
hdlr = <django.utils.log.AdminEmailHandler object>, hdlr.handle = <bound method AdminEmailHandler.handle of <django.utils.log.AdminEmailHandler object>>, record = <logging.LogRecord object>
 /opt/python2.7.1/lib/python2.7/logging/__init__.py in handle(self=<django.utils.log.AdminEmailHandler object>, record=<logging.LogRecord object>)
    742             self.acquire()
    743             try:
=>  744                 self.emit(record)
    745             finally:
    746                 self.release()
self = <django.utils.log.AdminEmailHandler object>, self.emit = <bound method AdminEmailHandler.emit of <django.utils.log.AdminEmailHandler object>>, record = <logging.LogRecord object>
 /home/koala/virtualkc/lib/python2.7/site-packages/django/utils/log.py in emit(self=<django.utils.log.AdminEmailHandler object>, record=<logging.LogRecord object>)
    127         reporter = ExceptionReporter(request, is_email=True, *exc_info)
    128         html_message = reporter.get_traceback_html() if self.include_html else None
=>  129         self.send_mail(subject, message, fail_silently=True, html_message=html_message)
    130 
    131     def send_mail(self, subject, message, *args, **kwargs):
self = <django.utils.log.AdminEmailHandler object>, self.send_mail = <bound method AdminEmailHandler.send_mail of <django.utils.log.AdminEmailHandler object>>, subject = u'ERROR (EXTERNAL IP): Internal Server Error: /aion/aion-guide/aion-gladiator-leveling-secrets/', message = u"Internal Server Error: /aion/aion-guide/aion-gla...gi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>", fail_silently undefined, builtin True = True, html_message = None
 /home/koala/virtualkc/lib/python2.7/site-packages/django/utils/log.py in send_mail(self=<django.utils.log.AdminEmailHandler object>, subject=u'ERROR (EXTERNAL IP): Internal Server Error: /aion/aion-guide/aion-gladiator-leveling-secrets/', message=u"Internal Server Error: /aion/aion-guide/aion-gla...gi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>", *args=(), **kwargs={'fail_silently': True, 'html_message': None})
    130 
    131     def send_mail(self, subject, message, *args, **kwargs):
=>  132         mail.mail_admins(subject, message, *args, connection=self.connection(), **kwargs)
    133 
    134     def connection(self):
global mail = <module 'django.core.mail' from '/home/koala/vir...2.7/site-packages/django/core/mail/__init__.pyc'>, mail.mail_admins = <function mail_admins>, subject = u'ERROR (EXTERNAL IP): Internal Server Error: /aion/aion-guide/aion-gladiator-leveling-secrets/', message = u"Internal Server Error: /aion/aion-guide/aion-gla...gi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>", args = (), connection undefined, self = <django.utils.log.AdminEmailHandler object>, self.connection = <bound method AdminEmailHandler.connection of <django.utils.log.AdminEmailHandler object>>, kwargs = {'fail_silently': True, 'html_message': None}
 /home/koala/virtualkc/lib/python2.7/site-packages/django/core/mail/__init__.py in mail_admins(subject=u'ERROR (EXTERNAL IP): Internal Server Error: /aion/aion-guide/aion-gladiator-leveling-secrets/', message=u"Internal Server Error: /aion/aion-guide/aion-gla...gi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>", fail_silently=True, connection=<django.core.mail.backends.smtp.EmailBackend object>, html_message=None)
     96     if html_message:
     97         mail.attach_alternative(html_message, 'text/html')
=>   98     mail.send(fail_silently=fail_silently)
     99 
    100 
mail = <django.core.mail.message.EmailMultiAlternatives object>, mail.send = <bound method EmailMultiAlternatives.send of <dj...core.mail.message.EmailMultiAlternatives object>>, fail_silently = True
 /home/koala/virtualkc/lib/python2.7/site-packages/django/core/mail/message.py in send(self=<django.core.mail.message.EmailMultiAlternatives object>, fail_silently=True)
    301             # send to.
    302             return 0
=>  303         return self.get_connection(fail_silently).send_messages([self])
    304 
    305     def attach(self, filename=None, content=None, mimetype=None):
self = <django.core.mail.message.EmailMultiAlternatives object>, self.get_connection = <bound method EmailMultiAlternatives.get_connect...core.mail.message.EmailMultiAlternatives object>>, fail_silently = True, ).send_messages undefined
 /home/koala/virtualkc/lib/python2.7/site-packages/django/core/mail/backends/smtp.py in send_messages(self=<django.core.mail.backends.smtp.EmailBackend object>, email_messages=[<django.core.mail.message.EmailMultiAlternatives object>])
     98             return
     99         with self._lock:
=>  100             new_conn_created = self.open()
    101             if not self.connection:
    102                 # We failed silently on open().
new_conn_created undefined, self = <django.core.mail.backends.smtp.EmailBackend object>, self.open = <bound method EmailBackend.open of <django.core.mail.backends.smtp.EmailBackend object>>
 /home/koala/virtualkc/lib/python2.7/site-packages/django/core/mail/backends/smtp.py in open(self=<django.core.mail.backends.smtp.EmailBackend object>)
     56             })
     57         try:
=>   58             self.connection = connection_class(self.host, self.port, **connection_params)
     59 
     60             # TLS/SSL are mutually exclusive, so only attempt TLS over
self = <django.core.mail.backends.smtp.EmailBackend object>, self.connection = None, connection_class = <class smtplib.SMTP>, self.host = 'localhost', self.port = 25, connection_params = {'local_hostname': 'koa.koalacredits.com'}
 /opt/python2.7.1/lib/python2.7/smtplib.py in __init__(self=<smtplib.SMTP instance>, host='localhost', port=25, local_hostname='koa.koalacredits.com', timeout=<object object>)
    237         self.default_port = SMTP_PORT
    238         if host:
=>  239             (code, msg) = self.connect(host, port)
    240             if code != 220:
    241                 raise SMTPConnectError(code, msg)
code undefined, msg undefined, self = <smtplib.SMTP instance>, self.connect = <bound method SMTP.connect of <smtplib.SMTP instance>>, host = 'localhost', port = 25
 /opt/python2.7.1/lib/python2.7/smtplib.py in connect(self=<smtplib.SMTP instance>, host='localhost', port=25)
    293         if not port: port = self.default_port
    294         if self.debuglevel > 0: print>>stderr, 'connect:', (host, port)
=>  295         self.sock = self._get_socket(host, port, self.timeout)
    296         (code, msg) = self.getreply()
    297         if self.debuglevel > 0: print>>stderr, "connect:", msg
self = <smtplib.SMTP instance>, self.sock undefined, self._get_socket = <bound method SMTP._get_socket of <smtplib.SMTP instance>>, host = 'localhost', port = 25, self.timeout = <object object>
 /opt/python2.7.1/lib/python2.7/smtplib.py in _get_socket(self=<smtplib.SMTP instance>, port='localhost', host=25, timeout=<object object>)
    271         # and just alter the socket connection bit.
    272         if self.debuglevel > 0: print>>stderr, 'connect:', (host, port)
=>  273         return socket.create_connection((port, host), timeout)
    274 
    275     def connect(self, host='localhost', port = 0):
global socket = <module 'socket' from '/opt/python2.7.1/lib/python2.7/socket.pyc'>, socket.create_connection = <function create_connection>, port = 'localhost', host = 25, timeout = <object object>
 /opt/python2.7.1/lib/python2.7/socket.py in create_connection(address=('localhost', 25), timeout=<object object>, source_address=None)
    569 
    570     if err is not None:
=>  571         raise err
    572     else:
    573         raise error("getaddrinfo returns an empty list")
err = error(111, 'Connection refused')

<class 'socket.error'>: [Errno 111] Connection refused
      args = (111, 'Connection refused')
      errno = 111
      filename = None
      message = ''
      strerror = 'Connection refused'