-
Notifications
You must be signed in to change notification settings - Fork 116
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
BadRequest at / b'Signature expired' #55
Comments
One of my developers is getting this all of a sudden running a client locally via Docker and authenticating against a remote site. We can't reproduce the issue ourselves. |
Same behaviour here. I got a I have to say that it had worked for some time and suddenly this error appeared and kept even client/server is restarted many times. I'm trying to detect where/why this happens. If so I'll send a PR as this error make this lib unusable. |
Some advances:
May it be time related? Both machines have similar (or almost equal) time, so if it is the case there is something that requires a very, very small in time difference |
In my case it was time related. The developer previously had the wrong time set on his machine. When he corrected it, he could started getting this error. He ended up making his clock "wrong" again to get round it. I'm not sure what is being cached where. This was a local dev server trying to auth against a remove peoduction SSO server. |
Ok, I've found my problem. (That doesn't mean it is the same as the @felocru issue. Please, check it out if it is the case) Don't know why, but at some point one of the machines "upgraded" it's version of itsdangerous. Probably some other package forced to do so and I didn't notice that. |
Your issue sounds like a timezone issue.... Maybe newer versions of itsdangerous get around it (or maybe not) |
My observations which may not be the only reason for this failure. My client (being a newly bootstrapped project was on version v1.1) and the server which was an older install was on version v0.14.1. I kept getting this error and after digging a while, itsdangerous time handling had changed over versions. I upgraded the server version to v1.1 and everything got sorted. Although the poetry update seemed a bit weird where itsdangerous went from
Later...Yes, that's probably because the later version restricts it to itsdangerous version for which its compatible with older versions.
|
Hello, I have tried to apply this package, however I have not been successful. I understand the expiration message. But I don't understand why it happens. That is, if I try to log in before 5 seconds.
I appreciate if you can guide me
The text was updated successfully, but these errors were encountered: