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

SSE not streaming to hystrix dashboard when turbine running in a docker container #119

Open
jwconway opened this issue Jan 26, 2017 · 1 comment

Comments

@jwconway
Copy link

I am running a turbine server app. When I run this app from my IDE i see the SSE streaming in my browser on localhost:8989.

When i deploy this application using docker the browser hangs forever. I do see the following in the console output:

[rx-netty-nio-eventloop-3-1] INFO com.netflix.turbine.Turbine - Turbine => SSE Request Received
[rx-netty-nio-eventloop-3-1] INFO com.netflix.turbine.Turbine - Turbine => Starting aggregation
[rx-netty-nio-eventloop-3-1] INFO com.netflix.turbine.Turbine - Turbine => Aggregate Stream from URI: http://192.168.99.1:8080/hystrix.stream
[rx-netty-nio-eventloop-3-1] INFO com.netflix.turbine.Turbine - Turbine => SSE Request Received

And when i eventually close my browser tab:

[rx-netty-nio-eventloop-3-1] INFO com.netflix.turbine.Turbine - Turbine => Unsubscribing RxNetty server connection

What makes this even more confusing is that if i open fiddler and try to connect again (to dockerised turbine) it works!

This issue happens when using docker toolbox for windows and AWS ECS to deploy the container. All browsers.

When using Docker for Mac Chrome works safari doesnt.

I have raised this previously with the spring cloud project but it seems this isnt related to spring as i can replicate without spring (spring-cloud/spring-cloud-netflix#1648)

@jwconway
Copy link
Author

It seems that the version of RxNetty that turbine is using is causing the issue. I don't see this issue with a simple RxNetty sse server in a container.

I'm going to see if I can create a couple of projects to prove this

FYI @spencergibb

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

1 participant