Skip to content
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

turbine-stream doesn't register with eureka ootb #1774

Closed
joshiste opened this issue Mar 13, 2017 · 5 comments
Closed

turbine-stream doesn't register with eureka ootb #1774

joshiste opened this issue Mar 13, 2017 · 5 comments

Comments

@joshiste
Copy link
Contributor

When using the sample from https://github.com/spring-cloud-samples/turbine the turbine application fails to register itself as eureka client. You need to add eureka.instance.non-secure-port to make it work.

Issue raised as suggested here: https://gitter.im/spring-cloud/spring-cloud?at=58c68386dd08b4b859c38c1c

@dsyer
Copy link
Contributor

dsyer commented Mar 14, 2017

The code that is responsible for this behaviour is actually in spring-cloud-turbine-stream. It starts a netty container and sets server.port=-1 to switch off the servlet container if it is present (it might need to be present for Actuator endpoints for example). I don't think we will be fixing this until Spring Boot 2.0 (at which point the servlet container will not be needed), so please use eureka.instance.non-secure-port in the meantime (the sample has been updated).

@eacdy
Copy link
Contributor

eacdy commented Aug 22, 2017

same issue. awesome answer.
Save me a lot.

@gdong42
Copy link

gdong42 commented Oct 10, 2017

@dsyer can you please suggest which property to set if I'm using spring-cloud-consul-discovery. Have same issue here with consul.

@gdong42
Copy link

gdong42 commented Oct 10, 2017

Never mind. Setting spring.cloud.consul.discovery.port did the trick.

@spencergibb
Copy link
Member

This module has entered maintenance mode. This means that the Spring Cloud team will no longer be adding new features to the module. We will fix blocker bugs and security issues, and we will also consider and review small pull requests from the community.

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

No branches or pull requests

6 participants