You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by "lu1235353884 (via GitHub)" <gi...@apache.org> on 2024/04/30 03:21:36 UTC

Re: [I] s.c.rpc.netty.AbstractNettyRemoting : 0104 ==> java.lang.RuntimeException: channel is error. [incubator-seata]

lu1235353884 commented on issue #4884:
URL: https://github.com/apache/incubator-seata/issues/4884#issuecomment-2084300887

   Ⅰ. Issue Description
   项目中使用seata解决分布式事务,使用过程中偶现该问题,在全局事务开始时就出现RPC timeout 30000,导致全局事务开启失败;
   项目中使用restful实现分布式服务间服务调用,nacos做注册中心,seata解决分布式事务;
   
   Ⅱ. Describe what happened
   项目中使用seata解决分布式事务,使用过程中会经常出现该问题,在全局事务开始时就出现RPC timeout 30000;
   
   seata client 报错如下:wait response error:cost 30000,导致全局事务开启失败。
   Seata server报错如下:
   
   
   00:20:21.830  INFO --- [     batchLoggerPrint_1_1] [ocessor.server.BatchLogHandler] [                 run]  [] : receive msg[single]: GlobalBeginRequest{transactionName='wo.op.report.picking.return.create', timeout=6000000}, clientIp: 10.192.23.34, vgroup: default_tx_group
   00:20:28.930  INFO --- [ettyServerNIOWorker_1_4_8] [ty.AbstractNettyRemotingServer] [    handleDisconnect]  [] : 10.192.23.34:48020 to server channel inactive.
   00:20:28.930  INFO --- [ettyServerNIOWorker_1_4_8] [ty.AbstractNettyRemotingServer] [    handleDisconnect]  [] : remove channel:[id: 0x06609bc3, L:/10.192.19.108:8091 ! R:/10.192.23.34:48020]context:RpcContext{applicationId='APC', transactionServiceGroup='default_tx_group', clientId='APC:10.192.23.34:48020', channel=[id: 0x06609bc3, L:/10.192.19.108:8091 ! R:/10.192.23.34:48020], resourceSets=null}
   00:20:30.354  INFO --- [verHandlerThread_1_42_500] [coordinator.DefaultCoordinator] [       doGlobalBegin]  [10.192.19.108:8091:6296547817037284291] : Begin new global transaction applicationId: APC,transactionServiceGroup: default_tx_group, transactionName: wo.op.report.picking.return.create,timeout:6000000,xid:10.192.19.108:8091:6296547817037284291
   **00:20:30.355 ERROR --- [verHandlerThread_1_42_500] [pc.netty.AbstractNettyRemoting] [bda$processMessage$2]  **[10.192.19.108:8091:6296547817037284291] : 0104
   ==>
   java.lang.RuntimeException: channel is error.****
   	at io.seata.core.rpc.netty.AbstractNettyRemotingServer.sendAsyncResponse(AbstractNettyRemotingServer.java:106) ~[seata-core-1.7.0.jar:1.7.0]
   	at io.seata.core.rpc.processor.server.ServerOnRequestProcessor.onRequestMessage(ServerOnRequestProcessor.java:207) ~[seata-core-1.7.0.jar:1.7.0]
   	at io.seata.core.rpc.processor.server.ServerOnRequestProcessor.process(ServerOnRequestProcessor.java:122) ~[seata-core-1.7.0.jar:1.7.0]
   	at io.seata.core.rpc.netty.AbstractNettyRemoting.lambda$processMessage$2(AbstractNettyRemoting.java:281) ~[seata-core-1.7.0.jar:1.7.0]
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_342]
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_342]
   	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.76.Final.jar:4.1.76.Final]
   	at java.lang.Thread.run(Thread.java:750) ~[na:1.8.0_342]
   <==
   
   JDK version 1.8:
   Seata version 1.7.0:
   OS微软云平台:
   
   seataAT模式,seata版本1.7.0  


-- 
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