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

UAA gets lots of failed token requests #20

Open
forbushbl opened this issue Jun 16, 2020 · 0 comments
Open

UAA gets lots of failed token requests #20

forbushbl opened this issue Jun 16, 2020 · 0 comments

Comments

@forbushbl
Copy link

Summary

When a user leaves cf top running for a long period of time, their UAA refresh token will expire, however we've noticed that it keeps on trying to get a new token. When this occurs we see ~600 requests per minute to UAA's /oauth/token endpoint until the offending user kills their cf top process.

Steps to reproduce the issue

  1. Login to Cloud Foundry cf login
  2. Run cf top
  3. Wait until the refresh token expires
    Result: You will see lots of errors being printed to UAA's logs with the message "Handling error: InvalidTokenException, Invalid refresh token expired at..."

Environment

  • Windows
  • cf-cli v6.43.0 and v6.50.0
  • top v0.9.5
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