【问题标题】:ssh: Could not resolve hostname github.com [closed]ssh:无法解析主机名 github.com [关闭]
【发布时间】:2020-06-22 19:50:17
【问题描述】:

您好,当我尝试从远程存储库 github 拉取数据时出现此错误

youssef@alyAppTest:~/alyBackend$ git pull origin master
ssh: Could not resolve hostname github.com: No address associated with hostname
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

我不知道为什么,几分钟前它还可以正常工作。

当我运行 git remote -v 它仍然指向正确的存储库

还检查下面的文件..git/config,它似乎具有正确的值


[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[remote "origin"]
        url = git@github.com:{USERNAME}/{REPOS}.git
        fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
        remote = origin
        merge = refs/heads/master

我最近对服务器所做的事情: 我确实使用了很多拉和推命令这些命令的数量有限制吗?

我也确实在我的服务器上安装了 nginx,会不会有影响

【问题讨论】:

    标签: node.js git nginx github


    【解决方案1】:

    我也有同样的问题。 Github 状态页面显示他们目前遇到问题:https://www.githubstatus.com/

    编辑: 状态页面已更新

    更新 - 我们的域名服务器的更新已回滚。我们正在监测恢复情况。 世界标准时间 6 月 22 日 20:00

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-02-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-09-23
    • 2021-01-10
    相关资源
    最近更新 更多