Intermittent error: Webclient using embedded Zuul, doesn't support dynamic refreshing of the microservices
- Dominant language
- Java
- Stars
- 2
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in the webclient module with the embedded Zuul proxy and its dynamic routing, then reproduce the stated Eureka-server, Webclient, and chatbot startup sequence. Compare the services shown at http://localhost:1111/eureka/apps with Zuul's client-microservice-not-found exception; done means a newly registered service can be routed reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100