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

The SDK seems to not to be retrying when the token endpoint returns an error #139

Open
6 tasks done
aaguiarz opened this issue Oct 12, 2024 · 1 comment
Open
6 tasks done
Labels
bug Something isn't working

Comments

@aaguiarz
Copy link
Member

Checklist

  • I have looked into the README and have not found a suitable solution or answer.
  • I have looked into the documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have upgraded to the latest version of OpenFGA and the issue still persists.
  • I have searched the Slack community and have not found a suitable solution or answer.
  • I agree to the terms within the OpenFGA Code of Conduct.

Description

When the token endpoint returns error, the errors are returned to the client application instead of retrying.

Expectation

The SDK should retry, based on how it's configured for retrying.

Reproduction

OpenFGA SDK version

Latest

OpenFGA version

Latest

SDK Configuration

Logs

No response

References

No response

@aaguiarz aaguiarz added the bug Something isn't working label Oct 12, 2024
@evansims
Copy link
Member

evansims commented Nov 7, 2024

I'm not able to reproduce this issue. To confirm, is the HTTP status code of the error encountered either 429 or between 500 and 599? We only perform auto-retries in those instances.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

2 participants