Hi,
I'm using RhodeCode as my git server accessible only via HTTPS . Commits in JIRA (5.2.11) are displayed correctly when repo is public (does not require authentication). However, when the repo is protected I always got not authorized exception. Storing credentials either in _netrc (on windows) or in .git/config works with other git clients (eg TortoiseGit) but JGIT from jira-git-plugin throws exception when trying to access repo.
2013-07-22 10:14:22,429 http-bio-8080-exec-15 WARN testuser 614x2091x1 38ouru 192.168.169.13 /browse/DEMO-4 [xiplink.jira.git.GitManagerImpl]
org.eclipse.jgit.errors.TransportException: https://MyRepoURL/test: not authorized
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:373)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:203)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:125)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:111)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:904)
at com.xiplink.jira.git.GitManagerImpl.fetch(GitManagerImpl.java:455)
...
Hi,
I'm using RhodeCode as my git server accessible only via HTTPS . Commits in JIRA (5.2.11) are displayed correctly when repo is public (does not require authentication). However, when the repo is protected I always got not authorized exception. Storing credentials either in _netrc (on windows) or in .git/config works with other git clients (eg TortoiseGit) but JGIT from jira-git-plugin throws exception when trying to access repo.
2013-07-22 10:14:22,429 http-bio-8080-exec-15 WARN testuser 614x2091x1 38ouru 192.168.169.13 /browse/DEMO-4 [xiplink.jira.git.GitManagerImpl]
org.eclipse.jgit.errors.TransportException: https://MyRepoURL/test: not authorized
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:373)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:203)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:125)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:111)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:904)
at com.xiplink.jira.git.GitManagerImpl.fetch(GitManagerImpl.java:455)
...