fluxlabs / baruwa

Installers & Additions to Baruwa 2.0 (Community Edition)
http://www.baruwa-install.com
11 stars 8 forks source link

WebApp Error: <type 'exceptions.IOError'>: Socket closed #26

Closed extremeshok closed 10 years ago

extremeshok commented 10 years ago

URL: http://fltr.extremeshok.com/accounts/loggedin?came_from=%2F
Module weberror.errormiddleware:162 in __call__
>>  app_iter = self.application(environ, sr_checker)
Module repoze.who.middleware:107 in __call__
>>  app_iter = app(environ, wrapper.wrap_start_response)
Module beaker.middleware:155 in __call__
>>  return self.wrap_app(environ, session_start_response)
Module routes.middleware:131 in __call__
>>  response = self.app(environ, start_response)
Module pylons.wsgiapp:103 in __call__
>>  response = self.dispatch(controller, environ, start_response)
Module pylons.wsgiapp:313 in dispatch
>>  return controller(environ, start_response)
Module baruwa.lib.base:93 in __call__
>>  return WSGIController.__call__(self, environ, start_response)
Module pylons.controllers.core:214 in __call__
>>  response = self._dispatch_call()
Module pylons.controllers.core:164 in _dispatch_call
>>  response = self._inspect_call(func)
Module pylons.controllers.core:107 in _inspect_call
>>  result = self._perform_call(func, args)
Module pylons.controllers.core:57 in _perform_call
>>  return func(**args)
Module baruwa.controllers.accounts:292 in loggedin
>>  request.remote_addr, now())
Module baruwa.lib.audit:32 in audit_log
>>  timestamp,
Module celery.app.task:474 in apply_async
>>  **options)
Module celery.app.amqp:250 in publish_task
>>  **kwargs
Module kombu.messaging:164 in publish
>>  routing_key, mandatory, immediate, exchange, declare)
Module kombu.connection:470 in _ensured
>>  interval_max)
Module kombu.connection:396 in ensure_connection
>>  interval_start, interval_step, interval_max, callback)
Module kombu.utils:217 in retry_over_time
>>  return fun(*args, **kwargs)
Module kombu.connection:246 in connect
>>  return self.connection
Module kombu.connection:761 in connection
>>  self._connection = self._establish_connection()
Module kombu.connection:720 in _establish_connection
>>  conn = self.transport.establish_connection()
Module kombu.transport.pyamqp:115 in establish_connection
>>  conn = self.Connection(**opts)
Module amqp.connection:151 in __init__
>>  (10, 30), # tune
Module amqp.abstract_channel:69 in wait
>>  self.channel_id, allowed_methods)
Module amqp.connection:204 in _wait_method
>>  self.method_reader.read_method()
Module amqp.method_framing:192 in read_method
>>  raise m
IOError: Socket closed
CGI Variables
AUTH_TYPE   'cookie'
DOCUMENT_ROOT   '/var/www/html'
GATEWAY_INTERFACE   'CGI/1.1'
HTTP_ACCEPT     'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
HTTP_ACCEPT_ENCODING    'gzip,deflate,lzma,gzip'
HTTP_ACCEPT_LANGUAGE    'en-US,en;q=0.8'
HTTP_CACHE_CONTROL  'max-age=0'
HTTP_CONNECTION     'keep-alive'
HTTP_COOKIE     'wordpress_logged_in_b8dc7df593778a688c0c87feb1d354c2=admin%7C1394231832%7C28bd81bd5e73d46ec89d2573644b4476; baruwa=701a4f62507a59bcf15f73e475e63301e9701dcc3bcb848bba174115a2e8b6a7727f21de; baruwaauth="64c466f52207bbdbcb9e09d3384984ce53174691admin!<repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at 0x7f2da65e0d90>,!userid_type:unicode"; baruwaauth="64c466f52207bbdbcb9e09d3384984ce53174691admin!<repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at 0x7f2da65e0d90>,!userid_type:unicode"'
HTTP_HOST   'fltr.extremeshok.com'
HTTP_REFERER    'http://fltr.extremeshok.com/accounts/login?came_from=http%3A%2F%2Ffltr.extremeshok.com%2F'
HTTP_USER_AGENT     'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1825.4 Safari/537.36 OPR/21.0.1419.0 (Edition Developer)'
PATH_INFO   '/accounts/loggedin'
PATH_TRANSLATED     '/home/baruwa/px/lib/python2.6/site-packages/baruwa/baruwa.wsgi/accounts/loggedin'
QUERY_STRING    'came_from=%2F'
REMOTE_ADDR     '196.209.222.230'
REMOTE_PORT     '59890'
REMOTE_USER     u'admin'
REMOTE_USER_DATA    'userid_type:unicode'
REMOTE_USER_TOKENS  ['<repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at 0x7f2da65e0d90>', '']
REQUEST_METHOD  'GET'
REQUEST_URI     '/accounts/loggedin?__logins=0&came_from=%2F'
SCRIPT_FILENAME     '/home/baruwa/px/lib/python2.6/site-packages/baruwa/baruwa.wsgi'
SERVER_ADDR     '188.164.131.51'
SERVER_ADMIN    'root@localhost'
SERVER_NAME     'fltr.extremeshok.com'
SERVER_PORT     '80'
SERVER_PROTOCOL     'HTTP/1.1'
SERVER_SIGNATURE    '<address>Apache/2.2.26 (CentOS) Server at fltr.extremeshok.com Port 80</address>\n'
SERVER_SOFTWARE     'Apache/2.2.26 (CentOS)'
WSGI Variables
application     <baruwa.lib.auth.middleware.BaruwaPAM object at 0x7f2da65dae50>
beaker.get_session  <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7f2da65dad90>>
beaker.session  {'taskids': [], '_accessed_time': 1394034321.69187, u'csrf': 'f02965128d345e5ce1d31a872d4e92fecb166900', '_creation_time': 1394034308.0505469}
mod_ssl.is_https    <built-in method ssl_is_https of mod_wsgi.Adapter object at 0x7f2da7cb0b70>
mod_ssl.var_lookup  <built-in method ssl_var_lookup of mod_wsgi.Adapter object at 0x7f2da7cb0b70>
mod_wsgi.application_group  'fltr.extremeshok.com|'
mod_wsgi.callable_object    'application'
mod_wsgi.handler_script     ''
mod_wsgi.input_chunked  '0'
mod_wsgi.listener_host  ''
mod_wsgi.listener_port  '80'
mod_wsgi.process_group  ''
mod_wsgi.request_handler    'wsgi-script'
mod_wsgi.script_reloading   '1'
mod_wsgi.version    (3, 2)
paste.cookies   (<SimpleCookie: baruwa='701a4f62507a59bcf15f73e475e63301e9701dcc3bcb848bba174115a2e8b6a7727f21de' baruwaauth='64c466f52207bbdbcb9e09d3384984ce53174691admin!<repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at 0x7f2da65e0d90>,!userid_type:unicode' wordpress_logged_in_b8dc7df593778a688c0c87feb1d354c2='admin%7C1394231832%7C28bd81bd5e73d46ec89d2573644b4476'>, 'wordpress_logged_in_b8dc7df593778a688c0c87feb1d354c2=admin%7C1394231832%7C28bd81bd5e73d46ec89d2573644b4476; baruwa=701a4f62507a59bcf15f73e475e63301e9701dcc3bcb848bba174115a2e8b6a7727f21de; baruwaauth="64c466f52207bbdbcb9e09d3384984ce53174691admin!<repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at 0x7f2da65e0d90>,!userid_type:unicode"; baruwaauth="64c466f52207bbdbcb9e09d3384984ce53174691admin!<repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at 0x7f2da65e0d90>,!userid_type:unicode"')
paste.parsed_dict_querystring   (MultiDict([('__logins', '0'), ('came_from', '/')]), '__logins=0&came_from=%2F')
paste.parsed_querystring    ([('came_from', '/')], 'came_from=%2F')
paste.registry  <paste.registry.Registry object at 0x7f2da7cb1850>
paste.throw_errors  True
pylons.action_method    <bound method AccountsController.loggedin of <baruwa.controllers.accounts.AccountsController object at 0x7f2da7f20310>>
pylons.controller   <baruwa.controllers.accounts.AccountsController object at 0x7f2da7f20310>
pylons.environ_config   {'session': 'beaker.session', 'cache': 'beaker.cache'}
pylons.log_debug    False
pylons.pylons   <pylons.util.PylonsContext object at 0x7f2da7e10ad0>
pylons.routes_dict  {'action': u'loggedin', 'controller': u'accounts', 'format': None}
repoze.what.adapters    {'groups': {}, 'permissions': {}}
repoze.what.credentials     {'repoze.what.userid': u'admin', 'groups': (), 'permissions': ()}
repoze.who.identity     <repoze.who identity (hidden, dict-like) at 139834065683584>
repoze.who.logger   None
repoze.who.logins   0
repoze.who.plugins  {'authorization_md': <repoze.what.middleware.AuthorizationMetadata object at 0x7f2da65dae10>, 'form': <FriendlyFormPlugin 139834042149968>, 'baruwa_pop3_auth': <baruwa.lib.auth.pop3auth.BaruwaPOPAuthPlugin object at 0x7f2da6684d50>, 'baruwa_smtp_auth': <baruwa.lib.auth.smtpauth.BaruwaSMTPAuthPlugin object at 0x7f2da6663a10>, 'baruwa_radius_auth': <baruwa.lib.auth.radiusauth.BaruwaRadiusAuthPlugin object at 0x7f2da65e6c50>, 'sa_auth': <repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at 0x7f2da65e1d90>, 'auth_tkt': <AuthTktCookiePlugin 139834041973328>, 'baruwa_imap_auth': <baruwa.lib.auth.imapauth.BaruwaIMAPAuthPlugin object at 0x7f2da6663b50>, 'sa_md': <repoze.who.plugins.sa.SQLAlchemyUserMDPlugin object at 0x7f2da6684d10>, 'baruwa_ldap_auth': <BaruwaLDAPAuthPlugin 139834042109072>}
routes.route    <routes.route.Route object at 0x7f2da64dabd0>
routes.url  <routes.util.URLGenerator object at 0x7f2da7cb1a50>
webob._parsed_query_vars    (GET([(u'came_from', u'/')]), 'came_from=%2F')
wsgi process    'Multiprocess'
wsgi.file_wrapper   <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f2da7cb0b70>
wsgi.version    (1, 1)
wsgiorg.routing_args    (<routes.util.URLGenerator object at 0x7f2da7cb1a50>, {'action': u'loggedin', 'controller': u'accounts', 'format': None})
extremeshok commented 10 years ago

this was caused by a failed rabbitmq install.