Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
ProGet Free is warning about using non-public repos
-
Hi.
My companies ProGet Free instance started to complain about being connected to another ProGet instance, except we are not connected to another ProGet instance. The exact error message is:
ProGet Free is only permitted to have a connector to public repositories. Please visit https://inedo.com/support or contact Inedo to upgrade to ProGet Enterprise or Basic.
This message is appearing on all our connectors:
- Chocolately.org,
- nuget.org,
- Microsoft and DotNet (a curated feed of Microsoft content from nuget.org)
- DevExpress
- Telerik
I have refreshed the license key, I've tried a new license key. Nothing seems to resolve the issue.
As of now, our ProGet server will not allow us to retrieve any packages from any of the above mentioned external feeds.
We are running ProGet version 5.2.30 (Build 4).
How can I get this resolved?
Thanks
-
Hello;
When you edit a connector on ProGet Free, that messaging ("ProGet Free is only permitted to have a connector to public repositories...") is informational. It's always displayed when creating or editing a connector, if your license key is free.
If you create a connector to another ProGet Free instance... or if another ProGet Free connects to your instance... then ProGet will detect this, and record a license violation. The License Violations Documentation should give some more information about how this works, but in any case, those violations are "informational only" and do prevent functionality of the software. It just displays the banner to make you aware of the restriction and violation.
What information is being shown under Admin > License Key > License Violations? That should record IP address and descriptions.
How are you changing the license key? When you change the license key (doesn't matter to what... even an invalid string), it will delete all recorded license violations.
Thanks,
Alana
-
Hello;
Actually, I think one of those public repositories you are connecting to is a ProGet instance, but it's (incorrectly) configured to warn when ProGet Free connects to it.
We're in touch with the vendor now and are providing them with the proper key to allow it.
Thanks.
Alana
-
Hi Alana:
Thank you for your response.
I changed the license key by requesting a new key via the “Request Trail/Free License” feature of MyInedo. Then using the Admin > License Key feature of ProGet, entered the key and then activated it.
After I’ve changed the license key, I tried several times to retrieve packages from nuget.org, via the dotnet command line, via VS2019 Package Manager Restore, and via the ProGet Web UI. I’m not able to download any package that is sourced from a connector. There no violations listed in Admin > License Key > License Violations page.
Also, any package that is sourced from a connector is not made available to the nuget restore, even if that package has been cached on the ProGet server.
Below is a list of errors from executing dotnet restore on one of my solutions.
The chocolatey, nuget, and MS curated feed are definitely all public. The Telerik and DevExpress feeds require username/password authentication.
I'm at a loss as to how to resolve this, since I don't feel that any of these feed violate the use license or restrictions.
Please advise as to next steps.
Thanks
marc
D:\Work\BN\ProductDataSystemsGitRepos\Tools\ren-aggregation\Version 2.0>dotnet restore renpostagg.sln Determining projects to restore... Failed to download package 'System.Threading.Tasks.Extensions.4.5.2' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/System.Threading.Tasks.Extensions/4.5.2'. Response status code does not indicate success: 502 (Cannot download package from connector). Failed to download package 'OctoPack.3.6.4' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/OctoPack/3.6.4'. Response status code does not indicate success: 500 (Cannot find the package in the package store.). Failed to download package 'System.Threading.Tasks.Extensions.4.5.2' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/System.Threading.Tasks.Extensions/4.5.2'. Response status code does not indicate success: 502 (Cannot download package from connector). Failed to download package 'OctoPack.3.6.4' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/OctoPack/3.6.4'. Response status code does not indicate success: 500 (Cannot find the package in the package store.). C:\Program Files\dotnet\sdk\3.1.300-preview-015135\NuGet.targets(128,5): error : Failed to download package 'System.Threading.Tasks.Extensions.4.5.2' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/System.Threading.Tasks.Extensions/4.5.2'. [D:\Work\BN\ProductDataSystemsGitRepos\Tools\ren-aggregation\Version 2.0\renpostagg.sln] C:\Program Files\dotnet\sdk\3.1.300-preview-015135\NuGet.targets(128,5): error : Response status code does not indicate success: 502 (Cannot download package from connector). [D:\Work\BN\ProductDataSystemsGitRepos\Tools\ren-aggregation\Version 2.0\renpostagg.sln] Failed to download package 'MongoDB.Bson.2.8.0' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/MongoDB.Bson/2.8.0'. Response status code does not indicate success: 500 (Cannot find the package in the package store.). Failed to download package 'System.Buffers.4.5.0' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/System.Buffers/4.5.0'. Response status code does not indicate success: 502 (Cannot download package from connector). Failed to download package 'MongoDB.Bson.2.8.0' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/MongoDB.Bson/2.8.0'. Response status code does not indicate success: 500 (Cannot find the package in the package store.). Failed to download package 'System.ValueTuple.4.5.0' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/System.ValueTuple/4.5.0'. Response status code does not indicate success: 502 (Cannot download package from connector). Failed to download package 'Snappy.NET.1.1.1.8' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/Snappy.NET/1.1.1.8'. Response status code does not indicate success: 502 (Cannot download package from connector). Failed to download package 'System.Runtime.CompilerServices.Unsafe.4.5.2' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/System.Runtime.CompilerServices.Unsafe/4.5.2'. Response status code does not indicate success: 502 (Cannot download package from connector). Failed to download package 'DnsClient.1.2.0' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/DnsClient/1.2.0'. Response status code does not indicate success: 502 (Cannot download package from connector). C:\Program Files\dotnet\sdk\3.1.300-preview-015135\NuGet.targets(128,5): error : Failed to download package 'OctoPack.3.6.4' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/OctoPack/3.6.4'. [D:\Work\BN\ProductDataSystemsGitRepos\Tools\ren-aggregation\Version 2.0\renpostagg.sln] C:\Program Files\dotnet\sdk\3.1.300-preview-015135\NuGet.targets(128,5): error : Response status code does not indicate success: 500 (Cannot find the package in the package store.). [D:\Work\BN\ProductDataSystemsGitRepos\Tools\ren-aggregation\Version 2.0\renpostagg.sln] C:\Program Files\dotnet\sdk\3.1.300-preview-015135\NuGet.targets(128,5): error : Failed to download package 'MongoDB.Bson.2.8.0' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/MongoDB.Bson/2.8.0'. [D:\Work\BN\ProductDataSystemsGitRepos\Tools\ren-aggregation\Version 2.0\renpostagg.sln] C:\Program Files\dotnet\sdk\3.1.300-preview-015135\NuGet.targets(128,5): error : Response status code does not indicate success: 500 (Cannot find the package in the package store.). [D:\Work\BN\ProductDataSystemsGitRepos\Tools\ren-aggregation\Version 2.0\renpostagg.sln] Failed to download package 'System.ValueTuple.4.5.0' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/System.ValueTuple/4.5.0'. Response status code does not indicate success: 502 (Cannot download package from connector). Failed to download package 'Snappy.NET.1.1.1.8' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/Snappy.NET/1.1.1.8'. Response status code does not indicate success: 502 (Cannot download package from connector). Failed to download package 'System.Runtime.CompilerServices.Unsafe.4.5.2' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/System.Runtime.CompilerServices.Unsafe/4.5.2'. Response status code does not indicate success: 502 (Cannot download package from connector). Failed to download package 'DnsClient.1.2.0' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/DnsClient/1.2.0'. Response status code does not indicate success: 502 (Cannot download package from connector). Failed to download package 'System.Buffers.4.5.0' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/System.Buffers/4.5.0'. Response status code does not indicate success: 502 (Cannot download package from connector). C:\Program Files\dotnet\sdk\3.1.300-preview-015135\NuGet.targets(128,5): error : Failed to download package 'Snappy.NET.1.1.1.8' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/Snappy.NET/1.1.1.8'. [D:\Work\BN\ProductDataSystemsGitRepos\Tools\ren-aggregation\Version 2.0\renpostagg.sln] C:\Program Files\dotnet\sdk\3.1.300-preview-015135\NuGet.targets(128,5): error : Response status code does not indicate success: 502 (Cannot download package from connector). [D:\Work\BN\ProductDataSystemsGitRepos\Tools\ren-aggregation\Version 2.0\renpostagg.sln] C:\Program Files\dotnet\sdk\3.1.300-preview-015135\NuGet.targets(128,5): error : Failed to download package 'DnsClient.1.2.0' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/DnsClient/1.2.0'. [D:\Work\BN\ProductDataSystemsGitRepos\Tools\ren-aggregation\Version 2.0\renpostagg.sln] C:\Program Files\dotnet\sdk\3.1.300-preview-015135\NuGet.targets(128,5): error : Response status code does not indicate success: 502 (Cannot download package from connector). [D:\Work\BN\ProductDataSystemsGitRepos\Tools\ren-aggregation\Version 2.0\renpostagg.sln] C:\Program Files\dotnet\sdk\3.1.300-preview-015135\NuGet.targets(128,5): error : Failed to download package 'System.Runtime.CompilerServices.Unsafe.4.5.2' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/System.Runtime.CompilerServices.Unsafe/4.5.2'. [D:\Work\BN\ProductDataSystemsGitRepos\Tools\ren-aggregation\Version 2.0\renpostagg.sln] C:\Program Files\dotnet\sdk\3.1.300-preview-015135\NuGet.targets(128,5): error : Response status code does not indicate success: 502 (Cannot download package from connector). [D:\Work\BN\ProductDataSystemsGitRepos\Tools\ren-aggregation\Version 2.0\renpostagg.sln] C:\Program Files\dotnet\sdk\3.1.300-preview-015135\NuGet.targets(128,5): error : Failed to download package 'System.ValueTuple.4.5.0' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/System.ValueTuple/4.5.0'. [D:\Work\BN\ProductDataSystemsGitRepos\Tools\ren-aggregation\Version 2.0\renpostagg.sln] C:\Program Files\dotnet\sdk\3.1.300-preview-015135\NuGet.targets(128,5): error : Response status code does not indicate success: 502 (Cannot download package from connector). [D:\Work\BN\ProductDataSystemsGitRepos\Tools\ren-aggregation\Version 2.0\renpostagg.sln] C:\Program Files\dotnet\sdk\3.1.300-preview-015135\NuGet.targets(128,5): error : Failed to download package 'System.Buffers.4.5.0' from 'http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs/package/System.Buffers/4.5.0'. [D:\Work\BN\ProductDataSystemsGitRepos\Tools\ren-aggregation\Version 2.0\renpostagg.sln] C:\Program Files\dotnet\sdk\3.1.300-preview-015135\NuGet.targets(128,5): error : Response status code does not indicate success: 502 (Cannot download package from connector). [D:\Work\BN\ProductDataSystemsGitRepos\Tools\ren-aggregation\Version 2.0\renpostagg.sln] C:\Program Files\dotnet\sdk\3.1.300-preview-015135\NuGet.targets(128,5): error : The feed 'B&N External Package Server [http://awwtng01.hq.bn-corp.com/nuget/ExternalLibs]' lists package 'System.ValueTuple.4.5.0' but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again. [D:\Work\BN\ProductDataSystemsGitRepos\Tools\ren-aggregation\Version 2.0\renpostagg.sln] C:\Program Files\dotnet\sdk\3.1.300-preview-015135\NuGet.targets(128,5): error : Unable to find package 'System.ValueTuple.4.5.0'. [D:\Work\BN\ProductDataSystemsGitRepos\Tools\ren-aggregation\Version 2.0\renpostagg.sln]
-
@msimkin_1572 said in ProGet Free is warning about using non-public repos:
After I’ve changed the license key, I tried several times to retrieve packages from nuget.org,
Let me clarify, we have aggregated all the external nuget feeds into one repo we call "ExternalLibs" on our instance of ProGet Free. All these external nuget feeds are configured as connectors.
So, when I state that I've tried several times to retrieve packages, all the package restore commands went against our "ExternalLibs" repo on the ProGet Free instance.
In this specific case, all the packages I'm having issues retrieving are hosted on the nuget.org servers.
-marc
-
HI Marc
These errors are unrelated to license restrictions or your license key.
Check out the errors on Admin > Diagnostic Center, they should be logged.
There must have been some configuration change on your server or network, perhaps a proxy server or new firewall restriction, that is preventing your ProGet server from retrieving the packages.
Alana
-
Ok. Thanks. I will hunt it down.