当前位置:   article > 正文

git push报错Missing or invalid credentials.Error: connect ECONNREFUSED /run/user/1000/vscode-git-ec01_missing or invalid credentials. error: connect eco

missing or invalid credentials. error: connect econnrefused /run/user/1000/v

 前天晚上写完相关的代码没有测试就commit了,今天想着测试一下然后push,debug完了之后突然发现和gitee的连接出现了问题,遂搜索了一番找到了解决方案。

报错如下:

  1. wishmeluck@wishmeluck:~/muduo_chat_server$ git push origin master
  2. Missing or invalid credentials.
  3. Error: connect ECONNREFUSED /run/user/1000/vscode-git-ec011034bf.sock
  4. at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
  5. errno: -111,
  6. code: 'ECONNREFUSED',
  7. syscall: 'connect',
  8. address: '/run/user/1000/vscode-git-ec011034bf.sock'
  9. }
  10. remote: [session-fc456392] Unauthorized
  11. fatal: Authentication failed for 'https://gitee.com/leehaunan/muduo_chat_server'

解决:文件 --> 首选项 --> 搜索git.auth...,取消勾选后重新勾选,然后重启终端。问题解决。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/繁依Fanyi0/article/detail/419551
推荐阅读
相关标签
  

闽ICP备14008679号