Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Clarification--CheckID does not have associated TTL #100

Closed
nandhusriram opened this issue Feb 17, 2016 · 2 comments
Closed

Clarification--CheckID does not have associated TTL #100

nandhusriram opened this issue Feb 17, 2016 · 2 comments

Comments

@nandhusriram
Copy link

I have a Ttl scheduler running every 30s ,throwing NPE com.orbitz.consul.NotRegisteredException: null
at com.orbitz.consul.AgentClient.check(AgentClient.java:404)
at com.orbitz.consul.AgentClient.checkTtl(AgentClient.java:420)
at com.orbitz.consul.AgentClient.pass(AgentClient.java:427)
at com.assurant.inc.transformation.consul.TtlScheduler.heartbeatServices(TtlScheduler.java:58).

FYI http health check is passing.

@rickfast
Copy link
Owner

I'll take a look. Can you post a snippet of your code setting up the client?

@nandhusriram
Copy link
Author

Looks like it needed cleanup from consul , once I deregistered the services and registered back , it worked . Thanks

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

No branches or pull requests

2 participants