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:?]
Search before asking
Paimon UI version
0.1.0-rc1 https://dist.apache.org/repos/dist/dev/paimon/paimon-webui-0.1.0-rc1/apache-paimon-webui-0.1.0-bin.tgz
Compute Engine
Flink
Minimal reproduce step
Following https://github.com/apache/paimon-webui/blob/main/docs/src/guide/quick-start.md
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
exceptionI haven't changed the default sa-token configuration:
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?