如何求解假期。可返回的exception:连接定时执行
错误image图像feign-client-client错误测试enviroment
代码在LocalHost连接中正常工作。
在测试环境中不起作用。
我有在云中运行的微服务。 我尝试添加application.properties of newsService:
feign.client.config.default.connecttimeout = 160000000
feign.client.client.config.default.default.default.readtimetime = 160000000
,但不是工作。
好像它没有从假装 - 客户呼叫中获得通知服务。
在其他电话中,我收到了此错误,我更改了连接类型:从以太网电缆到路由器,用手机。由于环境在云中,我无法这样解决。
error image feign-client error test enviroment
The code work correctly in localhost connection.
In test enviroment don't work.
I have microservices that run in the cloud.
I tried to add in the application.properties of NewsService:
feign.client.config.default.connectTimeout=160000000
feign.client.config.default.readTimeout=160000000
But not work.
It is as if it did not reach notification-service from the feign-client call.
Locally on other calls I received this error and I changed the type of connection: from ethernet cable to router with the phone. Since the environment is in the cloud, I cannot solve it like this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我通过击倒和退休的豆荚来解决它:服务注册,盖特威服务,新闻服务和通知服务。
环境现在清洁
I solved it by knocking down and retiring on the pods: service-registry, gatway-service, news-service and notification-service.
The environment is now cleaner