-
Notifications
You must be signed in to change notification settings - Fork 10
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
Intermittent error: Webclient using embedded Zuul, doesn't support dynamic refreshing of the microservices #42
Comments
Didnt get it. Is the dynamic refreshing not a main part of eureka? |
Basically, the issue is sometimes we have is, Zuul doesn't refresh the microservices which were started later to it. In this case, if one tries to access the newly added microservices, a Zuul forwarding exception occurs message It needs a restart of the Webclient module which hosts the Zuul config, to reflect the new microservices and forward the requests to them. |
Ok thanks :) but I think with a bit time zuul get a refresh list or? |
Should be changed as per Issue #50 and change to using Feign Client instead of Embedded Zuul. |
In the webclient module, where we are using embedded Zuul to provide proxy services and dynamic routing of requests based on the request url, doesn't support the dynamic refreshing of the config to reflect the new microservices.
It's hard to recreate the issue, coz it happens intermittently.
But the issue can be re-created the issue:
a) Start Eureka server instance
b) Start the Webclient microservice.
c) Start any other microservice (ex: chatbot)
In this case even though both the services are registered with Eureka, which can be found using
http://localhost:1111/eureka/apps
Zuul throws an exception, saying the "client microservice cannot be found"
It's worth investigating, why we face this issue.
The text was updated successfully, but these errors were encountered: