|JGit lacking full support for https? [message #1080847]
||Tue, 06 August 2013 12:55
| Birgit Moeller
Registered: August 2013
we have a Git repository on a server accessible via the https protocol. While cloning the repository with the latest version of Egit from within Eclipse Kepler (running on Linux 64-bit) worked fine, we have now problems on doing a push. Basically Eclipse returns with the error message that "...remote does not support smart HTTP push". The same happens if we try to access the repository directly from command line using the stand-alone version of JGit packaged in org.eclipse.jgit.pgm-220.127.116.11306101825-r.sh, see exception below.
However, if we use git for Linux as downloadable from git-scm.com via command line we don't have any problems accessing the repository. Hence it seems that there is nothing wrong with the repository, but that JGit/EGit currently does not properly support the https protocol. Nevertheless, Egit claims to as it let's you select that protocol in the configuration dialog. I also did not find any restrictions with regard to that in the documentation. Or did we miss a configuration step and have to apply specific settings to push to the repository? Any hints are welcome!
Thanks in advance,
P.S.: We already tried to add user login and password to the push URL, without success.
P.P.S: Exception of JGit stand-alone version:
org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of push command
Caused by: org.eclipse.jgit.errors.NotSupportedException: remote does not support smart HTTP push
Powered by FUDForum
. Page generated in 0.02319 seconds