HTTP Status 500 - Request processing failed; nested exception is com.alibaba.dubbo.rpc.RpcException

HTTP Status 500 - Request processing failed; nested exception is com.alibaba.dubbo.rpc.RpcException

问题代码

HTTP Status 500 - Request processing failed; nested exception is com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method show in the service com.ego.dubbo.service.TbItemDubboService. Tried 3 times of the providers [192.168.161.1:20880] (1/1) from the registry 192.168.161.129:2181 on the consumer 192.168.161.1 using the dubbo version 2.5.3. Last error is: Invoke remote method timeout. method: show, provider: dubbo://192.168.161.1:20880/com.ego.dubbo.service.TbItemDubboService?anyhost=true&application=dubbo-manage&check=false&dubbo=2.5.3&interface=com.ego.dubbo.service.TbItemDubboService&methods=insTbItem,show,updItemStatus,insTbItemDesc&pid=12836&revision=1.0-SNAPSHOT&side=consumer&timestamp=1575810282912, cause: Waiting server-side response timeout. start time: 2019-12-08 21:10:34.024, end time: 2019-12-08 21:10:35.025, client elapsed: 0 ms, server elapsed: 1001 ms, timeout: 1000 ms, request: Request [id=15, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=show, parameterTypes=[int, int], arguments=[1, 30], attachments={path=com.ego.dubbo.service.TbItemDubboService, interface=com.ego.dubbo.service.TbItemDubboService, version=0.0.0}]], channel: /192.168.161.1:58215 -> /192.168.161.1:20880
在这里插入图片描述

解决办法

由于几天没有打开电脑,在开机时,发现虚拟机的IP地址变了,然后我就重新配置了一遍。
然后重新编译项目,发现还是不行,又重新检查了很多遍,dubbo服务全部都出来了,还是不行。
然后发现自己的MySQL数据库服务没有打开
在这里插入图片描述
然后就可以了!!

还有一种可能,就是数据库密码自己变更了,我同学出现过这种情况,改一下就行了!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值