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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to