cloudfoundry / cloudfoundry/cf-java-client
Handling of expired access tokens when CF CC rate limiting exhausts
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 334
- 派生
- 319
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi All,
This issue is same as related to one opened on CF CLI
https://github.com/cloudfoundry/cli/issues/1582
CF CC has a rate limit of unauthenticated calls per IP. In our situation some of the CF applications share the same IP due to NAT.
In case of performing operations with expired access tokens from multiple apps we easily reach the unauthenticated rate limit and CF responds with 429.
I checked the code in AbstractReactorOperations
Token is only refreshed when 401 unauthorised is thrown.
It will be helpful we can check the suggestions mentioned the attached bug.
Please let me know if i am missing something or if the same CLI bug does not apply to CF java client.
Best Regards,
Saurav
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先阅读 cloudfoundry-client-reactor/src/main/java/org/cloudfoundry/reactor/util/AbstractReactorOperations.java,并将其令牌刷新行为与相关的 CF CLI issue #1582 进行比较。确定过期令牌如何与 CF CC 的 429 响应交互,然后验证客户端能够处理此场景,而不会耗尽未认证请求的速率限制。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- api, authentication
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100