Skip to Content

SAP HANA XSA SPS 12 Web IDE: Github: Bad Request URI: /che/project/workspace


I try to use github within the XSA WebIDE (Version: 3.12.8) and to import the repositories from SaphanaAcadamy XSA.

GitHub - saphanaacademy/XSA: SAP HANA XS Advanced Model

If I try it, I get this error:

Clone request failed

Request failed: Bad Request URI: /che/project/workspace285bh6g95szf188b/import/XSA?force=true

Could it be a problem with our proxy?

Is there a way to check the logs for it?



bad request.PNG (25.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jul 15, 2016 at 10:30 AM

    Check the logs of the DI-CORE application in your SAP space. xs logs di-core --recent

    But I am betting that's a proxy issue. I had a similar issue with the proxy on a system a few weeks ago and I'm pretty sure that was the message I got. Check the environment of the di-core (xs env di-core). You want to look for the configuration of the JBP_CONFIG_JAVA_OPTS. This is where the proxy for the git connection is maintained. Here is an example from one of our internal SAP systems:

    JBP_CONFIG_JAVA_OPTS: [java_opts: " -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts=\\\"*.sap.corp|*|nexus||lt5060|localhost||10.*\\\""]

    If you don't find this entry or its missing the proxy settings then you can use xs set-env to configure it. Just remember to restage and restart the di-core afterwards.

    Add a comment
    10|10000 characters needed characters exceeded

    • Thanks for your help! Could solve this problem.

      This is my solution:

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

      Had to change the nonProxyHosts values. I set only the name of the server and removed all the other samples.

      Now it doesn't crash and github works for me.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.