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
After upgrade to Spring Boot v2.1.0 Consul auto registration not working #464
Comments
As hotfix you may starting registration manually:
|
Finchley is not compatible with boot 2.1.x |
thanks! you can comment out |
@jdkhome If you not set port on ConsulAutoServiceRegistration you will get an exception:
ConsulAutoServiceRegistration.setPort should be equal your server.port property (or your service port). You can get port number from ServerProperties:
|
is this still a problem with Boot 2.1.1.RELEASE and Greenwich.RC1? |
Yes. With Boot 2.1.1.RELEASE and Greenwich.RC1 Consul auto registration does not work. |
@devpreview I just created a minimal application from start.spring.io that auto registers just fine. Also, your app, updated to boot 2.1.1.RELEASE and java 8 (since I don't have 9) auto registered just fine. I also set |
@spencergibb Sorry. I did not test correctly. With Boot 2.1.1.RELEASE and Greenwich.RC1 Consul auto registration is working. |
Thanks for following up |
I upgraded to 2.1.1.RELEASE ,But if you don't use your code, auto registration is not working. |
After upgrade to Spring Boot v2.1.0 Consul auto registration not working.
Minimal step repo for Spring Boot v2.0.6
https://github.com/devpreview/test-consul/tree/spring-v2.0.6
It works correctly.
Minimal step repo for Spring Boot v2.1.0
https://github.com/devpreview/test-consul/tree/spring-v2.1.0
Consul auto registration not working.
The text was updated successfully, but these errors were encountered: