开发者社区> 问答> 正文

现有连接被远程主机强行关闭

开始同步的时候能正常运行,一段时间不会报错,运行了大概10个小时后,就会报existing connection was forcibly closed by the remote host,然后一直报Could not initialize class com.alibaba.otter.canal.common.utils.JsonUtils; 2017-07-01 07:28:54.445 INFO c.a.otter.manager.biz.common.alarm.AbstractAlarmService - has sent alarm [AlarmMessage[message=pid:4 nid:1 exception:canal:citu_tdesk_canal:java.io.IOException: An existing connection was forcibly closed by the remote host at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(Unknown Source) at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source) at sun.nio.ch.IOUtil.read(Unknown Source) at sun.nio.ch.SocketChannelImpl.read(Unknown Source) at com.alibaba.otter.canal.parse.inbound.mysql.dbsync.DirectLogFetcher.fetch0(DirectLogFetcher.java:154) at com.alibaba.otter.canal.parse.inbound.mysql.dbsync.DirectLogFetcher.fetch(DirectLogFetcher.java:70) at com.alibaba.otter.canal.parse.inbound.mysql.MysqlConnection.dump(MysqlConnection.java:122) at com.alibaba.otter.canal.parse.inbound.AbstractEventParser$3.run(AbstractEventParser.java:209) at java.lang.Thread.run(Unknown Source) ,receiveKey=otterteam]] to drgoon agent. 2017-07-01 07:59:09.040 INFO c.a.otter.manager.biz.common.alarm.AbstractAlarmService - has sent alarm [AlarmMessage[message=pid:4 nid:1 exception:canal:citu_tdesk_canal:java.lang.NoClassDefFoundError: Could not initialize class com.alibaba.otter.canal.common.utils.JsonUtils at com.alibaba.otter.canal.parse.inbound.mysql.MysqlEventParser.findStartPositionInternal(MysqlEventParser.java:415) at com.alibaba.otter.canal.parse.inbound.mysql.MysqlEventParser.findStartPosition(MysqlEventParser.java:315) at com.alibaba.otter.canal.parse.inbound.AbstractEventParser$3.run(AbstractEventParser.java:161) at java.lang.Thread.run(Unknown Source)

原提问者GitHub用户 YBigBen

展开
收起
古拉古拉 2023-06-21 12:38:12 83 0
1 条回答
写回答
取消 提交回答
  • canal:citu_tdesk_canal:java.io.IOException: An existing connection was forcibly closed by the remote host

    远端强制关闭了?

    原回答者GitHub用户 agapple

    2023-06-21 13:05:27
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载