RefStack sign in sometimes slow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
refstack |
Fix Released
|
High
|
Paul Van Eck |
Bug Description
Occasionally when signing in to refstack.net through openstackid, signing in takes a long time when openstackid sends a request to the RefStack /auth/signin_return API endpoint.
I've done some debugging on this issues, and the hang up seems to be coming from the portion of code where we validate a signature:
https:/
Specifically:
verify_response = requests.post(
verify=not CONF.api.
)
This post request verifies with the openstackid server that an openid signature returned in openstackid's return redirect is valid.
There seems to be some delay security measure on the openstackid side, as this post request seems to sometimes take a long time. On times that it is slow, it always seems to take 128 seconds.
Maybe related to this: https:/
It is odd that it doesn't happen on all requests. Could be fast one time, slow the next, then fast again. Will require more investigation.
This only seems to exist on the official refstack.net site, as I can't recreate the delay locally. Maybe not enough requests have been initiated over time locally?
Changed in refstack: | |
status: | New → Confirmed |
importance: | Undecided → High |
description: | updated |
description: | updated |
description: | updated |
I checked again today and the sign in response is good .... so this is really an intermittent issue.