【问题标题】:Nexus - Nuget proxy configuration of Nexus Remote Automatically blocked and UnavailableNexus - Nexus Remote 的 Nuget 代理配置自动被阻止且不可用
【发布时间】:2016-01-07 09:08:27
【问题描述】:

我正在尝试集成 Nexus 存储库 OSS 来管理 NuGet 存储库。我按照教程here。 https://www.youtube.com/watch?v=FvurW9XsLN0

我为https://www.nuget.org/api/v2/ 添加了代理存储库 代理存储库状态显示正在服务中 - 远程自动阻止且不可用

我可以通过默认包源访问 Nuget 包。 但是使用代理存储库,我无法通过包管理器获取包。

我尝试在 nexus 中启用/禁用自动阻止属性 将 nuget.org 替换为其 ip 地址

什么可能导致这个问题? 这是因为任何防火墙设置吗? 所有默认代理存储库的状态也相同。 如果是这样,我该如何纠正?

请帮忙。 日志文件显示在下方

WARN  [qtp22907850-51] anonymous com.sonatype.nexus.plugins.nuget.passthrough.PassThroughNugetGallery - Exception attempting to contact proxied repository nuget-proxy.
java.util.concurrent.ExecutionException: org.sonatype.nexus.proxy.RemoteStorageException: Transport error while executing GET method [repositoryId="nuget-proxy", requestPath="Search?$filter=IsLatestVersion&$orderby=DownloadCount%20desc,Id&$skip=0&$top=80&searchTerm=''&targetFramework='net45'&includePrerelease=false", remoteUrl="https://191.236.146.247/api/v2/Search?$filter=IsLatestVersion&$orderby=DownloadCount%20desc,Id&$skip=0&$top=80&searchTerm=''&targetFramework='net45'&includePrerelease=false"]

【问题讨论】:

    标签: repository nuget nexus


    【解决方案1】:

    我的坏。没有意识到我在代理服务器后面。一旦我从我们通常使用的 .pac 文件设置 HTTP 代理,存储库就开始运行。 :)

    【讨论】:

      猜你喜欢
      • 2015-08-06
      • 2021-08-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多