spiral-project/ihatemoney — Issue #57: The demo site carshes and shows a Traceback
Author: ksamuel
Created: 2011-10-20 12:49:22+00:00
State: open

http://ihatemoney.notmyidea.org/demo is currently crashing.

It also displays informations avbout the error instead of a user friendly "500 error" page; This could lead to a security hole:

Traceback (most recent call last):
File "/bundles/port-8729/app_image/epio_wsgi.py", line 30, in __call__
output = wsgi_entrypoint(environ, self.start_response)
File "/bundles/port-8729/app_image/pyenv/lib/python2.7/site-packages/flask/app.py", line 1518, in __call__
return self.wsgi_app(environ, start_response)
File "/bundles/port-8729/app_image/pyenv/lib/python2.7/site-packages/flask/app.py", line 1506, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/bundles/port-8729/app_image/pyenv/lib/python2.7/site-packages/flask/app.py", line 1504, in wsgi_app
response = self.full_dispatch_request()
File "/bundles/port-8729/app_image/pyenv/lib/python2.7/site-packages/flask/app.py", line 1264, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/bundles/port-8729/app_image/pyenv/lib/python2.7/site-packages/flask/app.py", line 1262, in full_dispatch_request
rv = self.dispatch_request()
File "/bundles/port-8729/app_image/pyenv/lib/python2.7/site-packages/flask/app.py", line 1248, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/mnt/bundles/port-8729/app_image/app/web.py", line 203, in demo
project = Project.query.get("demo")
File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 595, in get
return self._get(key, ident)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 1875, in _get
return q.one()
File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 1561, in one
ret = list(self)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 1604, in __iter__
return self._execute_and_instances(context)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 1609, in _execute_and_instances
mapper=self._mapper_zero_or_none())
File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 700, in execute
return self._connection_for_bind(engine, close_with_result=True).execute(
File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 641, in _connection_for_bind
return self.transaction._connection_for_bind(engine)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 318, in _connection_for_bind
conn = bind.contextual_connect()
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1832, in contextual_connect
self.pool.connect(),
File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 183, in connect
return _ConnectionFairy(self).checkout()
File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 370, in __init__
rec = self._connection_record = pool.get()
File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 214, in get
return self.do_get()
File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 721, in do_get
(self.size(), self.overflow(), self._timeout))
TimeoutError: QueuePool limit of size 5 overflow 10 reached, connection timed out, timeout 30