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

I tried the personal access token, but I still get the same error, any other fixes?

1 Like

same problem am also facing. After entering personal access token still facing issue of Gitlab not permitted error.

Any fix available for this error?

Perhaps the following Stackoverflow issue will help:

Since August 13, 2021, GitHub does not support authentication via HTTPS with your GitHub account password for security reasons anymore. Instead, in Eclipse, when pushing to a GitHub repository or when fetching from a private repository, you will get a git-upload-pack not permitted on 'https://github.com...' error.

Hello All,

Please go to the repository and check the below (snap). Your issue will resolve

1 Like