刚开始用coding时候,发现idea连不上coding,克隆项目一直报gitee的错误,下面是一部分的报错
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\你的用户名\AppData\Local\JetBrains\IntelliJIdea2021.2\tmp\intellij-git-askpass-local.sh'
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://e.coding.net': No such file or directory
然后我就一直用小乌龟和git命令来操作,但是这不是办法,终于我还是找到了原因
其实并不是gitee插件的问题,是因为idea对特殊字符进行了转义,我的密码包含了@特殊字符,所以idea并不能识别到@,所以密码一直是错误的,也不可能连接的到。
解决办法就是修改coding的密码,发现就连上了,记得修改完coding的密码,也要修改本地的凭据密码,如何寻找凭据只需要在设置里面搜索凭据管理器就行了,找到coding.net,
修改你的密码,就可以连接成功了
|