开发者社区> 问答> 正文

RemotingException:接口调用完,就报客户端连接错误

Dubbo 2.7.1 版本 启动完之后就报错(org.apache.dubbo.remoting.RemotingException: client)

ReconnectTimerTask -  [DUBBO] Fail to connect to HeaderExchangeClient [channel=org.apache.dubbo.remoting.transport.netty4.NettyClient [192.168.1.169:0 -> /192.168.1.5:20888]], dubbo version: 2.7.1, current host: 192.168.1.169
org.apache.dubbo.remoting.RemotingException: client(url: dubbo://192.168.1.5:20888/com.tech.transport.api.service.checkplan.TransportCheckPlanService?anyhost=true&application=openapi&bean.name=providers:dubbo:com.tech.transport.api.service.checkplan.TransportCheckPlanService:1.0.0&check=false&codec=dubbo&default.deprecated=false&default.dynamic=false&default.lazy=false&default.register=true&default.sticky=false&deprecated=false&dubbo=2.0.2&dynamic=false&generic=false&heartbeat=60000&interface=com.tech.transport.api.service.checkplan.TransportCheckPlanService&lazy=false&methods=getHousingTransactionsType,getHousingSelection,getArea,queryByCity,queryByArea&pid=20432&qos.enable=false&register=true&register.ip=192.168.1.169&release=2.7.1&remote.application=user-service&remote.timestamp=1569511690249&revision=1.0.0&side=consumer&sticky=false&timestamp=1569814156202&version=1.0.0) failed to connect to server /192.168.1.5:20888 client-side timeout 3000ms (elapsed: 3002ms) from netty client 192.168.1.169 using dubbo version 2.7.1
    at org.apache.dubbo.remoting.transport.netty4.NettyClient.doConnect(NettyClient.java:136)
    at org.apache.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:186)
    at org.apache.dubbo.remoting.transport.AbstractClient.reconnect(AbstractClient.java:242)
    at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeClient.reconnect(HeaderExchangeClient.java:152)
    at org.apache.dubbo.remoting.exchange.support.header.ReconnectTimerTask.doTask(ReconnectTimerTask.java:49)
    at org.apache.dubbo.remoting.exchange.support.header.AbstractTimerTask.run(AbstractTimerTask.java:87)
    at org.apache.dubbo.common.timer.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:648)
    at org.apache.dubbo.common.timer.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:727)
    at org.apache.dubbo.common.timer.HashedWheelTimer$Worker.run(HashedWheelTimer.java:449)
    at java.lang.Thread.run(Thread.java:748)
```

展开
收起
佚名4918 2021-10-19 16:54:28 2366 0
0 条回答
写回答
取消 提交回答
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
探索连接的最后十秒”落时”的网关 立即下载
面向失败设计 立即下载
低代码开发师(初级)实战教程 立即下载