zoukankan      html  css  js  c++  java
  • 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账号是否正常连接,如未能正常连接删除账号重新登录。

  • 相关阅读:
    go包初始化顺序
    go map
    go包管理
    C++ 线程池
    RAFT共识算法笔记
    最大子序列和
    常见网络攻击及其防御
    go常用标准库功能
    using代替typedef
    typename和class的区别
  • 原文地址:https://www.cnblogs.com/54hsh/p/12923370.html
Copyright © 2011-2022 走看看