Unable to clone Git project

Hello,

I’m try to connect Katalon with Git repository, but it is ending with ‘Unable to clone Git project’ in Clone Project option.

I’ve already set the needed proxy in Window -> Preferences.
And also I’ve try the command ‘git config --global http.sslVerify false’ in Git CMD, and the result was the same.

The strangest thing, is that through the ‘GitHub Desktop’ I can connect to the the Git repository, what leads me to believe that is not a proxy or security authorization problem.

Can anyone, please, give me a light?

Still having the same problem.

You mentioned GitHub Desktop. Can you clone the project you want? If yes, why not you stay using GitHub Desktop, while leaving your question about Katalon integration with Git unanswered for some days, weeks or months. I suppose you would find the answer yourself later.

Yes, even though I could connected and clone it GitHub Desktop, I’m not able to see the project repository on Katalon. Check this message error:

image.png

I could clone your GitHub repository at https://github.com/MarlonCettina/NAMS.0.git and open it with Katalon Studio successfully. This means that the ‘cannot open git-upload-pack’ problem is specific to your local Katalon Studio environment.

By googling “Eclipse cannot open git-upload-pack”, I could find many Q&As regarding the message “cannot open git-upload-pack”. It seems to be a very complicated problem.

Which Java version do you use, Java 7 or Java 8? Which version is installed in your PC?

You can check the version by:

If you are using Java 7, you should try adding
-Dhttps.protocols=TLSv1.2
to katalon.ini file

(eclipse.ini seems to be renamed to katalon.ini in Katalon Studio;
katalon.ini file sits beside katalon.exe)

If you are using Java8, then try adding

-Dhttps.protocols=TLSv1.2

java-version.png

As the following stackoverflow post tells, there seems to be so many possibilities where EGit fails to clone a Git project.

Each case depends on each runtime environment — firewall, proxy, JDK version, Eclipse network setting, etc. Helping you remotely is very difficult.

git-upload-pack not permitted

Im getting this issue while taking pull, I’m using java version 11, did you get any resolution on this.

Hello Guys,

Facing the problem when I am cloning the project from tfs/git.

please suggest me the solution.

The error dialog is uggesting:

  • .git is missing at the end of repository URL

What is your URL? Does it have .git at the end?

@gopinath.t1989 I’m sitting with the exact same issue on another users machine. For some reason on the same domain I don’t have the issue and can clone, pull and push via Katalon Studio on my machine but this other user even though they have access gets the exact same transport error. To test your credentials I suggest downloading Git Bash (https://gitforwindows.org/) and manually cloning from it’s command line, then you eliminate credentials as an issue. Also I do not believe it has anything to do with the .git at the end of the URL, my URL did not contain that and I can interact perfectly on my machine.

Also, in case you are not aware, have a look at what stack trace is being logged in Help > Error Log, this will provide more details and may help you. Please let me know if you find your actual issue, it may help me resolve the same on the other users machine that I mentioned.

I am having the same issue today. Did you find any work around ?

It looks like you have to create a personal access token in Github:

What is not clear is what the settings should be for the token?

Note that the token acts as your password.