搭建spring cloud config服务端的时候,需要连接github(或者码云),进行访问时页面报错:Whitelabel Error Page(status=404)
Caused by: org.eclipse.jgit.errors.TransportException: https://gitee.com/guo1635/spring-cloud-config.git: not authorized
报错截图如下:

这个错误是因为你的仓库是私有的,解决办法有两个,一个是把仓库变成共有的,另一个是在上面的配置文件中加入账号和密码,再访问接口就正常了。
