level 1
springboot连接mycat连接不上
com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method findByUserNameAndPassword in the service com.example.demo.api.AyUserDubboService. Tried 3 times of the providers [192.168.3.1:20880] (1/1) from the registry 127.0.0.1:12180 on the consumer 192.168.3.1 using the dubbo version 2.5.3. Last error is: Invoke remote method timeout. method: findByUserNameAndPassword, provider: dubbo://192.168.3.1:20880/com.example.demo.api.AyUserDubboService?anyhost=true&application=app-consumer&check=false&dubbo=2.5.3&interface=com.example.demo.api.AyUserDubboService&methods=findByUserNameAndPassword&pid=21176&side=consumer×tamp=
15577151431
27, cause: Waiting server-side response timeout by scan timer. start time: 2019-05-13 10:39:18.496, end time: 2019-05-13 10:39:19.523, client elapsed: 1 ms, server elapsed: 1026 ms, timeout: 1000 ms, request: Request [id=2, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=findByUserNameAndPassword, parameterTypes=[], arguments=[], attachments={path=com.example.demo.api.AyUserDubboService, interface=com.example.demo.api.AyUserDubboService, version=0.0.0}]], channel: /192.168.3.1:50665 -> /192.168.3.1:20880
配置文件换成 mysql就可以连接上,换成mycat就报错,超时。navicat可以连接mycat,账号密码没有错。
2019年05月13日 03点05分
1
com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method findByUserNameAndPassword in the service com.example.demo.api.AyUserDubboService. Tried 3 times of the providers [192.168.3.1:20880] (1/1) from the registry 127.0.0.1:12180 on the consumer 192.168.3.1 using the dubbo version 2.5.3. Last error is: Invoke remote method timeout. method: findByUserNameAndPassword, provider: dubbo://192.168.3.1:20880/com.example.demo.api.AyUserDubboService?anyhost=true&application=app-consumer&check=false&dubbo=2.5.3&interface=com.example.demo.api.AyUserDubboService&methods=findByUserNameAndPassword&pid=21176&side=consumer×tamp=
15577151431
27, cause: Waiting server-side response timeout by scan timer. start time: 2019-05-13 10:39:18.496, end time: 2019-05-13 10:39:19.523, client elapsed: 1 ms, server elapsed: 1026 ms, timeout: 1000 ms, request: Request [id=2, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=findByUserNameAndPassword, parameterTypes=[], arguments=[], attachments={path=com.example.demo.api.AyUserDubboService, interface=com.example.demo.api.AyUserDubboService, version=0.0.0}]], channel: /192.168.3.1:50665 -> /192.168.3.1:20880
配置文件换成 mysql就可以连接上,换成mycat就报错,超时。navicat可以连接mycat,账号密码没有错。