当前位置: 首页 > news >正文

git更新的bug

文章目录

  • 1. 问题
  • 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 就行。
先点击不保存,然后重启。

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

相关文章:

  • C/C++语言常见问题-智能指针、多态原理
  • ES|QL,知道吗,专为搜索而生 —— 推出评分和语义搜索
  • Elasticsearch的Java客户端库QueryBuilders查询方法大全
  • 【Amazon 工具】在MacOS本地安装 AWS CLI、kubectl、eksctl工具
  • 【Windows上配置Git环境】
  • 关于 AI驱动的智慧家居、智慧城市、智慧交通、智慧医疗和智慧生活 的详细解析,涵盖其定义、核心技术、应用场景、典型案例及未来趋势
  • AI与物联网的深度融合:开启智能生活新时代
  • 健康养生:开启活力生活的密钥
  • 极狐GitLab CI/CD 流水线计算分钟数如何管理?
  • ubuntu24.04离线安装deb格式的mysql-community-8.4.4
  • 在激烈竞争下B端HMI设计怎样打造独特用户体验?
  • 关于 IntelliJ IDEA 中频繁出现的 Kotlin 及其核心作用
  • 仿苹果备忘录APP:简洁界面,记录生活点滴
  • Windows 图形显示驱动开发-WDDM 1.2功能—Windows 8 中的 DirectX 功能改进(三)
  • 【Python】python系列之函数闭包概念
  • 某视频解析网站JS逆向思路
  • digital envelope routines::unsupported
  • 如何恢复极狐GitLab?
  • 基于html实现的课题随机点名
  • 文件系统 软硬连接
  • 国家统计局:消费对我国经济增长的拉动有望持续增长
  • 2025吉林市马拉松开跑,用赛道绘制“博物馆之城”动感地图
  • 俄需要达成怎样的特别军事行动结果?普京:包含四个方面
  • 杨建全已任天津市委副秘书长、市委市政府信访办主任
  • 2025年“新时代网络文明公益广告”征集展示活动在沪启动
  • 缅甸内观冥想的历史漂流:从“人民鸦片”到东方灵修