自己部署的开源版调用SDK的异步运行工作流报错
- Lingua principale
- Java
- Stelle
- 214
- Fork
- 98
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start with org.springblade.plugin.ai.coze.AsyncRunRetWorkflowExample.java at line 44 and follow the stack trace into WorkflowRunHistoryService.retrieve and Utils.execute. Reproduce the asynchronous workflow call and investigate the reported missing session_key in the cookie. Done means the workflow history request no longer fails with authentication error, with the required authentication context documented or verified.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- api
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100