coze-dev / coze-dev/coze-java

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

Open
#127 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
214
Forks
98
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.