Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sqlalchemy.exc.TimeoutError
- sqlalchemy.exc.TimeoutError: QueuePool limit of size 5 overflow 10 reached, connection timed out, timeout 30 (Background on this error at: http://sqlalche.me/e/3o7r)
- Traceback (most recent call last)
- File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2463, in __call__
- return self.wsgi_app(environ, start_response)
- File "/usr/local/lib/python3.6/site-packages/werkzeug/middleware/proxy_fix.py", line 228, in __call__
- return self.app(environ, start_response)
- File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2449, in wsgi_app
- response = self.handle_exception(e)
- File "/usr/local/lib/python3.6/site-packages/flask_cors/extension.py", line 161, in wrapped_function
- return cors_after_request(app.make_response(f(*args, **kwargs)))
- File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1866, in handle_exception
- reraise(exc_type, exc_value, tb)
- File "/usr/local/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
- raise value
- File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2446, in wsgi_app
- response = self.full_dispatch_request()
- File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1951, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/usr/local/lib/python3.6/site-packages/flask_cors/extension.py", line 161, in wrapped_function
- return cors_after_request(app.make_response(f(*args, **kwargs)))
- File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1820, in handle_user_exception
- reraise(exc_type, exc_value, tb)
- File "/usr/local/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
- raise value
- File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1949, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1935, in dispatch_request
- return self.view_functions[rule.endpoint](**req.view_args)
- File "/usr/local/lib/python3.6/site-packages/flask_dance/consumer/oauth2.py", line 271, in authorized
- results = oauth_authorized.send(self, token=token) or []
- File "/usr/local/lib/python3.6/site-packages/blinker/base.py", line 267, in send
- for receiver in self.receivers_for(sender)]
- File "/usr/local/lib/python3.6/site-packages/blinker/base.py", line 267, in <listcomp>
- for receiver in self.receivers_for(sender)]
- File "/home/umbrella/app/oauth/facebook.py", line 34, in facebook_logged_in
- oauth = query.one()
- File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 3288, in one
- ret = self.one_or_none()
- File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 3257, in one_or_none
- ret = list(self)
- File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 3330, in __iter__
- return self._execute_and_instances(context)
- File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 3352, in _execute_and_instances
- querycontext, self._connection_from_session, close_with_result=True
- File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 3367, in _get_bind_args
- mapper=self._bind_mapper(), clause=querycontext.statement, **kw
- File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 3345, in _connection_from_session
- conn = self.session.connection(**kw)
- File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 1124, in connection
- execution_options=execution_options,
- File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 1130, in _connection_for_bind
- engine, execution_options
- File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 431, in _connection_for_bind
- conn = bind._contextual_connect()
- File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2229, in _contextual_connect
- self._wrap_pool_connect(self.pool.connect, None),
- File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2265, in _wrap_pool_connect
- return fn()
- File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 363, in connect
- return _ConnectionFairy._checkout(self)
- File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 760, in _checkout
- fairy = _ConnectionRecord.checkout(pool)
- File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 492, in checkout
- rec = pool._do_get()
- File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool/impl.py", line 131, in _do_get
- code="3o7r",
- sqlalchemy.exc.TimeoutError: QueuePool limit of size 5 overflow 10 reached, connection timed out, timeout 30 (Background on this error at: http://sqlalche.me/e/3o7r)
- The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
- To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.
- You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:
- dump() shows all variables in the frame
- dump(obj) dumps all that's known about the object
- Brought to you by DON'T PANIC, your friendly Werkzeug powered traceback interpreter.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement