티스토리 뷰

프로젝트에 새로오신분께 git 사용권한을 드리고 사용법에 대해 가이드를 하는데 이클립스에서 로그인이 안되는 현상이 있었다. 

 

 

도대체가 이 화면에서 Next가 안된다. 무한으로 Authentication 을 하라고 나온다. 별다른 오류 메세지도 안나온다.

그래서 이클립스 로그를 보니 다음과 같았다. 

org.eclipse.jgit.api.errors.TransportException: http://gitlab.xxx.git: not authorized
	at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:222)
	at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:161)
	at org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:116)
	at org.eclipse.egit.ui.internal.clone.SourceBranchPage$8.run(SourceBranchPage.java:340)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: org.eclipse.jgit.errors.TransportException: http://gitlab.xxx.git: not authorized
	at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:544)
	at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:362)
	at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:200)
	... 4 more

상황이 웃긴게 gitlab에서는 로그인이 잘 된다. 또한 내자리에서는 새로온 개발자분 계정으로 로그인이 되고, 개발자분 PC에서는 본인 계정은 안되고 내 계정은 또 로그인이 되고 그런다.. 뭐 네트워크, 계정의 권한 이런 문제가 아니다. 

 

 

썰은 그만 풀고 해결했던 방법은 GitLab에서 패스워드 초기화를 해주었다. (User Settings > Edit Password)

 

 

 

문제가 있는 계정의 비밀번호를 다시 한번 설정을 해주도록 하자. 왜인지는 모르겠는데 아마 버그가 아닐듯 싶다.

 

끝!

댓글
최근에 올라온 글
최근에 달린 댓글
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31