on ‎2017 Jan 09 10:54 PM
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
Request clarification before answering.
Hello Annie,
the error "cannot open git-upload-pack" can be caused by lots of different problems. The error message is more like a symptom not like a cause of the actual error. So it's hard to guess whats the actual error.
In other eclipse environments you get a full stack trace like the following which is much better for analysis
!SUBENTRY 1 org.eclipse.egit.ui 4 0 2015-04-16 15:22:31.304
!MESSAGE https:// username@server/p/sandbox: cannot open git-upload-pack
!STACK 0
org.eclipse.jgit.api.errors.TransportException: https:// username@server/p/sandbox: cannot open git-upload-pack
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:139)
at org.eclipse.egit.core.op.FetchOperation.run(FetchOperation.java:134)
at org.eclipse.egit.ui.internal.fetch.FetchOperationUI.execute(FetchOperationUI.java:103)
at org.eclipse.egit.ui.internal.fetch.FetchOperationUI$1.runInWorkspace(FetchOperationUI.java:123)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.jgit.errors.TransportException: https:// username@server/p/sandbox: cannot open git-upload-pack
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:521)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:309)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1111)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130)
... 5 more
Caused by: java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:792)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:789)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1535)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
at org.eclipse.jgit.transport.http.JDKHttpConnection.getResponseCode(JDKHttpConnection.java:98)
at org.eclipse.jgit.util.HttpSupport.response(HttpSupport.java:168)
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:475)
... 10 moreIn this example which i just copied from https://www.eclipse.org/forums/index.php/t/1065782/ you see there is a inner exception which describes the error much better.
So the question is how can we get this underlying exception?
If we just try every possible cause we will need a lot of time 🙂
related :https://answers.sap.com/questions/111929/where-are-the-logfiles-of-webide-for-hana.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.