-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Search before asking
- I searched in the issues and found nothing similar.
Paimon UI version
Compute Engine
Flink
Minimal reproduce step
Following https://github.com/apache/paimon-webui/blob/main/docs/src/guide/quick-start.md
ACTION_JAR_PATH=${ACTION_JAR_PATH} FLINK_HOME=${FLINK_HOME} MYSQL_ADDR=${MYSQL_ADDR} MYSQL_DATABASE=${MYSQL_DATABASE} apache-paimon-webui-0.1.0/bin/start.sh
What doesn't meet your expectations?
I can't get to the login page as navigating to /ui/login and /ui returns {"code":401,"msg":"User Not Login","data":null}.
Logs contain a cn.dev33.satoken.exception.NotLoginException: 未能读取到有效 token exception
2024-09-19 16:59:44.875 ERROR 22 --- [nio-8888-exec-5] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[dispatcherServlet]: Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is cn.dev33.satoken.exception.NotLoginException: 未能读取到有效 token] with root cause
cn.dev33.satoken.exception.NotLoginException: 未能读取到有效 token
at cn.dev33.satoken.exception.NotLoginException.newInstance(NotLoginException.java:134) ~[sa-token-core-1.35.0.RC.jar:?]
at cn.dev33.satoken.stp.StpLogic.getLoginId(StpLogic.java:941) ~[sa-token-core-1.35.0.RC.jar:?]
at cn.dev33.satoken.stp.StpLogic.checkLogin(StpLogic.java:923) ~[sa-token-core-1.35.0.RC.jar:?]
at cn.dev33.satoken.stp.StpUtil.checkLogin(StpUtil.java:331) ~[sa-token-core-1.35.0.RC.jar:?]
at org.apache.paimon.web.server.configrue.SaTokenConfigurer.lambda$addInterceptors$0(SaTokenConfigurer.java:37) ~[paimon-web-server-0.1.0.jar:0.1.0]
at cn.dev33.satoken.interceptor.SaInterceptor.preHandle(SaInterceptor.java:113) ~[sa-token-spring-boot-starter-1.35.0.RC.jar:?]
I haven't changed the default sa-token configuration:
sa-token:
token-name: ${spring.application.name}
timeout: 2592000
active-timeout: -1
is-concurrent: true
is-share: true
token-style: uuid
is-log: false
is-print: false
is-read-cookie: true
is-write-header: true
is-read-header: true
is-read-body: true
This behavior does not happen consistently and I haven't yet identified what triggers it. Do you know what could be causing this issue?
Anything else?
No response
Are you willing to submit a PR?
- I'm willing to submit a PR!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working