You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by "chinaccj (via GitHub)" <gi...@apache.org> on 2025/10/31 07:59:36 UTC

[I] seata 2.5 部署console 页面搜索报404 [incubator-seata]

chinaccj opened a new issue, #7755:
URL: https://github.com/apache/incubator-seata/issues/7755

   ### Check Ahead
   
   - [x] I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate.
   
   - [ ] I am willing to try to fix this bug myself.
   
   
   ### Ⅰ. Issue Description
   
   1 seata 2.5版本,seata-namingserver/lib/seata-console-2.5.0.jar 包static目录缺乏静态资源,按照网上的攻略需要手工打包,结果如下
   ── css
   │   ├── bootstrap.css
   │   ├── console1412.css
   │   ├── font-awesome.css
   │   ├── fonts
   │   │   ├── aliyun-console-font.eot
   │   │   ├── aliyun-console-font.ttf
   │   │   ├── aliyun-console-font.woff
   │   │   ├── font_515771_emcns5054x3whfr.ttf
   │   │   ├── font_515771_emcns5054x3whfr.woff
   │   │   ├── roboto-bold.ttf
   │   │   ├── roboto-bold.woff
   │   │   ├── roboto-bold.woff2
   │   │   ├── roboto-regular.ttf
   │   │   ├── roboto-regular.woff
   │   │   └── roboto-regular.woff2
   │   ├── icon.css
   │   └── main.css
   ├── favicon.ico
   ├── img
   │   ├── black_dot.png
   │   ├── favicon.ico
   │   ├── seata_logo_small.jpeg
   │   ├── seata_logo_white.png
   │   ├── seata_logo.png
   │   └── seata.jpeg
   ├── index.html
   ├── js
   │   ├── main.js
   │   └── main.js.LICENSE.txt
   └── saga-statemachine-designer
       ├── 1e08c7f04f4855050724.eot
       ├── 2185c437d9db32386425.ttf
       ├── 8809b45a3f0566911799.woff
       ├── 9c989372615cb2cfbaa6.woff2
       ├── banner.png
       ├── bundle.css
       ├── bundle.css.map
       ├── bundle.js
       ├── bundle.js.LICENSE.txt
       ├── bundle.js.map
       ├── cb4be0230caf509ac475.svg
       ├── designer.html
       ├── favicon.ico
       ├── logo.jpeg
       └── test.json
   
   部署后, seata-namingserver可以启动,可以登录,但是点击查询页面报404
   
   <img width="3222" height="1966" alt="Image" src="https://github.com/user-attachments/assets/90d6ff59-793a-4e0d-b778-275e36092719" />
   
   ### Ⅱ. Describe what happened
   
   _No response_
   
   ### Ⅲ. Describe what you expected to happen
   
   _No response_
   
   ### Ⅳ. How to reproduce it (as minimally and precisely as possible)
   
   _No response_
   
   ### Ⅴ. Anything else we need to know?
   
   _No response_
   
   ### Ⅵ. Environment
   
   _No response_


-- 
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: notifications-unsubscribe@seata.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] seata 2.5 部署console 页面搜索报404 [incubator-seata]

Posted by "chinaccj (via GitHub)" <gi...@apache.org>.
chinaccj commented on issue #7755:
URL: https://github.com/apache/incubator-seata/issues/7755#issuecomment-3502413676

   最终使用seata naming的 docker 部署就没有问题。感谢各位


-- 
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: notifications-unsubscribe@seata.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] seata 2.5 部署console 页面搜索报404 [incubator-seata]

Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
funky-eyes commented on issue #7755:
URL: https://github.com/apache/incubator-seata/issues/7755#issuecomment-3475711708

   Please check whether your Windows Command Prompt (cmd) window has become unresponsive — it may be causing the request to time out. Try pressing the spacebar or the Enter key to wake it and resume processing.


-- 
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: notifications-unsubscribe@seata.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] seata 2.5 部署console 页面搜索报404 [incubator-seata]

Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
funky-eyes commented on issue #7755:
URL: https://github.com/apache/incubator-seata/issues/7755#issuecomment-3471915712

   https://github.com/apache/incubator-seata/discussions/7703


-- 
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: notifications-unsubscribe@seata.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] seata 2.5 部署console 页面搜索报404 [incubator-seata]

Posted by "chinaccj (via GitHub)" <gi...@apache.org>.
chinaccj commented on issue #7755:
URL: https://github.com/apache/incubator-seata/issues/7755#issuecomment-3475398758

   
   
   seata 2.5 版本,server本地 单机部署。
   
   能登录seata console,但是访问报错,错误日志如下:
   
   2025-10-31 22:21:05.866 ERROR --- [I/O dispatcher 3] [org.apache.seata.namingserver.filter.ConsoleRemotingFilter] [onFailure] []: 5,000 milliseconds timeout on connection http-outgoing-2 [ACTIVE]
   java.net.SocketTimeoutException: 5,000 milliseconds timeout on connection http-outgoing-2 [ACTIVE]
           at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.timeout(HttpAsyncRequestExecutor.java:387)
           at org.apache.http.impl.nio.client.InternalIODispatch.onTimeout(InternalIODispatch.java:98)
           at org.apache.http.impl.nio.client.InternalIODispatch.onTimeout(InternalIODispatch.java:40)
           at org.apache.http.impl.nio.reactor.AbstractIODispatch.timeout(AbstractIODispatch.java:175)
           at org.apache.http.impl.nio.reactor.BaseIOReactor.sessionTimedOut(BaseIOReactor.java:261)
           at org.apache.http.impl.nio.reactor.AbstractIOReactor.timeoutCheck(AbstractIOReactor.java:506)
           at org.apache.http.impl.nio.reactor.BaseIOReactor.validate(BaseIOReactor.java:211)
           at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
           at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
           at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591)
           at java.base/java.lang.Thread.run(Thread.java:1583)
   
   
   
   seata server application.yml配置
   server:
     port: 8091
     service-port: 8091 # If not configured, the default is '${server.port}'
     max-commit-retry-timeout: -1
     max-rollback-retry-timeout: -1
     rollback-failed-unlock-enable: false
     enable-check-auth: true
     enable-parallel-request-handle: true
     enable-parallel-handle-branch: false
     retry-dead-threshold: 70000
     xaer-nota-retry-timeout: 60000
     enableParallelRequestHandle: true
     applicationDataLimitCheck: true
     applicationDataLimit: 64000
     recovery:
       committing-retry-period: 5000
       async-committing-retry-period: 5000
       rollbacking-retry-period: 5000
       end-status-retry-period: 5000
       timeout-retry-period: 5000
     undo:
       log-save-days: 7
       log-delete-period: 86400000
     session:
       branch-async-queue-size: 5000 #branch async remove queue size
       enable-branch-async-remove: false #enable to asynchronous remove branchSession
     ratelimit:
       enable: false
       bucketTokenNumPerSecond: 999999
       bucketTokenMaxNum: 999999
       bucketTokenInitialNum: 999999
   spring:
     application:
       name: seata-server
     main:
       web-application-type: none
   logging:
     config: classpath:logback-spring.xml
     file:
       path: ${log.home:${user.home}/logs/seata}
     extend:
       logstash-appender:
         # off by default
         enabled: false
         destination: 127.0.0.1:4560
       kafka-appender:
         # off by default
         enabled: false
         bootstrap-servers: 127.0.0.1:9092
         topic: logback_to_logstash
         producer:
           acks: 0
           linger-ms: 1000
           max-block-ms: 0
       metric-appender:
         # off by default
         enabled: false
   
   seata:
     config:
       # support: nacos, consul, apollo, zk, etcd3
       type: file
     registry:
       # support: nacos, eureka, redis, zk, consul, etcd3, sofa
       type: seata
       seata:
         server-addr: 127.0.0.1:8081
         cluster: default
         namespace: public
         heartbeat-period: 5000
         metadata-max-age-ms: 30000
         username: root
         password: 123456
         tokenValidityInMilliseconds: 1740000
     store:
       # support: file 、 db 、 redis 、 raft
       mode: db
       db:
         datasource: druid
         db-type: mysql
         driver-class-name: com.mysql.cj.jdbc.Driver  # MySQL 8.x 必须用此驱动类
         url: jdbc:mysql://127.0.0.1:3306/seata?rewriteBatchedStatements=true
         user: root
         password: 12345678
         min-conn: 10
         max-conn: 100
         global-table: global_table
         branch-table: branch_table
         lock-table: lock_table
         distributed-lock-table: distributed_lock
         vgroup-table: vgroup_table
         query-limit: 1000
         max-wait: 5000
         druid:
           time-between-eviction-runs-millis: 120000
           min-evictable-idle-time-millis: 300000
           test-while-idle: true
           test-on-borrow: false
           keep-alive: false
   
   seata naming server application.yml配置
   server:
     port: 8081
   spring:
     application:
       name: seata-namingserver
   console:
     user:
       username: root
       password: 123456
   logging:
     config: classpath:logback-spring.xml
     file:
       path: ${log.home:${user.home}/logs/seata}
   heartbeat:
     threshold: 90000
     period: 60000
   seata:
     security:
       secretKey: SeataSecretKey0c382ef121d778043159209298fd40bf3850a017
       tokenValidityInMilliseconds: 1800000
       csrf-ignore-urls: /naming/v1/**,/api/v1/naming/**
       ignore:
         urls: /,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.jpeg,/**/*.ico,/api/v1/auth/login,/version.json,/naming/v1/health,/error
   


-- 
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: notifications-unsubscribe@seata.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] seata 2.5 部署console 页面搜索报404 [incubator-seata]

Posted by "xjlgod (via GitHub)" <gi...@apache.org>.
xjlgod commented on issue #7755:
URL: https://github.com/apache/incubator-seata/issues/7755#issuecomment-3477995337

   use `mvn -Prelease-seata -Dmaven.test.skip=true clean install -U` by source code to package naming-server. https://seata.apache.org/docs/overview/faq/#16


-- 
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: notifications-unsubscribe@seata.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] seata 2.5 部署console 页面搜索报404 [incubator-seata]

Posted by "chinaccj (via GitHub)" <gi...@apache.org>.
chinaccj closed issue #7755: seata 2.5 部署console 页面搜索报404
URL: https://github.com/apache/incubator-seata/issues/7755


-- 
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: notifications-unsubscribe@seata.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] seata 2.5 部署console 页面搜索报404 [incubator-seata]

Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
funky-eyes commented on issue #7755:
URL: https://github.com/apache/incubator-seata/issues/7755#issuecomment-3471906165

   Seata 2.5’s namingserver already includes the console’s frontend assets, so you don’t need to rebuild the console. A 404 typically means no Seata cluster is registered with the namingserver.


-- 
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: notifications-unsubscribe@seata.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] seata 2.5 部署console 页面搜索报404 [incubator-seata]

Posted by "chinaccj (via GitHub)" <gi...@apache.org>.
chinaccj commented on issue #7755:
URL: https://github.com/apache/incubator-seata/issues/7755#issuecomment-3476440369

   我用的IDEA,本地要如何通过源代码debug?  我本地启动NamingserverApplication, 8081 无法访问 


-- 
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: notifications-unsubscribe@seata.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org