IDEA中GitHub将代码推送至远程库失败问题

一、提示如下:Push failed Invocation failed Server returned invalid Response

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.

二、分析原因:一般这种都是网络原因引起的。。。

三、解决方案:断开网络重连,并且查看你的github账号是否正常连接,如未能正常连接删除账号重新登录。

posted @ 2020-05-20 14:23  聚散彡流沙  阅读(2480)  评论(1编辑  收藏  举报