访问系统时,经常超时?
#254
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
-
出现的情况不止一次,还有没有其他的方式 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
微服务项目中,不同服务之间的调用是通过 http 调用的方式来请求的,如: 请求经过 网关转发给其他服务, 服务使用Feign进行接口调用, 所以如果你使用的nacos中,同时注册了多个 同名服务,请求时就会出现超时的情况。
异常情况1:
原因:
异常情况2:
若注册的实例中,实例1 在局域网内其他开发者电脑,实例2 在你本地电脑, 访问时大概率会时而超时,时而正常。
原因:
解决方案
Beta Was this translation helpful? Give feedback.
All reactions