-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Unable to configure hystrix dashboard #1526
Comments
Code: |
Dependies: org.springframework.cloud spring-cloud-starter-eureka-server org.springframework.boot spring-boot-starter-logging org.springframework.cloud spring-cloud-starter-zuul org.springframework.boot spring-boot-starter-logging org.springframework.cloud spring-cloud-starter-hystrix-dashboard org.springframework.boot spring-boot-starter-actuator org.springframework.cloud spring-cloud-starter-hystrix |
Can you look at your the Network tab in your Javascript devtools and find out what call is getting made by your dashboard web application? |
Request URL:http://localhost:18888/proxy.stream?origin=http%3A%2F%2Flocalhost%3A18888%2Fpublic%2Fhystrix.stream |
OK, what happens when you follow the link from When I run the dashboard locally against some cloud instance, I see the URL: Hitting that URL gives me back an SSE stream, and my dashboard works correctly |
when I followed the link from Request URL , I get a blank page. |
OK, then that's your problem. You mentioned previously that you can hit a standalone SSE metrics stream. That URL should be the same one that your dashboard is using. |
This might be related: #68 |
I have the same issue running https://github.com/sqshq/PiggyMetrics.
But when I put the url in Hystrix Dashboard is gets wrong. Console output
The response headers missing 'Content-Type: text/event-stream'. So the EventSource treat it as 'text/plain'
|
I'm with the same issue. Any solution? |
Any resolution to this issue ? |
@ALL - Could you please guide me here: https://stackoverflow.com/questions/59738969/unable-to-connect-to-command-metric-stream-in-hystrix-dashboard-issue ? |
Still get same issue, anyone correct it? |
Hi,
I am new to Hystrix and trying to configure Hystrix dashboard for an application that i am developing. I had gone thru the documentation that is available in GitHub Wiki and was able to configure the application properly in my local environment. When i hit hystrix stream url "http://hostname:port/application/hystrix.stream", it is returning me the JSON data. But if i use the same URL in Hystrix Dashboard, it is not displaying any data in the dashboard.
I traced the request and found that the below link is not returning any response and getting failed.
Error message:
EventSource's response has a MIME type ("text/plain") that is not "text/event-stream". Aborting the connection.
Connection was closed on error: [object Event]
I tried searching in internet for this issue but was not able to find any solution. In addition to this problem, when hystrix dashboard is not able to establish the connection.
Can you please help me with the problems described above? Thanks.
-Sushant
The text was updated successfully, but these errors were encountered: