Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. rhessinger
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    rhessinger

    @rhessinger

    inedo-engineer

    60
    Reputation
    725
    Posts
    21
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    rhessinger Follow
    inedo-engineer administrators

    Best posts made by rhessinger

    • RE: ProGet 5.3.6 SQL Exception

      Hi @gravufo,

      Great! Glad to hear it! Please post back if you find anything else.

      I also recommend that you switch to the Inedo Hub in the future. We are in the process of deprecating our traditional installer. The Inedo Hub has the ability to update an installation previously installed with the traditional installer and the Inedo Hub now supports offline installations as well, if you need that functionality.

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger
    • RE: ProGet 5.3.6 SQL Exception

      Hi @gravufo,

      Would you be able to rerun the database scripts on your database? You will just need to run the Run inedosql to update the database step of our manual install guide. Can you see if this fixes your issue?

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger
    • RE: Proget docker linux upgrade from v5.3.8 to V5.3.9 issue

      Hi @nuno-guerreiro-rosa_9280,

      We have finally been able to recreate this issue in our sandbox. We are currently looking into a fix, but we expect to have one in the next version of ProGet, 5.3.10. This looks to be an issue with the mono framework. We use mono runtime in our Docker images for ProGet. We are also going to be releasing a .Net Core based technical preview of ProGet Docker in version 5.3.10. This will be in addition to our standard mono based version. Our internal testing is going very well and it looks to have removed a lot of the gotchas that mono has.

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger
    • RE: ProGet: silent fail when uploading conflicting package version

      Hi @mcascone ,

      We have fixed the issue and the published date will now update when the package is overwritten. This will be released in ProGet 5.3.9 which is due out this Friday Augst 14, 2020.

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger
    • RE: How to configure the proget free with self-connector

      Hi @viceice,

      Thanks for the clarification on your environment! I see what is going on now. I have created a ticket, PG-1809, to track the fix for this. We expect this to be released in ProGet 5.3.11 which we are expecting to be released in September 11, 2020. Basically in that instance, we are not respecting the values within the X-Forwarded-* headers. I'll let you know if anything changes on the timeline.

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger
    • RE: Timeout errors after upgrade to 5.3.7

      Hi @markus4830,

      I'm definitely sorry about this. The change was made to help to aide in improvements to other areas of the system related to NuGet. Unfortunately, it looks like it affected the NuGet API. Expect a more permanent solution in the near future.

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger
    • RE: Docker: 5.3.12 (dotnet core) hung

      Hi @viceice,

      That error is safe to ignore. It is currently a known bug and we are looking to fix that in an upcoming version of ProGet. The ticket tracking the fix for the log message is PG-1841.

      Long story short, the ProGet service correctly detected that the product wasn't activated, and then logged that message. But it was doing it every time it accessed license information, which is on every connector health check, replication run, etc.
      Activation happens automatically as soon as someone visits the Web application, and re-activation is required after upgrading certain versions.

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger
    • RE: 5.3.15 - Chocolatey feed does not show content

      Hi @harald-somnes-hanssen_2204,

      The fix is scheduled for release in ProGet 5.3.16 which is due out on Friday. I'll reply back if anything changes.

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger
    • RE: HTTPS with self hosted ProGet and internal web server

      Hi @tkolb_7784,

      If you are hosting on a windows machine, the easiest solution right now is to migrate your server to use IIS and then add an SSL binding to your site. If you do not want to purchase a new certificate and the self-signed certificate is too much work, you can use Let's Encrypt and configure it via winacme.

      If you do not want to use IIS, then you will need to use a reverse proxy to handle SSL connections. Any reverse proxy can be used and a pretty simple one to configure is stunnel. Most reverse proxies can also be used with Let's Encrypt.

      If you are hosting via Linux (Docker), then you will need to use a reverse proxy to handle SSL connections. We have a documentation page for different Linux-based reverse proxies including an example for setting up NGINX. These reverse proxies also support Let's Encrypt also.

      Please let me know if you have any questions.

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger
    • RE: Migrating from local storage to Azure Storage

      Hi @barnaby-williams_8489,

      Please see our documentation for cloud storage. There is a subsection for migrating a feed to cloud storage.

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger

    Latest posts made by rhessinger

    • RE: APK v3

      Hi @henderkes,

      Thanks for sending those packages over. I was able to recreate some issues with those packages and we are currently still looking for the cause. I'll send over an update once I have a bit more information.

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger
    • RE: Docker Migration from Nexus – Feature Not Working

      Hi @koksime-yap_5909,

      There are certain types of OCI images that are not supported in ProGet (covered in this forums post), but the application/vnd.oci.image.manifest.v1+json image type manifest is supported. I'm guessing this is a quirk with Artifactory. What I have learned through implementing this importer is that Artifactory is very dependent on the order of accept headers. It is possible that the order is not quite right. Our order for the importers are:

      private static HttpRequestMessage CreateDockerHttpRequest(HttpMethod method, string url)
      {
          var request = new HttpRequestMessage(method, url);
          // Order matters here, especially with Artifactory
          request.Headers.Accept.Add(new("application/vnd.docker.distribution.manifest.v2+json"));
          request.Headers.Accept.Add(new("application/vnd.docker.distribution.manifest.list.v2+json"));
          request.Headers.Accept.Add(new("application/vnd.docker.distribution.manifest.v1+prettyjws"));
          request.Headers.Accept.Add(new("application/json"));
          request.Headers.Accept.Add(new("application/vnd.oci.image.manifest.v1+json"));
          request.Headers.Accept.Add(new("application/vnd.oci.image.index.v1+json"));
      
          return request;
      }
      

      Is it possible to share an example Docker file that we could build an image that has this import image? That way I can verify it mixed with standard Docker images.

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger
    • RE: APK v3

      Hi @henderkes,

      I did try to download that script to extract the repo you were referring to, but Alpine does not have bash installed, only ash, so I get an error when attempting to run it. Could you please provide me a direct link? To be honest, this all screams a configuration error on Alpine or an issue with the APK directly.

      In my test, I created a feed in ProGet with a connector created pointing to "https://repos.zend.com/zendphp/apk_alpine320/x86_64/". I then added my feed to alpine, apk update, and then apk add php85zend. Everything worked as expected.

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger
    • RE: APK v3

      Hi @henderkes,

      Can you provide where you are getting your test packages from? I have a feeling it has to do with them more than the index. I setup the environment you specified with alpine packages I pulled from Zend PHP and had no issues. I was able to update the index and install multiple packages.

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger
    • RE: APK v3

      Hi @henderkes,

      Thank you for sending all this over! We are going to dig into this a bit further and will let you know what we find.

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger
    • RE: APK v3

      Hi @henderkes,

      Based on the Alpine's Package Keeper documentation, although the apk-tools are at version 3, the index and packages are still v2. From what I can tell, there is no timeline on when the v2 Index format will be dropped and the use of the v3 index is an opt-in feature. Currently ProGet only supports the v2 index and package format. I have added apk V3 support to be reviewed for ProGet 2026.

      Could you please provide a little more details around what operations are giving you the errors and the log output that shows the error?

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger
    • RE: ProGet slow fetching cargo packages

      Hi @jolaka9284_9458,

      Thanks for providing all these details. I was able to pinpoint the reason for the slow down and why it specifically happens on some crates and not others. This is related to some code that we have to determine when to point cargo to pull dependencies from ProGet vs crates.io. Specifically this comes from cargo's API specs for dependencies:

      registry — cargo metadata uses a value of null to indicate that the dependency comes from crates.io. The index uses a value of null to indicate that the dependency comes from the same registry as the index. When creating an index entry, a registry other than crates.io should translate a value of null to be https://github.com/rust-lang/crates.io-index and translate a URL that matches the current index to be null.

      As you can see, the value specified in the metadata is different than the value the index needs to return. In ProGet, we will return null if the package exists in the feed (including connectors) and https://github.com/rust-lang/crates.io-index if it does not. This is to support the case when ProGet is not used as a mirror and instead for only local crates. Unfortunately the use ProGet as a mirror option is stored only in the client config and is not sent to ProGet.

      This is the reason why crates with a lot of dependencies take longer to generate the index than ones that don't and why you'll occasionally get timeouts, but after the retry it works. We have some caching on this to help with performance, but it's not a forever cache.

      I'm going to work on some potential improvements for this and will let you know when I have a solution ready. Unfortunately, the only workaround we have for this currently is to use a package approval workflow (like our npm Package Approval blog article).

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger
    • RE: ProGet slow fetching cargo packages

      Hi @jolaka9284_9458,

      Can you please answer the following so I can get an idea of your environment setup?

      • What version of ProGet you are running?
      • Is your config.toml configured to proxy all cargo requests through ProGet (overriding [source.crates-io])?
      • Do you have connector package caching and/or metadata caching enabled?
      • Are you using SQL Server or PostgreSQL (the embedded database, InedoDB, etc..)?

      I'm not able to test against Artifactory very easily, but testing against crates.io. I'm not seeing a huge difference in speed (~20 seconds in your test case). In my testing, the time varies greatly based on the number of versions a package has and speeds up significantly once the indexes have been cached locally.

      My theory is that Artifactory caches these indexes on disk on the server or is not returning the complete dataset (hosted vs local), compared to ProGet where we create the package index each time it's requested and leave the local index caching to cargo. When ProGet generates it's package index, it reaches out to any connectors on the feed and then merges them with the local package versions stored in ProGet.

      There are pros and cons to each solution and are only really noticeable when the local cargo cache is cleared. When cargo has a local cache, it will send a If-Modified-Since header in its index request, allowing that index to be skipped if nothing has changed recently.

      Is it also possible to get a list of your HTTP requests and timings made during these? I don't need the response body, but the URL Path (host and feed names can be anonymized), response time taken, and response code is all I really need. In ProGet 2025, you can enable HTTP Request Logging to obtain these.

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger
    • RE: ProGet 2025.17: Errors building downloaded Cargo packages

      Hi @coboj59760_1341,

      I just pushed a pre-release that includes the fix. Please install ProGet 25.0.17-ci.12 and that should resolve this issue. Please let us know if that resolves your issue.

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger
    • RE: ProGet 2025.17: Errors building downloaded Cargo packages

      Hi @coboj59760_1341,

      Thank you very much for all the information on how to recreate the error. In Cargo 1.84.0 (released in January 2025), they changed the default value for default_features from false to true. In the case of the examples you provided, these cargo manifests did specify a value for default_features causing it to change to false once the package is cached in ProGet.

      I have created a ticket, PG-3182, to track the fix. This will be released in next weeks release of ProGet. I can also provide a pre-release version of ProGet if you would like. Just let me know!

      Thanks,
      Rich

      posted in Support
      rhessinger
      rhessinger