Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

服务停止时,ocelot不能及时感知 #23

Open
hao15239129517 opened this issue Mar 21, 2024 · 0 comments
Open

服务停止时,ocelot不能及时感知 #23

hao15239129517 opened this issue Mar 21, 2024 · 0 comments

Comments

@hao15239129517
Copy link

当停止其中一个service的其中一个服务时,会立即从nacos平台消失掉,但是ocelot不能及时感知到服务已经停止,还会转发到已经停止的服务,DefaultTimeOut改小一点也不起作用,大概能持续到20秒左右才正常不会转发到已停止的服务。会报下面的错误
Ocelot.Responder.Middleware.ResponderMiddleware
'Error Code: ConnectionToDownstreamServiceError Message: Error connecting to downstream service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant