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

22nd
Nov 2017
blitz
@WhatDream
Nov 22 2017 00:54
who knows the error message "Unable to connect to Command Metrics Stream” means, when running the hystrix Dashboard!
Premanand Chandrasekaran
@premanandc
Nov 22 2017 01:41
@spencergibb will it be possible to advise if there is an error in the configuration I have? I can checkin
As a gist or even the complete project
Premanand Chandrasekaran
@premanandc
Nov 22 2017 10:54

Got it to work. Patience and reading the code in the spring-cloud-gateway-sample did it:

spring:
  cloud:
    gateway:
      routes:
      - id: greeting
        uri: lb://greeting-service
        predicates:
        - Path=/greet/{segment}
        filters:
        - SetPath=/{segment}

Two things tripped me. A trailing slash in the uri and not using the SetPath filter. Not sure if this usage is idiomatic though

Raja Sundaram
@zeagord
Nov 22 2017 12:00
spring.application.name is not getting picked for registering service with netflix eureka with Finchley M4 and Springboot 2.0.0.M6.
Is it intentional or a known issue?
Spencer Gibb
@spencergibb
Nov 22 2017 15:32
@sundarsy no, it should work