rabbitmq connection_closed_abruptly

在使用rabbitmq做消息中间件发送消息的时候出现一个问题,就是当调用远程接口的时候出现连接异常中断,然后本地执行成功,而远程的没有成功执行。查看rabbitmq日志有如下错误log(6649860行):
6649844 =INFO REPORT==== 29-Mar-2010::10:20:52 === 6649845 accepted TCP connection on 0.0.0.0:5672 from 192.168.1.74:51511 6649846 6649847 =INFO REPORT==== 29-Mar-2010::10:20:52 === 6649848 starting TCP connection <0.17182.220> from 192.168.1.74:51511 6649849 6649850 =INFO REPORT==== 29-Mar-2010::10:20:52 === 6649851 closing TCP connection <0.17182.220> from 192.168.1.74:51511 6649852 6649853 =INFO REPORT==== 29-Mar-2010::10:20:55 === 6649854 accepted TCP connection on 0.0.0.0:5672 from 192.168.1.99:37824 6649855 6649856 =INFO REPORT==== 29-Mar-2010::10:20:55 === 6649857 starting TCP connection <0.17189.220> from 192.168.1.99:37824 6649858 6649859 =ERROR REPORT==== 29-Mar-2010::10:20:55 === 6649860 error on TCP connection <0.17189.220> from 192.168.1.99:37824 6649861 connection_closed_abruptly 6649862 6649863 =INFO REPORT==== 29-Mar-2010::10:20:55 === 6649864 closing TCP connection <0.17189.220> from 192.168.1.99:37824 6649865 6649866 =INFO REPORT==== 29-Mar-2010::10:23:41 === 6649867 accepted TCP connection on 0.0.0.0:5672 from 192.168.1.79:46722


大家有没有碰到过,有什么办法可以解决这个问题,还有如何模拟重现这种现象。现在我在准备执行的时候把远程的服务关掉得到的结果如下:
=WARNING REPORT==== 21-Apr-2010::15:19:10 === exception on TCP connection <0.1580.0> from 172.16.2.212:1786 connection_closed_abruptly


结果不一样 ,一个是exception ,一个是error ;所以一直没查出肯本原因来。经过QA的多次测试也很难重现这种现象。但是在生产环境中却经常出现。求解决方案!!!!
经验分享 程序员 微信小程序 职场和发展