dubbo报:Waiting server-side response timeout by scan timer._G_whang

线上部署时,由于Dubbo配置错误导致服务启动报等待服务器响应超时。问题根源在于生产环境中RPC地址配置不正确,修正为Zookeeper地址:zookeeper://localhost:2181后,服务正常启动,问题解决。
摘要由CSDN通过智能技术生成

今天上线功能,使用package -Pprd打生产包,上线后启动服务,竟然报:

Caused by: com.alibaba.dubbo.remoting.TimeoutException: Waiting server-side response timeout by scan timer. start time: 2019-09-16 18:32:54.066, end time: 2019-09-16 18:33:04.079, client elapsed: 1 ms, server elapsed: 10012 ms, timeout: 10000 ms, request: Request [id=2, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=subscribe, parameterTypes=[class com.alibaba.dubbo.common.URL, interface com.alibaba.dubbo.registry.NotifyListener], arguments=[consumer://197.1.20.88/com.alibaba.dubbo.registry.RegistryService?application=pawn-deposits-service&backup=197.1.20.168:2181,197.1.20.165:2181&callbacks=10000&connect.timeout=10000&dubbo=2.5.3&interface=com.alibaba.dubbo.registry.RegistryService&lazy=true&methods=register,subscribe,unregister,lookup,unsubscribe&pid=4299&am
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值