These are chat archives for spring-cloud/spring-cloud

11th
Oct 2016
Stian Lågstad
@stianlagstad
Oct 11 2016 07:31

Hi. I'm having some problems with the hystrix dashboard. If I open it before any calls are made to my app I get this error:

Error proxying request: http://localhost:9994/hystrix.stream

java.net.SocketTimeoutException: Read timed out
  at ...

This looks similar to Netflix/Hystrix#1117. Have any of you had this issue?

Dreampie
@Dreampie
Oct 11 2016 10:41

@dsyer

zipkin why not work? zipkin.domain/api/v1/services could not found anythings.

@EnableAsync
@EnableAspectJAutoProxy(proxyTargetClass = true)
@SpringBootApplication
@EnableDiscoveryClient
@EnableHystrix
@EnableCaching
public class UserApiApplication {

  public static void main(String[] args) {
    SpringApplication.run(UserApiApplication.class, args);
  }
}
2016-10-11 17:57:16.992  INFO [user-api-provider,,,] 11 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.zipkin.ZipkinAutoConfiguration' of type [class org.springframework.cloud.sleuth.zipkin.ZipkinAutoConfiguration$$EnhancerBySpringCGLIB$$d8b4268f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-10-11 17:57:17.381  INFO [user-api-provider,,,] 11 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.zipkin.CONFIGURATION_PROPERTIES' of type [class org.springframework.cloud.sleuth.zipkin.ZipkinProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-10-11 17:57:17.401  INFO [user-api-provider,,,] 11 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'reporter' of type [class org.springframework.cloud.sleuth.zipkin.HttpZipkinSpanReporter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-10-11 17:57:18.010  INFO [user-api-provider,,,] 11 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.zipkin.ZipkinAutoConfiguration$DiscoveryClientEndpointLocatorConfiguration' of type [class org.springframework.cloud.sleuth.zipkin.ZipkinAutoConfiguration$DiscoveryClientEndpointLocatorConfiguration$$EnhancerBySpringCGLIB$$837af2bb] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-10-11 17:57:18.036  INFO [user-api-provider,,,] 11 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'zipkinEndpointLocator' of type [class org.springframework.cloud.sleuth.zipkin.FallbackHavingEndpointLocator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-10-11 17:57:18.045  INFO [user-api-provider,,,] 11 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'zipkinSpanListener' of type [class org.springframework.cloud.sleuth.zipkin.ZipkinSpanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Dreampie
@Dreampie
Oct 11 2016 10:46

client:

spring:
  zipkin:
    baseUrl: http://zipkin.domain/
  sleuth:
    sampler:
      percentage: 1.0

server:

server:
  port: 9411

spring:
  sleuth:
    enabled: false
zipkin:
  storage:
    type: mem # default is mem (in-memory) / mysql
Marcin Grzejszczak
@marcingrzejszczak
Oct 11 2016 10:50
@Dreampie I suggest you go to the Sleuth channel where I can try to help you
Dreampie
@Dreampie
Oct 11 2016 10:56
thanks
Ryan Baxter
@ryanjbaxter
Oct 11 2016 11:50
@stianlagstad I seem to remember the stream not returning any data until the circuit breaker is actually used, but I don’t remember getting a SocketTimeoutException
Josh Fix
@joshfix
Oct 11 2016 18:05
has anybody had any experience using kong with zuul/eureka?