SpringCloudConfig報錯Cannot clone or checkout repository:https://gitee.com/yanfa401/config-repo


今天搭建SpringCloud的ConfigServer時候一直報錯

原因在於后台一直報SSL的異常could not be stablished because of SSL problems

找了無數的方法,最后無意間發現有一個配置 skip-ssl-validation屬性,然后設置為true就好了,附上我的application.yml文件

spring:
  application:
    name: configServer
  cloud:
    config:
      server:
        git:
          uri: https://gitee.com/yanfa401/config-repo
          username: 你的登錄賬號
          password: 你的登錄密碼 skip-ssl-validation: true
eureka:
  client:
    service-url:
      defaultZone: http://localhost:8002/eureka/, http://localhost:8001/eureka/

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM