[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

WebApp Error: <class 'psycopg2.OperationalError'>: could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5433? could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5433?



URL: http://snapshot.debian.org/archive/debian/20110303T085659Z/pool/main/libt/libtext-wrapi18n-perl/libtext-wrapi18n-perl_0.06-7_all.deb
Module weberror.errormiddleware:162 in __call__
>>  app_iter = self.application(environ, sr_checker)
Module beaker.middleware:73 in __call__
>>  return self.app(environ, start_response)
Module beaker.middleware:152 in __call__
>>  return self.wrap_app(environ, session_start_response)
Module routes.middleware:130 in __call__
>>  response = self.app(environ, start_response)
Module pylons.wsgiapp:125 in __call__
>>  response = self.dispatch(controller, environ, start_response)
Module pylons.wsgiapp:324 in dispatch
>>  return controller(environ, start_response)
Module snapshot.lib.base:15 in __call__
>>  return WSGIController.__call__(self, environ, start_response)
Module pylons.controllers.core:221 in __call__
>>  response = self._dispatch_call()
Module pylons.controllers.core:172 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:60 in _perform_call
>>  return func(**args)
Module snapshot.controllers.archive:251 in dir
>>  run = g.shm.mirrorruns_get_mirrorrun_at(self._db(), archive, date)
Module snapshot.controllers.archive:75 in _db
>>  self.db = DBInstance(g.pool)
Module snapshot.lib.dbinstance:28 in __init__
>>  self.conn = pool.getconn()
Module psycopg2.pool:168 in getconn
>>  return self._getconn(key)
Module psycopg2.pool:108 in _getconn
>>  return self._connect(key)
Module psycopg2.pool:80 in _connect
>>  conn = psycopg2.connect(*self._args, **self._kwargs)
OperationalError: could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5433? could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5433?
CGI Variables
DOCUMENT_ROOT '/htdocs'
GATEWAY_INTERFACE 'CGI/1.1'
HTTP_ACCEPT '*/*'
HTTP_HOST 'snapshot.debian.org'
HTTP_USER_AGENT 'Wget/1.12 (linux-gnu)'
HTTP_X_FORWARDED_FOR '76.219.104.52'
HTTP_X_VARNISH '481709667'
PATH '/usr/local/bin:/usr/bin:/bin'
PATH_INFO '/archive/debian/20110303T085659Z/pool/main/libt/libtext-wrapi18n-perl/libtext-wrapi18n-perl_0.06-7_all.deb'
PATH_TRANSLATED '/srv/snapshot.debian.org/bin/snapshot.wsgi/archive/debian/20110303T085659Z/pool/main/libt/libtext-wrapi18n-perl/libtext-wrapi18n-perl_0.06-7_all.deb'
REMOTE_ADDR '127.0.0.1'
REMOTE_PORT '45841'
REQUEST_METHOD 'GET'
REQUEST_URI '/archive/debian/20110303T085659Z/pool/main/libt/libtext-wrapi18n-perl/libtext-wrapi18n-perl_0.06-7_all.deb'
SCRIPT_FILENAME '/srv/snapshot.debian.org/bin/snapshot.wsgi'
SCRIPT_URI 'http://snapshot.debian.org/archive/debian/20110303T085659Z/pool/main/libt/libtext-wrapi18n-perl/libtext-wrapi18n-perl_0.06-7_all.deb'
SCRIPT_URL '/archive/debian/20110303T085659Z/pool/main/libt/libtext-wrapi18n-perl/libtext-wrapi18n-perl_0.06-7_all.deb'
SERVER_ADDR '127.0.0.1'
SERVER_ADMIN 'team@snapshot.debian.org'
SERVER_NAME 'snapshot.debian.org'
SERVER_PORT '80'
SERVER_PROTOCOL 'HTTP/1.1'
SERVER_SIGNATURE '<address>Apache Server at snapshot.debian.org Port 80</address>\n'
SERVER_SOFTWARE 'Apache'
WSGI Variables
application <beaker.middleware.CacheMiddleware object at 0x33b40d0>
beaker.cache <beaker.cache.CacheManager object at 0x33b4110>
beaker.get_session <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x33b4090>>
beaker.session {'_accessed_time': 1300052817.0225091, '_creation_time': 1300052817.0225091}
mod_wsgi.application_group 'snapshot.debian.org|'
mod_wsgi.callable_object 'application'
mod_wsgi.listener_host ''
mod_wsgi.listener_port '80'
mod_wsgi.process_group 'snapshot.debian.org'
mod_wsgi.reload_mechanism '1'
mod_wsgi.script_reloading '1'
mod_wsgi.version (2, 5)
paste.registry <paste.registry.Registry object at 0x3456dd0>
paste.throw_errors True
pylons.action_method <bound method ArchiveController.dir of <snapshot.controllers.archive.ArchiveController object at 0x3458490>>
pylons.controller <snapshot.controllers.archive.ArchiveController object at 0x3458490>
pylons.environ_config {'session': 'beaker.session', 'cache': 'beaker.cache'}
pylons.pylons <pylons.util.PylonsContext object at 0x3458910>
pylons.routes_dict {'date': u'20110303T085659Z', 'url': u'pool/main/libt/libtext-wrapi18n-perl/libtext-wrapi18n-perl_0.06-7_all.deb', 'controller': u'archive', 'archive': u'debian', 'action': u'dir'}
routes.route <routes.route.Route object at 0x33a68d0>
routes.url <routes.util.URLGenerator object at 0x3458e50>
webob.adhoc_attrs {'language': 'en-us'}
wsgi process 'Multi process AND threads (?)'
wsgi.file_wrapper <built-in method file_wrapper of mod_wsgi.Adapter object at 0x3b08a08>
wsgiorg.routing_args (<routes.util.URLGenerator object at 0x3458e50>, {'date': u'20110303T085659Z', 'url': u'pool/main/libt/libtext-wrapi18n-perl/libtext-wrapi18n-perl_0.06-7_all.deb', 'controller': u'archive', 'archive': u'debian', 'action': u'dir'})

Reply to: