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

[I] seata-server报错:Decode frame error, cause: Adjusted frame length exceeds 8388608: 539959368 - discarded [incubator-seata]

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

   Hi
   一、部署背景和报错信息:
   我们刚在线上部署了base nacos的seata-server多个集群,比如广州一区和广州二区,但是实际上只有广州一区是对外提供服务的(事务分组配置的广州一区),上线后我们观察广州和南京的seata-server日志都有偶发的如下报错信息(一天两到三次):
   以下涉及ip的部分用变量替换了:
   以下日志中的“某容器IP”为同一ip,但是并不是和server交互的客户端ip
   
   广州一区(对外提供服务)报错日志:
   ```
   
   00:39:16.672  INFO --- [ettyServerNIOWorker_1_3_4] [ty.AbstractNettyRemotingServer] [    handleDisconnect]  [] : 某容器IP:55709 to server channel inactive.
   00:39:16.677  INFO --- [ettyServerNIOWorker_1_3_4] [ty.AbstractNettyRemotingServer] [    handleDisconnect]  [] : remove unused channel:[id: 0xf683b49f, L:0.0.0.0/0.0.0.0:8091 ! R:/某容器IP:55709]
   02:03:26.770  INFO --- [ettyServerNIOWorker_1_4_4] [ty.AbstractNettyRemotingServer] [    handleDisconnect]  [] : 某容器IP:48714 to server channel inactive.
   02:03:26.771  INFO --- [ettyServerNIOWorker_1_4_4] [ty.AbstractNettyRemotingServer] [    handleDisconnect]  [] : remove unused channel:[id: 0x1957bb69, L:0.0.0.0/0.0.0.0:8091 ! R:/某容器IP:48714]
   02:03:26.773 ERROR --- [ettyServerNIOWorker_1_1_4] [rpc.netty.v1.ProtocolV1Decoder] [              decode]  [] : Decode frame error, cause: Adjusted frame length exceeds 8388608: 539959368 - discarded
   02:03:28.772  INFO --- [ettyServerNIOWorker_1_1_4] [ty.AbstractNettyRemotingServer] [    handleDisconnect]  [] : 某容器IP:54134 to server channel inactive.
   02:03:28.773  INFO --- [ettyServerNIOWorker_1_1_4] [ty.AbstractNettyRemotingServer] [    handleDisconnect]  [] : remove unused channel:[id: 0x884d5810, L:0.0.0.0/0.0.0.0:8091 ! R:/某容器IP:54134]
   02:03:30.775  INFO --- [ettyServerNIOWorker_1_2_4] [ty.AbstractNettyRemotingServer] [    handleDisconnect]  [] : 某容器IP:59151 to server channel inactive.
   02:03:30.775  INFO --- [ettyServerNIOWorker_1_2_4] [ty.AbstractNettyRemotingServer] [    handleDisconnect]  [] : remove unused channel:[id: 0x8b78e19a, L:0.0.0.0/0.0.0.0:8091 ! R:/某容器IP:59151]
   02:03:32.779  INFO --- [ettyServerNIOWorker_1_3_4] [ty.AbstractNettyRemotingServer] [    handleDisconnect]  [] : 某容器IP:36034 to server channel inactive.
   ```
   
   广州二区(不对外提供服务)报错日志:
   ```
   01:18:34.170  INFO --- [ettyServerNIOWorker_1_1_4] [ty.AbstractNettyRemotingServer] [    handleDisconnect]  [] : 某容器IP:59442 to server channel inactive.
   01:18:34.180  INFO --- [ettyServerNIOWorker_1_1_4] [ty.AbstractNettyRemotingServer] [    handleDisconnect]  [] : remove unused channel:[id: 0xa6972378, L:0.0.0.0/0.0.0.0:9527 ! R:/某未知容器IP:59442]
   02:23:25.404  INFO --- [ettyServerNIOWorker_1_2_4] [ty.AbstractNettyRemotingServer] [    handleDisconnect]  [] : 某未知容器IP:54681 to server channel inactive.
   02:23:25.405  INFO --- [ettyServerNIOWorker_1_2_4] [ty.AbstractNettyRemotingServer] [    handleDisconnect]  [] : remove unused channel:[id: 0x3cb17fd0, L:0.0.0.0/0.0.0.0:9527 ! R:/某未知容器IP:54681]
   02:23:25.409 ERROR --- [ettyServerNIOWorker_1_3_4] [rpc.netty.v1.ProtocolV1Decoder] [              decode]  [] : Decode frame error, cause: Adjusted frame length exceeds 8388608: 539959368 - discarded
   02:23:27.407  INFO --- [ettyServerNIOWorker_1_3_4] [ty.AbstractNettyRemotingServer] [    handleDisconnect]  [] : 某未知容器IP:60797 to server channel inactive.
   02:23:27.408  INFO --- [ettyServerNIOWorker_1_3_4] [ty.AbstractNettyRemotingServer] [    handleDisconnect]  [] : remove unused channel:[id: 0xe94118e8, L:0.0.0.0/0.0.0.0:9527 ! R:/某未知容器IP:60797]
   02:23:29.487  INFO --- [ettyServerNIOWorker_1_4_4] [ty.AbstractNettyRemotingServer] [    handleDisconnect]  [] : 某未知容器IP:39375 to server channel inactive.
   02:23:29.487  INFO --- [ettyServerNIOWorker_1_4_4] [ty.AbstractNettyRemotingServer] [    handleDisconnect]  [] : remove unused channel:[id: 0x0df66d0b, L:0.0.0.0/0.0.0.0:9527 ! R:/某未知容器IP:39375]
   
   ```
   
   二、定位
   在相关历史issues检索,初步怀疑是“某未知容器IP”访问了rpc端口8091,因此我们改了广州二区的rpc端口为9527,但是仍然会收到以上的报错信息(上吗的报错信息就是在修改端口后,只修改广州二区,一区不变),此外我们咨询了相关服务这个“某未知容器IP”是节点ip,不存在会访问主机任意端口的行为。
   
   因此想请教下以上日志信息是否有其他可能性导致?
   
   三、版本信息
   seata-server:1.8.0
   seata-spring-boot-starter:2.1.0
   spring-cloud-starter-alibaba-seata:2021.0.6.1
   
   
   以上期待您的解答🌹
   


-- 
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-server报错:Decode frame error, cause: Adjusted frame length exceeds 8388608: 539959368 - discarded [incubator-seata]

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

   大概率就是你说的有其他地方在探测端口导致的,对事务无影响,可忽略
   The high probability is that there are other places probing the port as you said, which has no effect on the transaction and can be ignored.


-- 
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-server报错:Decode frame error, cause: Adjusted frame length exceeds 8388608: 539959368 - discarded [incubator-seata]

Posted by "wxrqforever (via GitHub)" <gi...@apache.org>.
wxrqforever closed issue #7013: seata-server报错:Decode frame error, cause: Adjusted frame length exceeds 8388608: 539959368 - discarded
URL: https://github.com/apache/incubator-seata/issues/7013


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