我正在尝试从gitlab提取数据我遇到错误 [英] I am trying to fetch data from gitlab i am facing error

查看:59
本文介绍了我正在尝试从gitlab提取数据我遇到错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正试图从git Lab提取我的网站内容,但是很遗憾,我遇到错误,请检查下面的内容,以及如何解决此问题.

I am trying to fetch my website content from git lab but unfortunately i am facing error please check below and how can i resolve this issue thanks.

   git fetch
    kex_exchange_identification: read: Connection reset by peer
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights

推荐答案

在我将git repo的远程URL从SSH切换到HTTPS之后,我解决了此问题.我的猜测是,这是由于GIT服务器施加的某些安全条件而发生的.

I fixed this issue after I switched remote URL of git repo from SSH to HTTPS. My guess is that this is occurring because of some security conditions imposed by GIT server.

https://docs.github.com/en/free-pro-team@latest/github/using-git/changing-a-remotes-url

这篇关于我正在尝试从gitlab提取数据我遇到错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆