Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No proper server response on expired confirmation token #2

Open
jotelha opened this issue Oct 23, 2022 · 0 comments
Open

No proper server response on expired confirmation token #2

jotelha opened this issue Oct 23, 2022 · 0 comments

Comments

@jotelha
Copy link
Member

jotelha commented Oct 23, 2022

dtool-lookup-server-production-dtool_config_generator-1  | Traceback (most recent call last):
dtool-lookup-server-production-dtool_config_generator-1  |   File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/sync.py", line 136, in handle
dtool-lookup-server-production-dtool_config_generator-1  |     self.handle_request(listener, req, client, addr)
dtool-lookup-server-production-dtool_config_generator-1  |   File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/sync.py", line 179, in handle_request
dtool-lookup-server-production-dtool_config_generator-1  |     respiter = self.wsgi(environ, resp.start_response)
dtool-lookup-server-production-dtool_config_generator-1  |   File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 2091, in __call__
dtool-lookup-server-production-dtool_config_generator-1  |     return self.wsgi_app(environ, start_response)
dtool-lookup-server-production-dtool_config_generator-1  |   File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 2076, in wsgi_app
dtool-lookup-server-production-dtool_config_generator-1  |     response = self.handle_exception(e)
dtool-lookup-server-production-dtool_config_generator-1  |   File "/usr/local/lib/python3.10/site-packages/flask_cors/extension.py", line 165, in wrapped_function
dtool-lookup-server-production-dtool_config_generator-1  |     return cors_after_request(app.make_response(f(*args, **kwargs)))
dtool-lookup-server-production-dtool_config_generator-1  |   File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 2073, in wsgi_app
dtool-lookup-server-production-dtool_config_generator-1  |     response = self.full_dispatch_request()
dtool-lookup-server-production-dtool_config_generator-1  |   File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1519, in full_dispatch_request
dtool-lookup-server-production-dtool_config_generator-1  |     rv = self.handle_user_exception(e)
dtool-lookup-server-production-dtool_config_generator-1  |   File "/usr/local/lib/python3.10/site-packages/flask_cors/extension.py", line 165, in wrapped_function
dtool-lookup-server-production-dtool_config_generator-1  |     return cors_after_request(app.make_response(f(*args, **kwargs)))
dtool-lookup-server-production-dtool_config_generator-1  |   File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1517, in full_dispatch_request
dtool-lookup-server-production-dtool_config_generator-1  |     rv = self.dispatch_request()
dtool-lookup-server-production-dtool_config_generator-1  |   File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1503, in dispatch_request
dtool-lookup-server-production-dtool_config_generator-1  |     return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
dtool-lookup-server-production-dtool_config_generator-1  |   File "/usr/local/lib/python3.10/site-packages/dtool_config_generator/auth_routes.py", line 89, in confirm
dtool-lookup-server-production-dtool_config_generator-1  |     user_id = ts.loads(token, salt="user-id-confirm-key", max_age=86400)
dtool-lookup-server-production-dtool_config_generator-1  |   File "/usr/local/lib/python3.10/site-packages/itsdangerous/timed.py", line 210, in loads
dtool-lookup-server-production-dtool_config_generator-1  |     base64d, timestamp = signer.unsign(
dtool-lookup-server-production-dtool_config_generator-1  |   File "/usr/local/lib/python3.10/site-packages/itsdangerous/timed.py", line 148, in unsign
dtool-lookup-server-production-dtool_config_generator-1  |     raise SignatureExpired(
dtool-lookup-server-production-dtool_config_generator-1  | itsdangerous.exc.SignatureExpired: Signature age 305814 > 86400 seconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant