cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HANA Express - Web IDE - Git clone error - cannot open git-upload-pack

Former Member
9,777

Hi,

I'm following OpenSAP development course manual for HANA 2.0 and folloow the exercises.

When in Web IDE, I go to File > Git > Clone repository and input the url of the template files for the course, which is: https://github.com/SAP/com.sap.openSAP.hana5.example

After clicking Ok, I'm getting an error:

Clone request failed

https://github.com/SAP/com.sap.openSAP.hana5.example: cannot open git-upload-pack

Can anyone direct me towards a correct solution? The course itself is already over, so I can't ask there. Thomas Jung (one of the teachers) mentions that I can just import it as a .zip file from Github, but I want to have a fully working connection to repository.
Thanks 
View Entire Topic
Former Member
0 Likes

Hi Kuatroka,

You may have already tried this but in case you haven't - are you on a restricted network? I find that on a restricted network like a VPN or corporate Wi-Fi connection, you may be unable to clone any Git repository. By switching to a secure but unrestricted network (like home internet or coffee shop internet), it might work. Can you let me know if that works for you?

Thanks,

Annie

Former Member
0 Likes

You can also check out this thread: https://answers.sap.com/questions/28743/cloning-hcp-git-respository-in-web-ide.html

This one is in regards to HCP but it might help in case of HANA Express too since we are dealing with the issue of cloning Git repositories in Web IDE.

Former Member
0 Likes

Hi, I'm facing the same issue. Vanilla installation of SAP HANA 2 Express VM, and all steps performed as per the guidelines. Webide working fine, but cloning a GitHub empty (only a README.MD file) results with the error: cannot open git-upload-pack

Is there any additional configuration required? Any certificate import required? As per the tutorials, the cloning should work out of the box...

My VM is hosted on my workstation that is connected to internet without proxies. From the host command line I can clone the same empty GitHub repository, just fine.

Thanks for any insight into this!

Former Member
0 Likes

Hi, I managed to find out my issue. Probable it is happening to others.

The VM installation is configured to use a dynamic IP address, that will work just fine. However, I set a static one, and it seems that SLES is not automatically using the default gateway to route DNS queries, resulting in failing name resolution out of my network. Once that was solved (using yast to add the gateway as a DNS), git could clone from GitHub with no issues. I trust this will help others that use this configuration.

Thanks