Error

org.eclipse.jgit.api.errors.TransportException: not authorized

차노도리 2023. 4. 11. 21:21

org.eclipse.jgit.api.errors.TransportException: not authorized

  • git 인증 정보가 없어서 안됨
  • git 정보 입력 해주면됨
    • password부분에 password 말고 토큰 값 넣어줘야함

에러 정보

org.eclipse.jgit.api.errors.TransportException: [주소]: not authorized

 

설정 정보 추가

spring:
  cloud:
    config:
      server:
        git:
          uri: 저장소 주소
          username: 아이디
          password: git 토큰 정보