netbeans无法打开git-upload-pack

问题描述 投票:0回答:1

今天我试图将改变上传到我的git工作,所以我可以继续在家工作。和往常一样。直到我发现我不能再推动变化了。我已经检查了日志文件并找到了这个

INFO [org.netbeans.modules.git.ui.repository.remote.SelectUriStep]: Cannot connect to https://github.com/someuser/someproject
java.net.SocketException: Socket is not connected: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1199)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1040)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1038)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1037)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)
at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91)
at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484)
at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347)
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)
Caused: org.eclipse.jgit.errors.TransportException: https://[email protected]/someuser/someproject

:无法在org.netbeans的org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:309)的org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:524)上打开git-upload-pack .libs.git.jgit.commands.ListRemoteObjectsCommand.runTransportCommand(ListRemoteObjectsCommand.java:74)引发:org.netbeans.libs.git.GitException:https://[email protected]/someuser/someproject:无法在org.netbeans.libs.git.jgit上打开git-upload-pack位于org.netbeans.libs.git.jgit.commands.TransportCommand的org.netbeans.libs.git.jgit.commands.ListRemoteObjectsCommand.runTransportCommand(ListRemoteObjectsCommand.java:87)的.commands.TransportCommand.handleException(TransportCommand.java:261) .run(TransportCommand.java:191)org.netbeans.libs.git.jgit.commands.GitCommand $ 1.run(GitCommand.java:80)org.netbeans.libs.git.jgit.commands.GitCommand $ 1.run (GitCommand.java:77)位于org.netbeans.lib的org.netbeans.libs.git.jgit.commands.GitCommand.execute(GitCommand.java:77)的java.security.AccessController.doPrivileged(Native Method) s.git.GitClient.listRemoteBranches(GitClient.java:916)atg.netbeans.modules.git.client.GitClient $ 36.call(GitClient.java:605)org.netbeans.modules.git.client.GitClient $ 36。调用(GitClient.java:601)org.openide.util.NetworkSettings.suppressAuthenticationDialog(NetworkSettings.java:140)org.netbeans.modules.git.client.GitClient $ CommandInvoker $ 1 $ 1.call(GitClient.java:954)在org.netbeans.modules.git.client.GitClient $ CommandInvoker $ 1.call(GitClient.java:979)org.netbeans.modules.git.client.GitClient $ CommandInvoker.runMethodIntern(GitClient.java:991)at org。 netbeans.modules.git.client.GitClient $ CommandInvoker.runMethod(GitClient.java:920)位于org.netbeans.modules的org.netbeans.modules.git.client.GitClient $ CommandInvoker.runMethod(GitClient.java:898)。 git.client.GitClient $ CommandInvoker.access $ 400(GitClient.java:892)org.netbeans.modules.git.client.GitClient.listRemoteBranches(GitClient.java:601)[catch] at org.netbeans.modules.git。 ui.repository.remote.SelectUriStep $ 2.perform(在org.netbeans.modules.git.client.GitProgressSupport.performIntern(GitProgressSupport.java:115)的org.netbeans.modules.git.client.GitProgressSupport.run(GitProgressSupport.java:108)org.net上的SelectUriStep.java:263)位于org.openide.util.lookup.Lookups.executeWith的org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)中的.openide.util.RequestProcessor $ Task.run(RequestProcessor.java:1443) (Lookups.java:303)org.openide.util.RequestProcessor $ Processor.run(RequestProcessor.java:2058)警告[org.netbeans.modules.progress.spi.InternalHandle]:无法调用从未执行过的任务从org.netbeans.modules.git.client.GitProgressSupport.setProgressMessage开始(GitProgressSupport.java:281)

我在互联网上发现了一些类似的错误,但是大部分错误都是由SSL握手异常引起的,或类似的东西。在这种情况下是不同的,我找不到解决方案。 CCan有人帮帮我吗?谢谢

git netbeans push
1个回答
0
投票

这是工作网络的问题(代理地址错误)。一旦我切换到我的个人WiFi热点,它就有效了

© www.soinside.com 2019 - 2024. All rights reserved.