git拉取失败

来源:6-2 Config Server

殷梦凡

2019-07-08

spring:
application:
name: config
cloud:
config:
server:
git:
uri: https://git.lug.ustc.edu.cn/yinmengfan/config-repo.git
username: ******
password: *******
eureka:
client:
service-url:
defaultZone: http://localhost:8761/eureka/
启动正常,
在页面输入http://localhost:8080/order-a.yml
报错:
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Mon Jul 08 15:11:27 CST 2019
There was an unexpected error (type=Not Found, status=404).
Cannot clone or checkout repository: https://git.lug.ustc.edu.cn/yinmengfan/config-repo.git
控制台报错:
org.eclipse.jgit.api.errors.TransportException: https://git.lug.ustc.edu.cn/yinmengfan/config-repo.git: Secure connection to https://git.lug.ustc.edu.cn/yinmengfan/config-repo.git could not be stablished because of SSL problems

写回答

2回答

殷梦凡

提问者

2019-07-08

有的,我在git上添加了order.yml文件

0
3
廖师兄
回复
殷梦凡
我不确定你这个git平台是否有问题,你可以把config-repo放github上试试
2019-07-08
共3条回复

廖师兄

2019-07-08

启动正常,访问报错,看看是否有order-a.yml这个文件。

0
0

SpringCloud Finchley(M2+RELEASE+SR2)微服务实战

SpringCloud组件实现微服务,【已升级Finchley.Release】

5668 学习 · 2489 问题

查看课程