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,770

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
carlsoane
Advisor
Advisor
0 Likes

You need to customize the proxy server settings in your di-core application, then restage and restart the application. Here is an example for how to do it if your proxy settings are as follows:

https_proxy: myproxy.mycompany.corp:8080

no_proxy: *.mycompany.corp,localhost,127.0.0.1,10.*


#Set the JBP_CONFIG_JAVA_OPTS environment property for the di-core application
#Note the replacement of the comma with the pipe ("|")
xs set-env di-core JBP_CONFIG_JAVA_OPTS '[java_opts: "-Dhttps.proxyHost=myproxy.mycompany.corp -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts=\\\"*.mycompany.corp|localhost|127.0.0.1|10.*\\\""]' 

#Restage the application to replace the cached environment variable
xs restage di-core 

#Restart the application to have the JVM start with the new settings
xs restart di-core

Regards,

Carl

former_member25364
Participant

Hello

I am trying the LIVE5 Tutorial and I have the same problem but I do not use any proxy.

any solutions ?

Regards

Emmanuel

Former Member
0 Likes

Hi Carl,

I'm in the same situation as Emmanuel. I'm not using any proxy and facing the same issues as mentioned previously.

SAP WebIDE version: SAP Web IDE for HANA 2 SPS 02 Patch 0 ( Build 4.2.14 )

Any idea?

Kind regards,

Thijs

former_member25364
Participant
0 Likes

Hello

As you do not have a proxy, you have to set the gateway via Yast.

Regards

Emmanuel

Former Member
0 Likes

Hi Emmanuel,

Thank you for your response. Any documentation on how to do that?

Kind regards,

Thijs

Former Member
0 Likes

Hi,

I just wanted to say that it was the DHCP that was configured wrongly. For anyone facing these issues, try to figure out you DO have connection to the web. If not, try to start looking from there.

Thanks for the help,

Kind regards,

Thijs