{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/2dd8c2834521018128a1fe5fe10a096a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"2dd8c2834521018128a1fe5fe10a096a","url":"https://api.github.com/users/ksamuel","login":"ksamuel","id":221886},"milestone":null,"labels":[{"name":"bug","color":"e10c02","url":"https://api.github.com/repos/spiral-project/ihatemoney/labels/bug"}],"assignee":null,"updated_at":"2011-10-27T14:17:01Z","comments":3,"closed_at":null,"url":"https://api.github.com/repos/spiral-project/ihatemoney/issues/57","body":"http://ihatemoney.notmyidea.org/demo is currently crashing.\r\n\r\nIt also displays informations avbout the error instead of a user friendly \"500 error\" page; This could lead to a security hole:\r\n\r\nTraceback (most recent call last):\r\n  File \"/bundles/port-8729/app_image/epio_wsgi.py\", line 30, in __call__\r\n    output = wsgi_entrypoint(environ, self.start_response)\r\n  File \"/bundles/port-8729/app_image/pyenv/lib/python2.7/site-packages/flask/app.py\", line 1518, in __call__\r\n    return self.wsgi_app(environ, start_response)\r\n  File \"/bundles/port-8729/app_image/pyenv/lib/python2.7/site-packages/flask/app.py\", line 1506, in wsgi_app\r\n    response = self.make_response(self.handle_exception(e))\r\n  File \"/bundles/port-8729/app_image/pyenv/lib/python2.7/site-packages/flask/app.py\", line 1504, in wsgi_app\r\n    response = self.full_dispatch_request()\r\n  File \"/bundles/port-8729/app_image/pyenv/lib/python2.7/site-packages/flask/app.py\", line 1264, in full_dispatch_request\r\n    rv = self.handle_user_exception(e)\r\n  File \"/bundles/port-8729/app_image/pyenv/lib/python2.7/site-packages/flask/app.py\", line 1262, in full_dispatch_request\r\n    rv = self.dispatch_request()\r\n  File \"/bundles/port-8729/app_image/pyenv/lib/python2.7/site-packages/flask/app.py\", line 1248, in dispatch_request\r\n    return self.view_functions[rule.endpoint](**req.view_args)\r\n  File \"/mnt/bundles/port-8729/app_image/app/web.py\", line 203, in demo\r\n    project = Project.query.get(\"demo\")\r\n  File \"/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py\", line 595, in get\r\n    return self._get(key, ident)\r\n  File \"/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py\", line 1875, in _get\r\n    return q.one()\r\n  File \"/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py\", line 1561, in one\r\n    ret = list(self)\r\n  File \"/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py\", line 1604, in __iter__\r\n    return self._execute_and_instances(context)\r\n  File \"/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py\", line 1609, in _execute_and_instances\r\n    mapper=self._mapper_zero_or_none())\r\n  File \"/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py\", line 700, in execute\r\n    return self._connection_for_bind(engine, close_with_result=True).execute(\r\n  File \"/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py\", line 641, in _connection_for_bind\r\n    return self.transaction._connection_for_bind(engine)\r\n  File \"/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py\", line 318, in _connection_for_bind\r\n    conn = bind.contextual_connect()\r\n  File \"/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py\", line 1832, in contextual_connect\r\n    self.pool.connect(),\r\n  File \"/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py\", line 183, in connect\r\n    return _ConnectionFairy(self).checkout()\r\n  File \"/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py\", line 370, in __init__\r\n    rec = self._connection_record = pool.get()\r\n  File \"/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py\", line 214, in get\r\n    return self.do_get()\r\n  File \"/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py\", line 721, in do_get\r\n    (self.size(), self.overflow(), self._timeout))\r\nTimeoutError: QueuePool limit of size 5 overflow 10 reached, connection timed out, timeout 30\r\n","html_url":"https://github.com/spiral-project/ihatemoney/issues/57","title":"The demo site carshes and shows a Traceback","number":57,"id":2004352,"created_at":"2011-10-20T12:49:22Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/ad0a0e7ae76f0a9ee7396db38600620e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ad0a0e7ae76f0a9ee7396db38600620e","url":"https://api.github.com/users/ametaireau","login":"ametaireau","id":67073},"updated_at":"2011-10-27T14:17:01Z","url":"https://api.github.com/repos/spiral-project/ihatemoney/issues/comments/2543926","body":"Hi, thanks for the notice. This is not a bug on the software itself, but due to quotas on the ep.io platform (wow, this means there is some people using the soft right now, that's awesome!).\r\n\r\nAbout errors / exceptions etc. Sentry is a good idea, agreed, I will take a better look at it when I'll have some time.","id":2543926,"created_at":"2011-10-27T14:17:01Z"}}