Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. h.morgenthaler_3015

    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!

    H Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    h.morgenthaler_3015

    @h.morgenthaler_3015

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Website www.ingtes.ch/
    Location Switzerland

    h.morgenthaler_3015 Unfollow Follow

    Latest posts made by h.morgenthaler_3015

    • ProGet -> Helm: Unable to cast object of type 'System.String' to type 'Inedo.ProGet.Feeds.IComparablePackageVersion'.

      Hi

      We're encountering the following error with our helm-chart-feed when trying to download a chart (does not matter if using helm-cli or direct http-request):

      Message: "An error occurred processing a GET request to https://packages-01.net.ingtes.ch/helm/helm-dev/ingtes-success-mobile-host/0.2.0/ingtes-success-mobile-host-0.2.0.tgz: Unable to cast object of type 'System.String' to type 'Inedo.ProGet.Feeds.IComparablePackageVersion'."
      Details: "System.InvalidCastException: Unable to cast object of type 'System.String' to type 'Inedo.ProGet.Feeds.IComparablePackageVersion'.
      at Inedo.ProGet.Feeds.StandardPackageFeed`3.GetDownloadBlockReasonAsync(IStandardPackageMetadata package, Boolean bypassFreeEditionCheck)
      at Inedo.ProGet.WebApplication.FeedEndpoints.Helm.HelmFeedHandler.ProcessChartArchiveRequestAsync(AhHttpContext context, WebApiContext apiContext, HelmFeed feed, String name, String version)
      at Inedo.ProGet.WebApplication.FeedEndpoints.Helm.HelmFeedHandler.ProcessRequestAsync(AhHttpContext context, WebApiContext apiContext, HelmFeed feed, String relativeUrl)
      at Inedo.ProGet.WebApplication.FeedEndpoints.FeedEndpointHandler.FeedRequestHandler.ProcessRequestAsync(AhHttpContext context)
      

      We strongly suspect this is a classic c# casting bug introduced with 2023.0.0.

      • The issue is reproducible whenever we upgrade from v2022.0.29
      • Downgrading to v2022.0.29 resolves the issue

      More info:

      • Installed on Windows Server 2022 with Inedo Hub
      • The last version working for us is 2022.0.29
      • Affected Version: ProGet 2023.0.0 and higher

      Thx for having a look.

      Kind regards
      Hannes Morgenthaler

      posted in Support
      H
      h.morgenthaler_3015