git更新的bug

文章目录

  • [1. 问题](#1. 问题)
  • [2. 分析](#2. 分析)

1. 问题

拉取了一个项目后遇到了这个问题,

nvocation 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 unable to read askpass response from 'C:\Users\YUEXU\AppData\Local\JetBrains\IntelliJIdea2021.3\tmp\intellij-git-askpass-local.sh' bash: line 1: /dev/tty: No such device or address failed to execute prompt script (exit code 1) could not read Username for 'https://codeup.aliyun.com': No such file or directory

说明什么,这个错误表明 IntelliJ IDEA 的 Git 集成 在尝试访问 Git 仓库时遇到了 认证问题,特别是当尝试从 https://codeup.aliyun.com(阿里云 Codeup)拉取或推送代码时。

错误的关键信息:

Server returned invalid Response → Git 服务器返回了无效的响应(可能是认证失败或代理问题)。
unable to read askpass response → IntelliJ 的 Git 认证辅助脚本 (intellij-git-askpass-local.sh) 无法执行。

could not read Username for 'https://codeup.aliyun.com' → Git 无法获取用户名(可能未正确配置凭据)。

2. 分析

因为你当下的git没有权限,所以导致无法更新。我们更新一下账户就好了。

在setting中,搜索 密码/password 就行。

先点击不保存,然后重启。

你再次更新就会出现一个弹窗,需要你填写一下,然后填写有权限的账号,接着再找到这个界面,点击保存就行。

相关推荐
vistaup7 小时前
windows git 更新当前目录下所有的文件(非递归)
windows·git
王码码20358 小时前
Flutter for OpenHarmony:Flutter 三方库 algoliasearch 毫秒级云端搜索体验(云原生搜索引擎)
android·前端·git·flutter·搜索引擎·云原生·harmonyos
Irene199111 小时前
Git 命令汇总表(基于一次完整的 Git 实战经验整理,涵盖从安装配置到日常开发、问题排查的所有常用命令)
git·常用命令
q54314708712 小时前
Redis Desktop Manager(Redis可视化工具)安装及使用详细教程
redis·git·bootstrap
素雨迁喜14 小时前
Linux平台下git工具的使用
linux·运维·git
Irene199116 小时前
Windows环境,VS Code 中 Git 配置指南
git·基础配置
Yang-Never17 小时前
AI Code -> Windows电脑安装Claude
开发语言·windows·git
Irene199117 小时前
2026 前端开发 Windows 安装 Git 配置指南(有实际安装过程参考:适配版本 the latest 2.53.0(2) x64 )
前端·windows·git
早起的年轻人17 小时前
告别Git仓库臃肿:一招解决Maven target目录误提交问题
java·git·maven
sg_knight17 小时前
Claude Code 如何辅助定位 Bug 和问题代码
java·前端·bug·ai编程·claude·code·claude-code