You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "zhaofuw (via GitHub)" <gi...@apache.org> on 2024/10/29 03:13:42 UTC

Re: [I] [Bug] Requests to all /ui paths in Paimon WebUI return a 401 error [paimon-webui]

zhaofuw commented on issue #537:
URL: https://github.com/apache/paimon-webui/issues/537#issuecomment-2443111653

   When accessing http://127.0.0.1:10088/ui/#/login, I received a 401 error. The returned message is as follows:
   `{
   "code": 401,
   "msg": "用户未登陆",
   "data": null
   }`
   `2024-10-29 11:06:34.111  ERROR 62801 --- [io-10088-exec-2] 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) ~[classes/:?]
   	at cn.dev33.satoken.interceptor.SaInterceptor.preHandle(SaInterceptor.java:113)  @~[sa-token-spring-boot-starter-1.35.0.RC.jar:?]`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org