Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Eclipse egit克隆通过https失败_Eclipse_Git_Ssl_Egit - Fatal编程技术网

Eclipse egit克隆通过https失败

Eclipse egit克隆通过https失败,eclipse,git,ssl,egit,Eclipse,Git,Ssl,Egit,我无法通过https通过egit进行克隆。我得到500个内部服务器错误,并在eclipse日志中看到以下错误 . org.eclipse.jgit.api.errors.TransportException: https://my.server.com/git/testing.git: 500 Internal Server Error at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:137)

我无法通过https通过egit进行克隆。我得到500个内部服务器错误,并在eclipse日志中看到以下错误

. org.eclipse.jgit.api.errors.TransportException: 
    https://my.server.com/git/testing.git: 500 Internal Server Error
        at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:137)
        at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178)
        at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125)
        at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:155)
        at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard.executeCloneOperation(AbstractGitCloneWizard.java:431)
        at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard.access$2(AbstractGitCloneWizard.java:424)
        at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard$6.run(AbstractGitCloneWizard.java:403)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Caused by: org.eclipse.jgit.errors.TransportException: https://my.server.com/git/testing.git: 500 Internal Server Error
        at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:370)
        at org.eclipse.jgit.transport.TransportHttp$SmartHttpFetchConnection.doFetch(TransportHttp.java:747)
        at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:301)
        at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:291)
        at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:247)
        at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:160)
        at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
        at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1108)
        at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
        ... 7 more
    Caused by: org.eclipse.jgit.errors.TransportException: https://my.server.com/git/testing.git: 500 Internal Server Error
        at org.eclipse.jgit.transport.TransportHttp$Service.openResponse(TransportHttp.java:843)
        at org.eclipse.jgit.transport.TransportHttp$MultiRequestService.execute(TransportHttp.java:945)
        at org.eclipse.jgit.transport.TransportHttp$Service$HttpExecuteStream.read(TransportHttp.java:871)
        at org.eclipse.jgit.util.io.UnionInputStream.read(UnionInputStream.java:145)
        at java.io.FilterInputStream.read(FilterInputStream.java:133)
        at org.eclipse.jgit.util.io.TimeoutInputStream.read(TimeoutInputStream.java:112)
        at org.eclipse.jgit.util.IO.readFully(IO.java:246)
        at org.eclipse.jgit.transport.PacketLineIn.readLength(PacketLineIn.java:186)
        at org.eclipse.jgit.transport.PacketLineIn.readString(PacketLineIn.java:138)
        at org.eclipse.jgit.transport.PacketLineIn.readACK(PacketLineIn.java:102)
        at org.eclipse.jgit.transport.BasePackFetchConnection.negotiate(BasePackFetchConnection.java:654)
        at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:356)
        ... 15 more
我在apache日志中看到以下错误

 [debug] ssl_engine_io.c(1925): OpenSSL: I/O error, 5 bytes expected to read on BIO#7f72e9617660 [mem: 7f72e96060a3]
[info] [ (70014)End of file found: SSL input filter read failed.
 [error]  (70014)End of file found: Error reading request entity data

在过去的两个星期里,我完全被这一切打动了。非常感谢你的帮助。谢谢

使用本机Git使用相同的URL进行克隆工作吗?相同的URL使用http工作。我没有使用git协议no,我是说当你使用git克隆时https://...在控制台上使用C中的原始Git实现(而不是EGit)。Git bash可以在https上正常工作,当我给出http verify=false时,对于clone和Push,您可以尝试配置
http.sslVerify=false