如何求解假期。可返回的exception:连接定时执行

发布于 2025-02-08 09:48:40 字数 593 浏览 2 评论 0原文

错误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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

懷念過去 2025-02-15 09:48:40

我通过击倒和退休的豆荚来解决它:服务注册,盖特威服务,新闻服务和通知服务。

环境现在清洁

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文