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数据库服务没有打开
在这里插入图片描述
然后就可以了!!

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