erver_1 | [2019-03-13 05:40:53,080] ERROR in app: Exception on /login [GET]
server_1 | Traceback (most recent call last):
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1988, in wsgi_app
server_1 | response = self.full_dispatch_request()
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1641, in full_dispatch_request
server_1 | rv = self.handle_user_exception(e)
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask_restful/init.py”, line 271, in error_router
server_1 | return original_handler(e)
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1544, in handle_user_exception
server_1 | reraise(exc_type, exc_value, tb)
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1639, in full_dispatch_request
server_1 | rv = self.dispatch_request()
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1625, in dispatch_request
server_1 | return self.view_functionsrule.endpoint
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask_limiter/extension.py”, line 442, in __inner
server_1 | return obj(*a, **k)
server_1 | File “/app/redash/handlers/authentication.py”, line 104, in login
server_1 | if current_org == None and not settings.MULTI_ORG:
server_1 | File “/usr/local/lib/python2.7/dist-packages/werkzeug/local.py”, line 365, in
server_1 | eq = lambda x, o: x._get_current_object() == o
server_1 | File “/usr/local/lib/python2.7/dist-packages/werkzeug/local.py”, line 302, in _get_current_object
server_1 | return self.__local()
server_1 | File “/app/redash/authentication/org_resolving.py”, line 14, in _get_current_org
server_1 | g.org = Organization.get_by_slug(slug)
server_1 | File “/app/redash/models.py”, line 325, in get_by_slug
server_1 | return cls.query.filter(cls.slug == slug).first()
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py”, line 2825, in first
server_1 | ret = list(self[0:1])
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py”, line 2617, in getitem
server_1 | return list(res)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py”, line 2925, in iter
server_1 | return self._execute_and_instances(context)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py”, line 2948, in _execute_and_instances
server_1 | result = conn.execute(querycontext.statement, self._params)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 948, in execute
server_1 | return meth(self, multiparams, params)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/elements.py”, line 269, in _execute_on_connection
server_1 | return connection._execute_clauseelement(self, multiparams, params)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 1060, in _execute_clauseelement
server_1 | compiled_sql, distilled_params
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 1200, in _execute_context
server_1 | context)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 1413, in _handle_dbapi_exception
server_1 | exc_info
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/compat.py”, line 203, in raise_from_cause
server_1 | reraise(type(exception), exception, tb=exc_tb, cause=cause)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 1193, in _execute_context
server_1 | context)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py”, line 507, in do_execute
server_1 | cursor.execute(statement, parameters)
server_1 | OperationalError: (psycopg2.OperationalError) server closed the connection unexpectedly
server_1 | This probably means the server terminated abnormally
server_1 | before or while processing the request.
server_1 | [SQL: ‘SELECT organizations.updated_at AS organizations_updated_at, organizations.created_at AS organizations_created_at, organizations.id AS organizations_id, organizations.name AS organizations_name, organizations.slug AS organizations_slug, organizations.settings AS organizations_settings \nFROM organizations \nWHERE organizations.slug = %(slug_1)s \n LIMIT %(param_1)s’] [parameters: {‘slug_1’: ‘default’, ‘param_1’: 1}] (Background on this error at: http://sqlalche.me/e/e3q8)
server_1 | [2019-03-13 05:40:53,080][PID:13][ERROR][redash] Exception on /login [GET]
server_1 | Traceback (most recent call last):
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1988, in wsgi_app
server_1 | response = self.full_dispatch_request()
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1641, in full_dispatch_request
server_1 | rv = self.handle_user_exception(e)
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask_restful/init.py”, line 271, in error_router
server_1 | return original_handler(e)
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1544, in handle_user_exception
server_1 | reraise(exc_type, exc_value, tb)
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1639, in full_dispatch_request
server_1 | rv = self.dispatch_request()
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1625, in dispatch_request
server_1 | return self.view_functionsrule.endpoint
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask_limiter/extension.py”, line 442, in __inner
server_1 | return obj(*a, **k)
server_1 | File “/app/redash/handlers/authentication.py”, line 104, in login
server_1 | if current_org == None and not settings.MULTI_ORG:
server_1 | File “/usr/local/lib/python2.7/dist-packages/werkzeug/local.py”, line 365, in
server_1 | eq = lambda x, o: x._get_current_object() == o
server_1 | File “/usr/local/lib/python2.7/dist-packages/werkzeug/local.py”, line 302, in _get_current_object
server_1 | return self.__local()
server_1 | File “/app/redash/authentication/org_resolving.py”, line 14, in _get_current_org
server_1 | g.org = Organization.get_by_slug(slug)
server_1 | File “/app/redash/models.py”, line 325, in get_by_slug
server_1 | return cls.query.filter(cls.slug == slug).first()
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py”, line 2825, in first
server_1 | ret = list(self[0:1])
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py”, line 2617, in getitem
server_1 | return list(res)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py”, line 2925, in iter
server_1 | return self._execute_and_instances(context)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py”, line 2948, in _execute_and_instances
server_1 | result = conn.execute(querycontext.statement, self._params)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 948, in execute
server_1 | return meth(self, multiparams, params)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/elements.py”, line 269, in _execute_on_connection
server_1 | return connection._execute_clauseelement(self, multiparams, params)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 1060, in _execute_clauseelement
server_1 | compiled_sql, distilled_params
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 1200, in _execute_context
server_1 | context)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 1413, in _handle_dbapi_exception
server_1 | exc_info
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/compat.py”, line 203, in raise_from_cause
server_1 | reraise(type(exception), exception, tb=exc_tb, cause=cause)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 1193, in _execute_context
server_1 | context)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py”, line 507, in do_execute
server_1 | cursor.execute(statement, parameters)
server_1 | OperationalError: (psycopg2.OperationalError) server closed the connection unexpectedly
server_1 | This probably means the server terminated abnormally
server_1 | before or while processing the request.
server_1 | [SQL: ‘SELECT organizations.updated_at AS organizations_updated_at, organizations.created_at AS organizations_created_at, organizations.id AS organizations_id, organizations.name AS organizations_name, organizations.slug AS organizations_slug, organizations.settings AS organizations_settings \nFROM organizations \nWHERE organizations.slug = %(slug_1)s \n LIMIT %(param_1)s’] [parameters: {‘slug_1’: ‘default’, ‘param_1’: 1}] (Background on this error at: http://sqlalche.me/e/e3q8)
server_1 | [2019-03-13 05:40:53,092][PID:13][INFO][metrics] method=GET path=/login endpoint=redash_login status=500 content_type=? content_length=-1 duration=17.29 query_count=0 query_duration=0.00
server_1 | [2019-03-13 05:40:53,666] ERROR in app: Exception on /favicon.ico [GET]
server_1 | Traceback (most recent call last):
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1988, in wsgi_app
server_1 | response = self.full_dispatch_request()
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1641, in full_dispatch_request
server_1 | rv = self.handle_user_exception(e)
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask_restful/init.py”, line 271, in error_router
server_1 | return original_handler(e)
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1544, in handle_user_exception
server_1 | reraise(exc_type, exc_value, tb)
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1639, in full_dispatch_request
server_1 | rv = self.dispatch_request()
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1625, in dispatch_request
server_1 | return self.view_functionsrule.endpoint
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask_login/utils.py”, line 226, in decorated_view
server_1 | elif not current_user.is_authenticated:
server_1 | File “/usr/local/lib/python2.7/dist-packages/werkzeug/local.py”, line 343, in getattr
server_1 | return getattr(self._get_current_object(), name)
server_1 | File “/usr/local/lib/python2.7/dist-packages/werkzeug/local.py”, line 302, in _get_current_object
server_1 | return self.__local()
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask_login/utils.py”, line 26, in
server_1 | current_user = LocalProxy(lambda: _get_user())
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask_login/utils.py”, line 302, in _get_user
server_1 | current_app.login_manager._load_user()
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask_login/login_manager.py”, line 317, in _load_user
server_1 | return self.reload_user()
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask_login/login_manager.py”, line 279, in reload_user
server_1 | user = self.user_callback(user_id)
server_1 | File “/app/redash/authentication/init.py”, line 44, in load_user
server_1 | org = current_org._get_current_object()
server_1 | File “/usr/local/lib/python2.7/dist-packages/werkzeug/local.py”, line 302, in _get_current_object
server_1 | return self.__local()
server_1 | File “/app/redash/authentication/org_resolving.py”, line 14, in _get_current_org
server_1 | g.org = Organization.get_by_slug(slug)
server_1 | File “/app/redash/models.py”, line 325, in get_by_slug
server_1 | return cls.query.filter(cls.slug == slug).first()
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py”, line 2825, in first
server_1 | ret = list(self[0:1])
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py”, line 2617, in getitem
server_1 | return list(res)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py”, line 2925, in iter
server_1 | return self._execute_and_instances(context)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py”, line 2948, in _execute_and_instances
server_1 | result = conn.execute(querycontext.statement, self._params)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 948, in execute
server_1 | return meth(self, multiparams, params)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/elements.py”, line 269, in _execute_on_connection
server_1 | return connection._execute_clauseelement(self, multiparams, params)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 1060, in _execute_clauseelement
server_1 | compiled_sql, distilled_params
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 1200, in _execute_context
server_1 | context)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 1413, in _handle_dbapi_exception
server_1 | exc_info
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/compat.py”, line 203, in raise_from_cause
server_1 | reraise(type(exception), exception, tb=exc_tb, cause=cause)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 1193, in _execute_context
server_1 | context)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py”, line 507, in do_execute
server_1 | cursor.execute(statement, parameters)
server_1 | OperationalError: (psycopg2.OperationalError) server closed the connection unexpectedly
server_1 | This probably means the server terminated abnormally
server_1 | before or while processing the request.
server_1 | [SQL: ‘SELECT organizations.updated_at AS organizations_updated_at, organizations.created_at AS organizations_created_at, organizations.id AS organizations_id, organizations.name AS organizations_name, organizations.slug AS organizations_slug, organizations.settings AS organizations_settings \nFROM organizations \nWHERE organizations.slug = %(slug_1)s \n LIMIT %(param_1)s’] [parameters: {‘slug_1’: ‘default’, ‘param_1’: 1}] (Background on this error at: http://sqlalche.me/e/e3q8)
server_1 | [2019-03-13 05:40:53,666][PID:19][ERROR][redash] Exception on /favicon.ico [GET]
server_1 | Traceback (most recent call last):
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1988, in wsgi_app
server_1 | response = self.full_dispatch_request()
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1641, in full_dispatch_request
server_1 | rv = self.handle_user_exception(e)
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask_restful/init.py”, line 271, in error_router
server_1 | return original_handler(e)
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1544, in handle_user_exception
server_1 | reraise(exc_type, exc_value, tb)
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1639, in full_dispatch_request
server_1 | rv = self.dispatch_request()
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask/app.py”, line 1625, in dispatch_request
server_1 | return self.view_functionsrule.endpoint
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask_login/utils.py”, line 226, in decorated_view
server_1 | elif not current_user.is_authenticated:
server_1 | File “/usr/local/lib/python2.7/dist-packages/werkzeug/local.py”, line 343, in getattr
server_1 | return getattr(self._get_current_object(), name)
server_1 | File “/usr/local/lib/python2.7/dist-packages/werkzeug/local.py”, line 302, in _get_current_object
server_1 | return self.__local()
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask_login/utils.py”, line 26, in
server_1 | current_user = LocalProxy(lambda: _get_user())
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask_login/utils.py”, line 302, in _get_user
server_1 | current_app.login_manager._load_user()
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask_login/login_manager.py”, line 317, in _load_user
server_1 | return self.reload_user()
server_1 | File “/usr/local/lib/python2.7/dist-packages/flask_login/login_manager.py”, line 279, in reload_user
server_1 | user = self.user_callback(user_id)
server_1 | File “/app/redash/authentication/init.py”, line 44, in load_user
server_1 | org = current_org._get_current_object()
server_1 | File “/usr/local/lib/python2.7/dist-packages/werkzeug/local.py”, line 302, in _get_current_object
server_1 | return self.__local()
server_1 | File “/app/redash/authentication/org_resolving.py”, line 14, in _get_current_org
server_1 | g.org = Organization.get_by_slug(slug)
server_1 | File “/app/redash/models.py”, line 325, in get_by_slug
server_1 | return cls.query.filter(cls.slug == slug).first()
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py”, line 2825, in first
server_1 | ret = list(self[0:1])
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py”, line 2617, in getitem
server_1 | return list(res)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py”, line 2925, in iter
server_1 | return self._execute_and_instances(context)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py”, line 2948, in _execute_and_instances
server_1 | result = conn.execute(querycontext.statement, self._params)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 948, in execute
server_1 | return meth(self, multiparams, params)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/elements.py”, line 269, in _execute_on_connection
server_1 | return connection._execute_clauseelement(self, multiparams, params)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 1060, in _execute_clauseelement
server_1 | compiled_sql, distilled_params
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 1200, in _execute_context
server_1 | context)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 1413, in _handle_dbapi_exception
server_1 | exc_info
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/compat.py”, line 203, in raise_from_cause
server_1 | reraise(type(exception), exception, tb=exc_tb, cause=cause)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py”, line 1193, in _execute_context
server_1 | context)
server_1 | File “/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py”, line 507, in do_execute
server_1 | cursor.execute(statement, parameters)
server_1 | OperationalError: (psycopg2.OperationalError) server closed the connection unexpectedly
server_1 | This probably means the server terminated abnormally