Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. kc_2466
    3. Posts

    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!

    K Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 16
    • Posts 36
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Publishing NPM Packages - Assigning Tasks/Permissions

      I'm using the built-in/unmodified publish packages task. Also note, I'm using the free edition.

      I've tried 'specific users...' and 'specific groups...' - but the same happen with either.
      In the "tasks" box i'm only adding the 'publish packages' task.

      I've tried the specific feed i want to allow publishing to, and that fails.
      I've tried <NPM> which is the feed group - which also fails.
      However choosing <all feeds and groups> allows successful publishing.

      The client is using the API key for auth I believe.

      posted in Support
      K
      kc_2466
    • Publishing NPM Packages - Assigning Tasks/Permissions

      When assigning tasks/permissions to publish NPM packages in ProGet, it seems to be necessary to give 'publish packages' permission for 'all feeds'. Specifying one specific feed, or even the NPM group is not sufficient, and results in the npm publish failing.

      ProGet version 2024.36 (build 5)

      posted in Support
      K
      kc_2466
    • RE: Aggregating 2 Feeds in ProGet Free Edition

      I've now found a cleaner way of adding this entry to the host file...

      If using docker run, add the argument:

      --add-host=<host_server_name>=127.0.0.1
      

      if using a docker compose file, add an entry:

      extra_hosts:
          - "<host_server_name>: 127.0.0.1"
      
      posted in Support
      K
      kc_2466
    • RE: Aggregating 2 Feeds in ProGet Free Edition

      To be fair, i think i might have a bigger problem - i may have corrupted my database somehow.
      If I go to the Feeds, and then click 'connectors', i get I get a 500 error "Invalid Feed type".

      An error occurred in the web application: Invalid feed type.
      
      URL: http://<servername>/connectors
      Referrer: http://<servername>/feeds
      User: <username>
      User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
      Stack trace:    at Inedo.ProGet.Feeds.Connector.GetConnector(Connectors dbConnector) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E523495\Src\ProGetCoreEx\Feeds\Connector.cs:line 234
         at Inedo.ProGet.WebApplication.Pages.Connectors.ListConnectorsPage.CreateChildControls() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E523495\Src\ProGet.WebApplication\Pages\Connectors\ListConnectorsPage.cs:line 38
         at Inedo.ProGet.WebApplication.Pages.ProGetSimplePage.InitializeAsync() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E523495\Src\ProGet.WebApplication\Pages\ProGetSimplePage.cs:line 56
         at Inedo.Web.PageFree.SimplePageBase.ExecutePageLifeCycleAsync()
         at Inedo.Web.PageFree.SimplePageBase.ProcessRequestAsync(AhHttpContext context)
         at Inedo.Web.AhWebMiddleware.InvokeAsync(HttpContext context)
      
      ::Web Error on 02/07/2025 15:52:30::
      

      I've tried deleting all the Cargo feeds to try and fix the issue, and then re-created them, but that's not helped.

      posted in Support
      K
      kc_2466
    • Formatting issue on webpage for Cargo aggregate feed

      ProGet Version 2024.25 (build 11)

      On our Cargo aggregated feed the formatting of the description on the webpage for the feed appears to be incorrect:
      1bde9259-a1a5-473a-a525-d19196cbd40d-image.png

      However looking at the same package on the feed that caches from the internet it works correctly:
      eb36e62d-6750-4862-a9a5-1ae675740f44-image.png

      posted in Support
      K
      kc_2466
    • RE: Aggregating 2 Feeds in ProGet Free Edition

      Hi @gdivis

      Ah yes, i was on 2024.0.25 build 10 (interesting to note that 24.0.25-ci10 shows up on https://proget.inedo.com/containers/repositories/ProductImages/inedo/proget/overview in the 'recent images' section of the overview tab, but 24.0.25-ci11 doesn't (but it is listed in 'all tags')

      I've now switched over to 2024.0.25-ci11 but still have the same problem.

      An error occurred processing a GET request to http://<servername>/cargo/cargo-aggregate/bi/tf/bitflags: The remote server returned an error: (404) Not Found.
      
      System.Net.WebException: The remote server returned an error: (404) Not Found.
         at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
         at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
      --- End of stack trace from previous location ---
         at System.Net.WebRequest.GetResponseAsync()
         at Inedo.ProGet.GlobalExtensions.GetResponseAsync(HttpWebRequest request, CancellationToken cancellationToken) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E523661\Src\ProGetCoreEx\GlobalExtensions.cs:line 36
         at Inedo.ProGet.Feeds.Connector.GetDirectResponseAsync(String url, CancellationToken cancellationToken) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E523661\Src\ProGetCoreEx\Feeds\Connector.cs:line 525
         at Inedo.ProGet.Feeds.Cargo.CargoConnector.GetPackagesAsync(PackageNameId name, String version, CancellationToken cancellationToken)+MoveNext() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E523661\Src\ProGetCoreEx\Feeds\Cargo\CargoConnector.cs:line 96
         at Inedo.ProGet.Feeds.Cargo.CargoConnector.GetPackagesAsync(PackageNameId name, String version, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
         at Inedo.ProGet.Feeds.StandardCanonicalPackageFeed`5.AggregateWithConnectors(IEnumerable`1 localPackages, Func`3 getConnectorPackages, CancellationToken cancellationToken)+MoveNext() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E523661\Src\ProGetCoreEx\Feeds\StandardCanonicalPackageFeed.cs:line 395
         at Inedo.ProGet.Feeds.StandardCanonicalPackageFeed`5.AggregateWithConnectors(IEnumerable`1 localPackages, Func`3 getConnectorPackages, CancellationToken cancellationToken)+MoveNext() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E523661\Src\ProGetCoreEx\Feeds\StandardCanonicalPackageFeed.cs:line 395
         at Inedo.ProGet.Feeds.StandardCanonicalPackageFeed`5.AggregateWithConnectors(IEnumerable`1 localPackages, Func`3 getConnectorPackages, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
         at System.Collections.Generic.AsyncEnumerableHelpers.ToArrayWithLength[T](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/AsyncEnumerableHelpers.cs:line 49
         at System.Collections.Generic.AsyncEnumerableHelpers.ToArrayWithLength[T](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/AsyncEnumerableHelpers.cs:line 41
         at System.Linq.OrderedAsyncEnumerable`1.ToListAsync(CancellationToken cancellationToken)
         at Inedo.ProGet.WebApplication.FeedEndpoints.Cargo.CargoIndexHandler.ProcessRequestAsync(AhHttpContext context, WebApiContext apiContext, CargoFeed feed, String relativeUrl) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E523661\Src\ProGet.WebApplication\FeedEndpoints\Cargo\CargoIndexHandler.cs:line 68
         at Inedo.ProGet.WebApplication.FeedEndpoints.Cargo.CargoFeedHandler.ProcessRequestAsync(AhHttpContext context, WebApiContext apiContext, CargoFeed feed, String relativeUrl) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E523661\Src\ProGet.WebApplication\FeedEndpoints\Cargo\CargoFeedHandler.cs:line 107
         at Inedo.ProGet.WebApplication.FeedEndpoints.CanonicalFeedHandler`1.Inedo.Web.IHttpAsyncHandler.ProcessRequestAsync(AhHttpContext context) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E523661\Src\ProGet.WebApplication\FeedEndpoints\CanonicalFeedHandler.cs:line 85
      
      ::Web Error on 02/07/2025 10:07:23::
      
      posted in Support
      K
      kc_2466
    • RE: Aggregating 2 Feeds in ProGet Free Edition

      ProGet Version 2024.25
      I've found exactly the same problem exists with Rust Crates... You can access all the packages correctly in the cargo-external feed.

      However if you create a feed (cargo-aggregate) to aggregate cargo-external and cargo-internal then you can see the packages listed on the feed page for cargo-aggregate, but if you try to click through to any of the packages, or you try to download from this feed via cargo, then you get a 500 error.
      (Note: caching is switched off on the aggregate feed)

      posted in Support
      K
      kc_2466
    • ProGet can't download Rust Crates where the name is 3 letters long or shorter

      Proget version : 2024.25
      Steps to reproduce:
      Create a new rust project 'cargo new <projectname>'

      edit cargo.toml - in the dependencies section add one of the following:
      syn = "2.8.0"
      log = "0.4.25"
      num = "0.4.3"

      then run 'cargo build' - cargo fails to download any of these packages.

      however trying packages:
      libc = "0.2.169"
      rand = "0.9.0"

      these work perfectly.

      posted in Support
      K
      kc_2466
    • RE: Aggregating 2 Feeds in ProGet Free Edition

      @gdivis - Brilliant, I've just switched over to 2024.25, and they both are now working perfectly.
      PyPi still isn't showing any packages in on the webpage for the feed - but that's not essential.
      Thanks for the impressive swift resolution.

      posted in Support
      K
      kc_2466
    • RE: Aggregating 2 Feeds in ProGet Free Edition

      For the PyPi feed:

      An error occurred processing a GET request to http://servername/pypi/pypi-aggregate/download/package_name/0.0.10/package_name-0.0.10-py3-none-any.whl: Specified method is not supported.
      
      System.NotSupportedException: Specified method is not supported.
         at System.Net.Http.HttpBaseStream.get_Length()
         at Inedo.IO.DisposingStream.get_Length()
         at Inedo.Web.AhHttpResponse.TransmitStreamAsync(Stream stream, String fileName, String contentType, Nullable`1 contentLength)
         at Inedo.ProGet.WebApplication.FeedEndpoints.Pypi.PackageDownloadHandler.ProcessRequestAsync(AhHttpContext context, WebApiContext apiContext, PypiFeed feed, String relativeUrl)
         at Inedo.ProGet.WebApplication.FeedEndpoints.Pypi.PypiHandler.ProcessRequestAsync(AhHttpContext context, WebApiContext apiContext, PypiFeed feed, String relativeUrl) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E520165\Src\ProGet.WebApplication\FeedEndpoints\Pypi\PypiHandler.cs:line 34
         at Inedo.ProGet.WebApplication.FeedEndpoints.FeedEndpointHandler.FeedRequestHandler.ProcessRequestAsync(AhHttpContext context) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E520165\Src\ProGet.WebApplication\FeedEndpoints\FeedEndpointHandler.cs:line 191
      
      ::Web Error on 01/24/2025 08:48:40::
      

      And for the NPM Feed:

      An error occurred processing a GET request to http://servername/npm/npm-aggregate/@company_name/package_name/-/package_name-1.0.28.tgz: Specified method is not supported.
      
      System.NotSupportedException: Specified method is not supported.
         at System.Net.Http.HttpBaseStream.get_Length()
         at Inedo.IO.DisposingStream.get_Length()
         at Inedo.Web.AhHttpResponse.TransmitStreamAsync(Stream stream, String fileName, String contentType, Nullable`1 contentLength)
         at Inedo.ProGet.WebApplication.FeedEndpoints.Npm.NpmPackageDownloadHandler.TryProcessRequestAsync(AhHttpContext context, WebApiContext apiContext, NpmFeed feed, String relativeUrl)
         at Inedo.ProGet.WebApplication.FeedEndpoints.Npm.NpmHandler.ProcessRequestAsync(AhHttpContext context, WebApiContext apiContext, NpmFeed feed, String relativeUrl) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E520165\Src\ProGet.WebApplication\FeedEndpoints\Npm\NpmHandler.cs:line 111
         at Inedo.ProGet.WebApplication.FeedEndpoints.FeedEndpointHandler.FeedRequestHandler.ProcessRequestAsync(AhHttpContext context) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E520165\Src\ProGet.WebApplication\FeedEndpoints\FeedEndpointHandler.cs:line 191
      
      ::Web Error on 01/24/2025 09:20:33::
      

      In both cases if I change the feed name in the URL to pypi-internal or npn-internal as applicable, then those files are downloaded correctly.

      It's also worth noting that in the web user interface neither the pypi-aggregate nor the npm-aggregate feeds show any packages on the feed's page.

      The URLs that the connectors are configured to are of the form:
      http://servername/pypi/pypi-internal/simple
      and
      http://servername/npm/npm-internal/

      posted in Support
      K
      kc_2466
    • RE: Aggregating 2 Feeds in ProGet Free Edition

      I've now tested aggregating 2 feeds for NuGet, Conan, NPM and PyPi with mixed results:

      NuGet aggregate feed works absolutely perfectly.

      Conan aggregate feed essentially works perfectly - however when you fetch a new Conan package from the aggregate feed, it doesn't show up in the package list in the web-ui of the "conan-external" feed which is set to cache. (note the aggregate feed is not set to cache). However it looks like any dependencies of that package are showing up as fetched.

      PyPi aggregate feed doesn't work at all (although both the internal and external feeds are working separately):

      > pip install yolk3k
      Looking in indexes: http://<servername>/pypi/pypi-aggregate/simple
      Collecting yolk3k
      ERROR: Could not install packages due to an OSError: HTTPConnectionPool(host='<servername>', port=80): Max retries exceeded with url: /pypi/pypi-aggregate/download/yolk3k/0.9/yolk3k-0.9.tar.gz (Caused by ResponseError('too many 500 error responses'))
      

      NPM aggregate feed doesn't work at all either (although both the internal and external feeds are working separately):

      > npm i zlib
      (very long pause)
      npm error code E500
      npm error 500 Internal Server Error - GET http://<servername>/npm/npm-aggregate/zlib/-/zlib-1.0.5.tgz - NotSupportedException
      npm error A complete log of this run can be found in: /home/???/.npm/_logs/2025-01-23T14_41_20_729Z-debug-0.log
      
      posted in Support
      K
      kc_2466
    • Conan feed not fully working

      I've created a Conan feed in ProGet (Free edition - 2024.24) to connect to conan.io, but it doesn't appear to fully work.

      i've added a new remote 'proget' to conan on the client as per:
      https://docs.inedo.com/docs/proget/feeds/conan

      If i do a conan install using a conanfile, then all is working perfectly.

      However if I execute a conan download command i get the following result:

      > conan download -r proget zlib/1.3.1:*
      ERROR: b'expected files after revision'. [Remote: proget]
      

      The same command works correctly on our other (not ProGet) conan server

      Tested using Conan client version 2.9.2 and 2.11.0

      posted in Support
      K
      kc_2466
    • RE: Aggregating 2 Feeds in ProGet Free Edition

      Many thanks, i've now resolved the violation issue. It was very helpful to be able to clear the violation list to be able to see what was going on. Will the violation banner disappear on it's own in due course?

      The solution was to add an entry in /etc/hosts in the docker container - I hadn't got it quite right previously. To do this:

      docker exec -it proget bash
      printf "127.0.0.1 <host_server_name>\n" >> /etc/hosts
      
      posted in Support
      K
      kc_2466
    • RE: Aggregating 2 Feeds in ProGet Free Edition

      I've found other forum posts that suggests unsetting Web.BaseURL or creating an entry in /etc/hosts which maps the machine name to 127.0.0.1 - but neither of these seem to help.

      posted in Support
      K
      kc_2466
    • RE: Aggregating 2 Feeds in ProGet Free Edition

      Thanks for the explanation - i think i've managed to resolve the connection refused issue, but that hasn't resolved the problem, and I now also have a error reporting license violations.

      I had originally mapped port 80 on the docker container to port 8080, as my docker was running rootless, and it wouldn't bind to ports below 1024. However confusingly when tring to connect to the host machine on port 8080 from inside the container it resulted in connection refused... but port 80 seemed to be accepting connections (even though there was no service running on port 80 on the host).

      So switching back to port 80 seemed like the easiest solution - which has made the errors reporting connection refused disappear, however I now have a red banner reporting license violations, and the aggregate feed still doesn't work. (maybe the violation detection blocks the feeds in question?).

      Does the license violation work when using docker containers? In that does it understand that the container running ProGet isn't the same machine as the machine apparently providing the feeds (which is the docker host)

      Alternatively have I caused this problem by changing the port number which makes it look like a different instance, and there is still a reference to port 8080 somewhere. (i've updated Advanced Settings -> Web.BaseURL)

      posted in Support
      K
      kc_2466
    • Aggregating 2 Feeds in ProGet Free Edition

      I'm currently evaluating ProGet using the Free Edition.

      I've setup a feed 'npm-internal' with no connectors to act as storage for internal packages
      I've also setup a feed 'npm-external' to proxy and cache registry.npmjs.org

      I would like to be able to aggregate these into 1 feed, which the documentation suggests is possible in the free edition.
      You are allowed to connect to 'other feeds in the same instance'

      I appreciate it's possible to achieve this by just using one feed, but then it might become difficult to distinguish which were internal packages should you want to migrate to a different system in the future.

      So i've tried to create a feed to combine to the two, but unsuccessfully:

      • Create a new NPM feed -> Connect to a ProGet Feed -> Connect to a Feed on this server -> choose 'npm-internal', give it a name etc. If you go to the feed page for this new feed, it says an error occurred while querying connectors for this feed (Connection refused). If you go to the connectors settings for this feed, you can add the npm-external connector, but if you go back to the feed page then you now get 2 connection refused errors.

      • Version 24.24 (Build 1) - running inside a docker container on Linux

      posted in Support
      K
      kc_2466
    • 1 / 1