Transport Error : Git-upload-pack not permitted [message #1828655] |
Mon, 15 June 2020 22:50  |
Eclipse User |
|
|
|
Getting the following transport exception while performing the git operations from jgit api's. These api's are called from java program which is running on tomcat inside docker container.
Caused by: org.eclipse.jgit.api.errors.TransportException: https://${github/gitlab url}/xxxxx/sampletest.git: git-upload-pack not permitted
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:221)
at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:159)
Caused by: org.eclipse.jgit.errors.TransportException: https://${github/gitlab url}xxxxx/sampletest.git: git-upload-pack not permitted
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:501)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:290)
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:198)
... 142 common frames omitted
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08507 seconds