-
Notifications
You must be signed in to change notification settings - Fork 26
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
hydra-router require guarantee of running node during route match #86
Comments
@jkyberneees on startup, your hapi-service-test should have sent a message to hydra-router with its updated routes. |
Hi @cjus, it does it. However the issue appears when multiple services have registered the same route. |
@jkyberneees I looked into this. I don't see a way to address it. I think it's up to the service builder to ensure that routes are not reused by other services. Meaning two different services should not both register |
Hi @cjus, I can suggest you to check for service presence before accept the route match. Regards. |
Hello I used the different command for clean and refresh: but hydra-cli routes show me the old dead services and then hydra-router cannot work correctly. Is it something I am missing for cleaning/refresh ? |
@arn-the-long-beard which version of hydra-cli are you using? How comfortable are you with Redis? Is this happening locally or on a production server? |
Hello @cjus :) I am using hydra-cli@1.5.5 For now this is happening locally. I am a very newbie to Hydra and Redis also. I am building micro services for a distributed system for the startup I am working. |
Same problem here. I'm using hydra-cli@1.6.0
|
The router seems to be accepting the first URL match without guarantee that such service have a running node instance. In my case I just started a hapi-service-test service and the response from the router is this:
Meaning that the hydra-router is considering old routes from the express-service-test service that I have ran in the past.
Regards, Rolando
The text was updated successfully, but these errors were encountered: