2017-06-23 8 views
-1

eclipseを使用してGitリポジトリをクローンすることができません。私は以下のエラーを取得:Eclipse上で「https://gxxxx.com/xxxxx/xxxx.git:can not open git-upload-pack」を処理する方法は?

https://gxxxx.com/xxxxx/xxxx.git : cannot open git-upload-pack"

スタックトレース:

org.eclipse.jgit.api.errors.TransportException: https://gitlab.com/induction/trainingplan.git: cannot open git-upload-pack 
    at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:196) 
    at org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:99) 
    at org.eclipse.egit.ui.internal.clone.SourceBranchPage$8.run(SourceBranchPage.java:324) 
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) 
Caused by: org.eclipse.jgit.errors.TransportException: https://gitlab.com/induction/trainingplan.git: cannot open git-upload-pack 
    at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:499) 
    at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:308) 
    at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:175) 
    ... 3 more 
Caused by: java.net.UnknownHostException: gitlab.com 
    at java.net.AbstractPlainSocketImpl.connect(Unknown Source) 
    at java.net.PlainSocketImpl.connect(Unknown Source) 
    at java.net.SocksSocketImpl.connect(Unknown Source) 
    at java.net.Socket.connect(Unknown Source) 
    at sun.security.ssl.SSLSocketImpl.connect(Unknown Source) 
    at sun.net.NetworkClient.doConnect(Unknown Source) 
    at sun.net.www.http.HttpClient.openServer(Unknown Source) 
    at sun.net.www.http.HttpClient.openServer(Unknown Source) 
    at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source) 
    at sun.net.www.protocol.https.HttpsClient.New(Unknown Source) 
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) 
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) 
    at java.net.HttpURLConnection.getResponseCode(Unknown Source) 
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown 

    Source) 

状況を治すために何ができるのか?

答えて

3

実際の原因は、背後に隠し:

Caused by: java.net.UnknownHostException: gitlab.com

これは設定があり、あなたがgitlab.comのDNSまたは最寄りのインターネット(ゲートウェイまたはDNSサーバ)ことを解決しようとした瞬間にオフラインになっていることを語っています故障している/正しく動作していない。

インターネットに接続し直して(または[プロキシ設定]にチェックを入れて)、希望のgitリポジトリを再度チェックアウトしてください。

希望します。

関連する問題