Authentication issue with repo accessed from Spring Cloud Config Server hosted on GitHub

前端 未结 2 1127
再見小時候
再見小時候 2021-02-19 19:34

I\'m hosting a configuration in a repo on GitHub. If I keep the repo public all\'s good, but if I make it private I face:

org.eclipse.jgit.errors.TransportExcept         


        
2条回答
  •  自闭症患者
    2021-02-19 19:44

    you need to add the

    spring.cloud.config.server.git.username=your_github_username
    spring.cloud.config.server.git.password=your_github_password
    

    and things should workout for you

提交回复
热议问题