前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >idea - fatal: could not read Username for ‘https://gitee.com‘: No such device or address

idea - fatal: could not read Username for ‘https://gitee.com‘: No such device or address

作者头像
翟凤玺
发布2021-12-07 15:41:33
1.6K0
发布2021-12-07 15:41:33
举报
文章被收录于专栏:翟凤玺翟凤玺

导读

  • idea在git push代码的时候,控台报错
代码语言:javascript
复制
Invocation failed Server returned invalid Response.
java.lang.RuntimeException: Invocation failed Server returned invalid Response.
	at org.jetbrains.git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:22)
	at org.jetbrains.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 org.jetbrains.git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:19)
	... 1 more
error: unable to read askpass response from '/home/zhai/.cache/JetBrains/IntelliJIdea2020.2/tmp/intellij-git-askpass-local.sh'
fatal: could not read Username for 'https://gitee.com': No such device or address

解决办法

  • idea顶部导航栏 -> File -> Settings (快捷键:ctrl + alt + s)
  • 搜索gitee
在这里插入图片描述
在这里插入图片描述
  • 重新登录一下gitee就可以了。
本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2021-05-11 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 导读
  • 解决办法
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档