redash
redash copied to clipboard
connot connect database
[2024-12-19 02:45:29 +0000] [8] [ERROR] Error handling request /api/data_sources/1/test Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/sync.py", line 135, in handle self.handle_request(listener, req, client, addr) File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/sync.py", line 178, in handle_request respiter = self.wsgi(environ, resp.start_response) File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 2213, in call return self.wsgi_app(environ, start_response) File "/usr/local/lib/python3.10/site-packages/werkzeug/middleware/proxy_fix.py", line 182, in call return self.app(environ, start_response) File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 2190, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1469, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "/usr/local/lib/python3.10/site-packages/flask_restful/init.py", line 489, in wrapper resp = resource(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/flask_login/utils.py", line 277, in decorated_view return current_app.ensure_sync(func)(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/flask/views.py", line 109, in view return current_app.ensure_sync(self.dispatch_request)(**kwargs) File "/app/redash/handlers/base.py", line 31, in dispatch_request return super(BaseResource, self).dispatch_request(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/flask_restful/init.py", line 604, in dispatch_request resp = meth(*args, **kwargs) File "/app/redash/permissions.py", line 71, in decorated return fn(*args, **kwargs) File "/app/redash/handlers/data_sources.py", line 232, in post time.sleep(1) File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/base.py", line 203, in handle_abort sys.exit(1) SystemExit: 1
I had the same issue
I had the same issue
In my case, I fixed this issue by generating new REDASH_SECRET_KEY
https://redash.io/help/open-source/admin-guide/secrets/#Changing-the-Application-Secret
Everything is fine now