seatunnel icon indicating copy to clipboard operation
seatunnel copied to clipboard

[Bug] [seatunnel-web] 2024-01-19 11:07:30.955 seatunnel XXX-LAPTOP INFO [qtp82328216-16] [AuthenticationInterceptor.preHandle():70] - user does not exist

Open gguo opened this issue 1 year ago • 6 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

Based on the deployment guide of seatunnel web https://seatunnel.apache.org/zh-CN/seatunnel_web/1.0.0/deploy, I could run seatunnel server and seatunnel web. When I accessed the url: http://localhost:8801/ui, I always got "There was an unexpected error (type=Not Found, status=404)."。And in the log file, it always show the info "user does not exist". I didn't do any logon operation. It's weird.

SeaTunnel Version

seatunnel 2.3.3 seatunnel web 1.0.0

SeaTunnel Config

application.yml (seatunnel web):
server:
  port: 8801

spring:
  application:
    name: seatunnel
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://10.10.194.29:3306/seatunnel?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&allowPublicKeyRetrieval=true
    username: root
    password: 123456
  mvc:
    pathmatch:
      matching-strategy: ant_path_matcher

jwt:
  expireTime: 86400
  secretKey: https://github.com/apache/seatunnel
  algorithm: HS256

Running Command

sh seatunnel-backend-daemon.sh start

Error Exception

2024-01-19 11:07:02.110 seatunnel GILGUO-LAPTOP INFO [main] [CachingOperationNameGenerator.startingWith():40] - Generating unique operation named: listSourceUsingGET_1
2024-01-19 11:07:02.114 seatunnel GILGUO-LAPTOP INFO [main] [CachingOperationNameGenerator.startingWith():40] - Generating unique operation named: syncUsingGET_1
2024-01-19 11:07:02.196 seatunnel GILGUO-LAPTOP INFO [main] [CachingOperationNameGenerator.startingWith():40] - Generating unique operation named: getJobDefinitionUsingGET_1
2024-01-19 11:07:02.695 seatunnel GILGUO-LAPTOP INFO [main] [StartupInfoLogger.logStarted():61] - Started SeatunnelApplication in 7.265 seconds (JVM running for 7.542)
2024-01-19 11:07:30.955 seatunnel GILGUO-LAPTOP INFO [qtp82328216-16] [AuthenticationInterceptor.preHandle():70] - user does not exist

Zeta or Flink or Spark Version

No response

Java or Scala Version

JDK_1.8

Screenshots

web

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

gguo avatar Jan 19 '24 03:01 gguo

这个问题我也遇到过好几次,要重启seatunnel-web后,才好,感觉这玩意太不稳定了。就是个kpi产物

CoderXionghs avatar Jan 19 '24 04:01 CoderXionghs

我也遇到这个问题了,重启也不好使, sh bin/seatunnel-backend-daemon.sh start 也不好使

czxin788 avatar Jan 20 '24 16:01 czxin788

I known http://ip:8801/ui/index.html

can successful

czxin788 avatar Jan 20 '24 16:01 czxin788

It cannot work with http://ip:8801/ui/index.html image

gguo avatar Jan 22 '24 04:01 gguo

I think deploy apache seatunnel web is very difficult.

czxin788 avatar Jan 22 '24 05:01 czxin788

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar Feb 22 '24 00:02 github-actions[bot]

This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.

github-actions[bot] avatar Mar 13 '24 00:03 github-actions[bot]

start web 不要再bin目录下启动

sh ./bin/seatunnel-backend-daemon.sh start

feiyuthomas avatar Apr 30 '24 06:04 feiyuthomas

try like this http://localhost:8801/ui/index.html#/login

YuqiZhuSH avatar Jul 19 '24 06:07 YuqiZhuSH