Skip to Content
0

[XSA Advanced] GIT Clone error

May 04, 2017 at 09:14 AM

7.6k

avatar image
Former Member

Hello

I would like to clone project from github to my SAP IDE and I am getting error.

Clone request failed
Request failed: Gateway Timeout URI: /che/project/workspaceoiqcdmunycarr4ky/import/tinyworld-1?force=true

I add the in JBP_CONFIG_JAVA_OPTS

JBP_CONFIG_JAVA_OPTS: [java_opts: "-Dhttps.proxyHost=domainXXX.de -D https.proxyPort=8080 -Dhttp.nonProxyHosts=host"]

Can anyone tell me if I made something wrong ? and what should I enter for http.nonProxyHosts ?

This is the output of xs logs di-core --recent

04.05.17 10:47:21.000 [RTR] OUT 172.28.103.9 - - to gisu546:51016 "POST /profile/prefs HTTP/1.1" 200 sent 1374 in 53 by 008-e68cd177-6ddd-4848-b69b-3681de484f9e 04.05.17 10:47:21.000 [APP/1-3] ACC 172.28.138.239 - - [04/May/2017:10:47:21 +0200] "GET /runnerWs/14/children/.testresults HTTP/1.1" 200 2 04.05.17 10:47:21.000 [APP/1-3] ACC 172.28.138.239 - - [04/May/2017:10:47:21 +0200] "POST /profile/prefs HTTP/1.1" 200 -04.05.17 10:47:30.000 [RTR] OUT 172.28.103.9 - - to gisu546:51016 "GET /workspace/workspaceoiqcdmunycarr4ky HTTP/1.1" 200 sent 1239 in 45 by 008-e68cd177-6ddd-4848-b69b-3681de484f9e 04.05.17 10:47:30.000 [RTR] OUT 172.28.103.9 - - to gisu546:51016 "GET /project/workspaceoiqcdmunycarr4ky/tinyworld HTTP/1.1" 200 sent 707 in 124 by 008-e68cd177-6ddd-4848-b69b-3681de484f9e 04.05.17 10:47:30.000 [APP/1-3] ACC 172.28.103.9 - - [04/May/2017:10:47:30 +0200] "GET /workspace/workspaceoiqcdmunycarr4ky HTTP/1.1" 200 1239 04.05.17 10:47:30.000 [APP/1-3] ACC 172.28.138.239 - - [04/May/2017:10:47:30 +0200] "GET /project/workspaceoiqcdmunycarr4ky/tinyworld HTTP/1.1" 200 -04.05.17 10:47:47.000 [RTR] OUT 172.28.103.9 - - to gisu546:51016 "GET /workspace/workspaceoiqcdmunycarr4ky HTTP/1.1" 200 sent 1239 in 44 by 008-e68cd177-6ddd-4848-b69b-3681de484f9e 04.05.17 10:47:47.000 [RTR] OUT 172.28.103.9 - - to gisu546:51016 "GET /project/workspaceoiqcdmunycarr4ky/tinyworld HTTP/1.1" 200 sent 707 in 123 by 008-e68cd177-6ddd-4848-b69b-3681de484f9e 04.05.17 10:47:47.000 [APP/1-3] ACC 172.28.103.9 - - [04/May/2017:10:47:47 +0200] "GET /workspace/workspaceoiqcdmunycarr4ky HTTP/1.1" 200 1239 04.05.17 10:47:47.000 [APP/1-3] ACC 172.28.138.239 - - [04/May/2017:10:47:47 +0200] "GET /project/workspaceoiqcdmunycarr4ky/tinyworld HTTP/1.1" 200 - 04.05.17 10:48:17.000 [RTR] OUT 172.28.103.9 - - to gisu546:51016 "POST /project/workspaceoiqcdmunycarr4ky/import/tinyworld-1?force=true HTTP/1.1" - sent - in - by 008-e68cd177-6ddd-4848-b69b-3681de484f9e 04.05.17 10:48:32.000 [APP/1-3] ACC 172.28.138.239 - - [04/May/2017:10:48:32 +0200] "POST /project/workspaceoiqcdmunycarr4ky/import/tinyworld-1?force=true HTTP/1.1" 500 -

I tried to clone project from our intern GIT and then I got another error

Clone request failed

https://g431017@sgisbruap126.gisa-halle.de:8080/gitblit/r/gisa/sla/Freigabe-Test.git: cannot open git-upload-pack

Do you have any solution to clone project from Git ? is there any command to investigate more the cloning process ?

Thanks in advance

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Offer Shostak
May 08, 2017 at 06:25 AM
1

Hi,


Please make sure your proxy settings are set like this structure:
JBP_CONFIG_JAVA_OPTS: [java_opts: "-Dhttp.proxyHost=proxy.domain.de -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.domain.de -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts=host.domain.de;host;localhost"]

After setting this, execute:
xs-restage di-core
xs-rs di-core

Regards,

Offer.

Show 8 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks for your reply

Now I get a blank page when I log in the SAP Web Ide.

Can you please help me ?

proxy.png (115.4 kB)
0

Hi,

What is the value that is currently configured?

Regards,

Offer.

0
Former Member
Offer Shostak

Hi Offer,

Here the xs cli command.

xs set-env di-core JBP_CONFIG_JAVA_OPTS "[java_opts: \"-Dhttp.proxyHost=proxy.domain.de -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.domain.de -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts="host"\"]"

Regards

Houssem

0

Hi,

You are missing "\".
Please try the following:

xs set-env di-core JBP_CONFIG_JAVA_OPTS "[java_opts: \"-Dhttp.proxyHost=proxy.domain.de -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.domain.de -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts=\\\\\\\"host.domain.de;host;localhost\\\\\\\" -Dhttps.nonProxyHosts=\\\\\\\"host.domain.de;host;localhost\\\\\\\"\"]"

Regards,

Offer.

0
Former Member
Offer Shostak

Hi Offer,

Can you please tell me which host should I write in nonProxyHosts ? Actually I want that all data transfer out our network go across the proxy and all intern data transfert works normal because our HANA have no connexion to the internet.

Thanks

0

Hi,

If HANA does not have connection to the internet a clone to git hub is not possible.
If it does have, you can remove the "nonProxyHosts" parameters.

Regards,

Offer.

0
Former Member
Offer Shostak

Hi

so even with proxy if HANA does not have connection to the internet I can not clone from github ?

What about our intern GIT, I tried to clone project from it and I get

Clone request failed

https://g431017@sgisbruap126.gisa-halle.de:8080/gitblit/r/gisa/sla/Freigabe-Test.git: cannot open git-upload-pack

Is there any thing to do to change https protocol with http ?

0

Hi,

You can work with intern GIT.

You can defined the relevant hosts in the JBP_CONFIG_JAVA_OPTS proxy configuration.
You might also need to add SSL Certificate to support the clone from gitblit.
For that you can use the Certificate tool which explained here:
https://help.sap.com/viewer/1a8e7ab05a2e4119b02b702f211422f5/2.0.01/en-US/e6c68334c620447597963f59a8b6606e.html

Regards,

Offer.

0