【问题标题】:VPS with Ubuntu 20.04: Cannot connect to Github带有 Ubuntu 20.04 的 VPS:无法连接到 Github
【发布时间】:2021-05-13 03:39:38
【问题描述】:

我正在设置一个 VPS,它应该托管一个 RStudio 实例和闪亮的服务器。

我似乎在与 Github 交流方面遇到了麻烦。我已经建立了一个 Git 存储库并想对其进行测试:

git push -u origin master
fatal: konnte nicht auf 'https://github.com/***.git/' zugreifen: Couldn't connect to server

当我尝试从 Github 安装 R 库时也是如此。

sudo su - -c "R -e \"devtools::install_github('***')\""
Fehler: Failed to install 'unknown package' from GitHub:
Couldn't connect to server

我禁用了 ufw,但没有任何变化。对你有什么帮助有什么想法吗?

另外:不确定是否相关,但安装 RStudio 服务器也会产生错误:

sudo rstudio-server verify-installation
ERROR system error 1 (Operation not permitted); OCCURRED AT rstudio::core::Error rstudio::core::system::setResourceLimit(rstudio::core::system::ResourceLimit, RLimitType, RLimitType) src/cpp/core/system/PosixSystem.cpp:1485; LOGGED FROM: int main(int, char* const*) src/cpp/server/ServerMain.cpp:569

【问题讨论】:

    标签: ubuntu github vps shiny-server rstudio-server


    【解决方案1】:

    回答:VPS 运行在 Github 目前不支持的 IPv6 上。

    【讨论】:

      猜你喜欢
      • 2021-11-05
      • 1970-01-01
      • 2022-11-10
      • 2022-10-25
      • 1970-01-01
      • 2013-08-23
      • 1970-01-01
      • 2021-08-24
      相关资源
      最近更新 更多