ShahriyarR / one-time-secret-share

One time secret sharing service on top of ReadOnce objects
MIT License
21 stars 5 forks source link

'Could not find the secret with provided UUID' response #24

Closed e1nurh closed 1 year ago

e1nurh commented 1 year ago

Sometimes when I click the 'Get secret value' button it shows me 'Could not find the secret with provided UUID'. But Sometimes works fine

ShahriyarR commented 1 year ago

Is it okay of you refresh the same link and get back the secret? or the secret also gets lost?

e1nurh commented 1 year ago

When I refresh the same link (once or more) I can see the secret when I press the 'Get secret value' button

ShahriyarR commented 1 year ago

Interesting. Let me check.

ShahriyarR commented 1 year ago

Okay the reproduced scenario is:

ShahriyarR commented 1 year ago

Unfortunately, there is no obvious reason for such sporadic failures. Added some time for sleep and deployed it again. Kindly ask to check it again @e1nurh

ShahriyarR commented 1 year ago

Added sleep and gunicorn with a single worker, it seems to be fixed.