Git Issue - git-upload-pack not permitted

Hello
I’ve just switched to using a new Git Repo on github.
I can connect perfectly well from WIndows Git Desktop with email / password, and clone / commit / push / pull.
On katalon however, with the exact same details I get
git-upload-pack not permitted

either on trying to Clone it, or if I use Desktop Client for cloning, when I try to push anything from katalon.
Error log below…
Any ideas what this is and how I can fix it please?
Thanks

!ENTRY org.eclipse.egit.ui 4 0 2021-08-14 09:38:01.746
!MESSAGE https://github.com/xxxx/xxxx-testing.git: git-upload-pack not permitted
!STACK 0
org.eclipse.jgit.api.errors.TransportException: https://github.com/xxxx/xxxx-testing.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)
at org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:100)
at org.eclipse.egit.ui.internal.components.RefContentAssistProvider$1.run(RefContentAssistProvider.java:98)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: org.eclipse.jgit.errors.TransportException: https://github.com/xxxx/xxxx-testing.git: git-upload-pack not permitted
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:525)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:311)
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:198)
… 4 more

!ENTRY org.eclipse.egit.core 4 0 2021-08-14 09:38:10.747
!MESSAGE An exception occurred during push on URI https://github.com/xxxx/xxxx-testing.git: https://github.com/xxxx/xxxx-testing.git: git-receive-pack not permitted
!STACK 0
org.eclipse.jgit.errors.TransportException: https://github.com/xxxx/xxxx-testing.git: git-receive-pack not permitted
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:525)
at org.eclipse.jgit.transport.TransportHttp.openPush(TransportHttp.java:405)
at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:160)
at org.eclipse.jgit.transport.Transport.push(Transport.java:1275)
at org.eclipse.egit.core.op.PushOperation.run(PushOperation.java:189)
at com.kms.katalon.composer.integration.git.internal.push.CustomConfirmationPage$2.run(CustomConfirmationPage.java:179)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

I got the same issue today, and solved by use personal access token and put the token as password when I clone new project from github.

1 Like