Closed RakeshAMore closed 8 years ago
I am able to configure other things but now I have only below issue.
{"timestamp":"2016-06-13T15:51:02.199+05:30","message":"Mapping servlet: 'proxyStreamServlet' to [/proxy.stream]","logger_name":"org.springframework.boot.context.embedded.ServletRegistrationBean","thread_name":"localhost-startStop-1","level":"INFO","HOSTNAME":"myhostName"} {"timestamp":"2016-06-13T15:51:10.088+05:30","message":"Rejected bean name 'proxyStreamServlet': no URL paths identified","logger_name":"org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping","thread_name":"main","level":"DEBUG","HOSTNAME":"myhostName"}
/proxy.stream is not working, it showing error "Rejected bean name 'proxyStreamServlet".
Please assist me in this.
I need to resolved it ASAP. Any help will be appreciated.
@Masterking that error is a spring error, not netflix.
Yes, you are right :) Actually my problem is "/proxy.stream" is not working for me. It simply loads blank page and there is not content type set for it when I look in to network tab.
Issue resolved. Thanks for you help!!!!
@RakeshAMore could you elaborate on the solution to your problem? I'm facing the same issue with Hystrix 1.5.5.
In my case it was because I had Filter which was holding response to operations before committing it, hence I just skip proxy.stream from it. In addition you may also check is there any authentication in your service.
Thanks @RakeshAMore. In my case it was due to blacklisting apache httpclient default useragent. The problem was in the proxyservlet that Spring intercepts calls against hystrix.stream with.
@billybong @RakeshAMore - Could you please guide me on https://stackoverflow.com/questions/52137023/unable-to-connect-to-command-metric-stream-in-spring-cloud-hystrix-turbine
I am not sure this is right place to ask this question but i tried it on stackoverflow but no body is answering. Please assist me in below issue.
I am configuring hystrix turbine dashbord using ConfigPropertyBasedDiscovery . When I hit normal stream URL, it works fine http://localhost:8080/turbine.stream?cluster=EXAMPLE
But when I try to load this cluster stream in dashbord it show below error "unable to connect command matrix" on browser and on console "EventSource's response has a MIME type ("text/plain") that is not "text/event-stream". Aborting the connection.". Please have look on screen shot.
Below is my config.properties
My Application.java @EnableHystrixDashboard public class Application extends SpringBootApplication { private static Class applicationClass = Application.class;
public static void main(String[] args) {
SpringApplication.run(applicationClass, args);
TurbineInit.init();
}
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
super.configure(application);
return application.sources(applicationClass);
}
}
Please assist me in this. And let me know if I missed out in configuration.