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

7th
Sep 2018
franta kocourek
@franta_kocourek_twitter
Sep 07 2018 08:49
image.png
Hello everybody.
If I pass (or set within application.properties file) -Dspring.cloud.config.server.git.known-hosts-file=whatever, the SCCS fails to start with:
Am I missing something? Thank you.
Windon.Esun
@windonTest
Sep 07 2018 10:30
Hello everybody, how to use counter in the analytics menu in spring cloud data flow UI interface?
Can you recommend a user manual on UI interface? Thank you very much!
nishantsinghin
@nishantsinghin
Sep 07 2018 15:10
Hi All, could anyone please let me know what process and dependency changing status of Eureka clients in Eureka as below
2018-09-07 06:50:21.033 WARN [MS_1,,,] 5730 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient : Saw local status change event StatusChangeEvent [timestamp=1536321021033, current=DOWN, previous=UP]
2018-09-07 06:57:21.412 WARN [MS_1,,,] 5730 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient : Saw local status change event StatusChangeEvent [timestamp=1536321441412, current=UP, previous=DOWN]
Spencer Gibb
@spencergibb
Sep 07 2018 15:34
@adnanmamajiwala what does <eureka_server>/eureka/apps say?
Adnan Mamajiwala
@adnanmamajiwala
Sep 07 2018 17:46
@spencergibb
<versions__delta>1</versions__delta>
<apps__hashcode>UP_1_</apps__hashcode>
<application>
    <name>REST_SERVICE</name>
    <instance>
        <instanceId>10.104.173.67:rest_service:8085</instanceId>
        <hostName>10.104.173.67</hostName>
        <app>REST_SERVICE</app>
        <ipAddr>10.104.173.67</ipAddr>
        <status>UP</status>
        <overriddenstatus>UNKNOWN</overriddenstatus>
        <port enabled="true">8085</port>
        <securePort enabled="false">443</securePort>
        <countryId>1</countryId>
        <dataCenterInfo class="com.netflix.appinfo.InstanceInfo$DefaultDataCenterInfo">
            <name>MyOwn</name>
        </dataCenterInfo>
        <leaseInfo>
            <renewalIntervalInSecs>30</renewalIntervalInSecs>
            <durationInSecs>90</durationInSecs>
            <registrationTimestamp>1536342498851</registrationTimestamp>
            <lastRenewalTimestamp>1536342498851</lastRenewalTimestamp>
            <evictionTimestamp>0</evictionTimestamp>
            <serviceUpTimestamp>1536342498851</serviceUpTimestamp>
        </leaseInfo>
        <metadata>
            <management.port>8085</management.port>
        </metadata>
        <homePageUrl>http://10.104.173.67:8085/</homePageUrl>
        <statusPageUrl>http://10.104.173.67:8085/actuator/info</statusPageUrl>
        <healthCheckUrl>http://10.104.173.67:8085/actuator/health</healthCheckUrl>
        <vipAddress>rest_service</vipAddress>
        <secureVipAddress>rest_service</secureVipAddress>
        <isCoordinatingDiscoveryServer>false</isCoordinatingDiscoveryServer>
        <lastUpdatedTimestamp>1536342498852</lastUpdatedTimestamp>
        <lastDirtyTimestamp>1536342498754</lastDirtyTimestamp>
        <actionType>ADDED</actionType>
    </instance>
</application>
</applications>
Spencer Gibb
@spencergibb
Sep 07 2018 17:47
triple backticks for code
Adnan Mamajiwala
@adnanmamajiwala
Sep 07 2018 17:47
@spencergibb Thanks
Spencer Gibb
@spencergibb
Sep 07 2018 17:47
note sure why.
    org.springframework.cloud.gateway.support.NotFoundException: Unable to find instance for localhost
maybe because rest_service isn't a valid hostname (underscores aren't allowed)
Adnan Mamajiwala
@adnanmamajiwala
Sep 07 2018 17:48
aah, let me try changing that.
Adnan Mamajiwala
@adnanmamajiwala
Sep 07 2018 17:59
@spencergibb Thank you it works now. Just out of curiosity why are underscores not allowed ?
Spencer Gibb
@spencergibb
Sep 07 2018 18:19
use of java URL class