Skip to content

UAA gets lots of failed token requests #20

Description

@forbushbl

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions