IDEA推送给代码报错unable to read askpass response from

Invocation failed Server returned invalid Response.
java.lang.RuntimeException: Invocation failed Server returned invalid Response.
    at git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:22)
    at git4idea.http.GitAskPassApp.main(GitAskPassApp.java:56)
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 git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:19)
    ... 1 more
error: unable to read askpass response from 'C:\Users\QKN\AppData\Local\JetBrains\IntelliJIdea2021.3\tmp\intellij-git-askpass-local.sh'
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)

IDEA推送给代码报错unable to read askpass response from_第1张图片

报错原因:

用户信息认证失败。为什么会认证失败了?

① IDEA中GIT的插件坏掉了;

② 账号信息变动,比如,修改可账号的密码或者用户名。

解决办法

① 重新安装或者禁用插进后,然后重新启动IDEA;

② 重新登录。

最后就成功推送:

IDEA推送给代码报错unable to read askpass response from_第2张图片: 

你可能感兴趣的:(Java,intellij-idea,java,ide)