Use push when using IntelliJ IDEA and WebStorm or share solutions to time-out when github.

And other related operations carried out push to github in the country are using the network timeout problems may occur.

 

Error message:         

Half are below this prompt:

  Push failed
            Invocation failed Server returned invalid Response.
            java.lang.RuntimeException: Invocation failed Server returned invalid Response.
            at org.jetbrains.git4idea.http.GitAskPassXmlRpcClient.askUsername(GitAskPassXmlRpcClient.java:50)
            at org.jetbrains.git4idea.http.GitAskPassApp.main(GitAskPassApp.java:64)
            Caused by: java.io.IOException: Server returned invalid Response.
            at org.apache.xmlrpc.LiteXmlRpcTransport.sendRequest(LiteXmlRpcTransport.java:242)
            at org.apache.xmlrpc.LiteXmlRpcTransport.sendXmlRpc(LiteXmlRpcTransport.java:90)
            at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
            at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
            at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
            at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
            at org.jetbrains.git4idea.http.GitAskPassXmlRpcClient.askUsername(GitAskPassXmlRpcClient.java:47)
            ... 1 more
            remote: No anonymous write access.
            Authentication failed for 'https://github.com/827652... (show balloon)

solution:

  1. Another network environment, such as the replaced data network or other WI-FI.
  2. Preferences (Mac) / Setting (Win) => Version Control => GitHub, and then the Connection timeout from the default 5s to 10s (if the network environment is too bad, you can increase even more.)

Published 122 original articles · won praise 25 · views 30000 +

Guess you like

Origin blog.csdn.net/HuoYiHengYuan/article/details/104667677