问题遇到的现象和发生背景
mac idea之前可以拉去推送代码,之前推送代码的时候突然弹出了一个框输入账户密码,当时填的有误,然后再也无法修改了,现在拉去代码和推送代码都一直报错。试了网上的各种方法都无法成功,包括
1、file->settings->passwords 设置不保存密码 重启 但是重新拉去推送代码不弹出密码框,仍然报错。
2、在mac的钥匙链中搜索git相关的凭据删除,仍然无效。
始终不再弹出密码框,一直报错
问题相关代码,请勿粘贴截图
Invocation failed Server returned invalid Response.
java.lang.RuntimeException: Invocation failed Server returned invalid Response.
at externalApp.ExternalAppUtil.sendXmlRequest(ExternalAppUtil.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 externalApp.ExternalAppUtil.sendXmlRequest(ExternalAppUtil.java:19)
... 1 more
unable to read askpass response from '/Users/gxb/Library/Caches/JetBrains/IntelliJIdea2022.1/tmp/intellij-git-askpass-local.sh'
could not read Username for 'http://xxxx.xxxx:xxxx': Device not configured