【问题标题】:Nexus (proxy)Repository Connection pending on remote storage And 404 on repository accesNexus(代理)存储库连接挂起远程存储和存储库访问 404
【发布时间】:2016-09-17 19:15:54
【问题描述】:

我已经设置了一个 sonatype Nexus 3.0.0-03。并尝试配置代理存储库。

问题

  • 已创建的存储库不可访问。 404 如果我只是打开存储库URL
  • 存储库概览中的状态为Online - Remote Connection Pending...
我已设置的存储库的

类型格式

  • 代理,npm
  • 代理,nuget
  • 代理,行家

目标是代理远程 Nexus npm 存储库并将其用作 npm 注册表。


附加信息:

  • 我无法访问远程 Nexus 的设置,但据我了解,这甚至没有必要。
  • 可以使用 npm 访问远程存储库。
  • 我已经尝试在创建的存储库上使用 npm install 并且它不起作用。我的 Nexus 没有从远程 Nexus 的存储库中获取。

【问题讨论】:

    标签: proxy npm nexus


    【解决方案1】:

    解决通过更正代理设置。 主机无法访问,因为公司 Nexus 无法从公司网络外部访问,而是从公司网络内部访问。

    我不得不将 no_proxyNO_PROXY 环境变量从 *.company.com 更改为 .company.com

    *.company.com 不适用于nexus.company.com

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-08-19
      • 2021-05-12
      • 1970-01-01
      • 1970-01-01
      • 2015-01-18
      • 2011-06-14
      • 1970-01-01
      • 2019-03-11
      相关资源
      最近更新 更多