coze-dev / coze-dev/coze-java

自己部署的开源版调用SDK的异步运行工作流报错

Abierto
#127 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
214
Forks
98
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by retrofit2.Platform (file:/Users/apple/apache-maven-3.9.0/repository/com/squareup/retrofit2/retrofit/2.9.0/retrofit-2.9.0.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of retrofit2.Platform
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
executeID:7553542408210743296
14:49:12.801 [main] WARN com.coze.openapi.service.service.APIResponseCallAdapter - API error: 700012006 authentication failed: missing session_key in cookie
Exception in thread "main" java.lang.RuntimeException: CozeApiException(code=700012006, msg=authentication failed: missing session_key in cookie, logID=null)
at com.coze.openapi.service.utils.Utils.execute(Utils.java:58)
at com.coze.openapi.service.service.workflow.WorkflowRunHistoryService.retrieve(WorkflowRunHistoryService.java:26)
at org.springblade.plugin.ai.coze.AsyncRunRetWorkflowExample.main(AsyncRunRetWorkflowExample.java:44)
Caused by: CozeApiException(code=700012006, msg=authentication failed: missing session_key in cookie, logID=null)
at com.coze.openapi.service.service.APIResponseCallAdapter$1.execute(APIResponseCallAdapter.java:60)
at com.coze.openapi.service.utils.Utils.execute(Utils.java:36)
... 2 more

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza con org.springblade.plugin.ai.coze.AsyncRunRetWorkflowExample.java en la línea 44 y sigue el stack trace hasta WorkflowRunHistoryService.retrieve y Utils.execute. Reproduce la llamada al workflow asíncrono e investiga el session_key ausente indicado en la cookie. La tarea estará terminada cuando la solicitud del historial del workflow ya no falle con un error de autenticación y el contexto de autenticación requerido esté documentado o verificado.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
api
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.