使用jwt鉴权方式方式跑工作流报错
- Lenguaje dominante
- Java
- Estrellas
- 214
- Forks
- 98
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
# 背景
使用代码循环调用工作流接口运行大概1000次左右(代码中有sleep,确认非QPS问题)
# 问题表现
前面几百次运行没什么问题,到了后面几十次直接报错。
报错内容为:

即jwd的token失效。
# 问题分析:
目前怀疑jar包刷新ttl时间差问题,
先记录下,待扒源码后补充。
# 问题补充
为coze-api的jar包0.3.1新暴漏的问题,之前的jar为0.3.0并未出过类似的问题
Guía de contribución
Línea de trabajo
Start by reproducing the workflow API loop described in the issue, including the sleep and roughly 1,000 calls, using coze-api jar 0.3.1. Compare its JWT behavior with jar 0.3.0 and inspect the token TTL refresh path; done means the long-running loop no longer fails with an expired-token error, with a regression check for the affected version.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- api, authentication
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 30/100