Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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!

    The hostname could not be parsed

    Scheduled Pinned Locked Moved Support
    2 Posts 2 Posters 10 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      J.huebner_9077
      last edited by

      Hey, i am trying to mgirate from nexus to proget for my chocolatey instance. I have everythign setup and it seems correct, but when i try to request data from the proget instance i get an error 500 on the client side and this in the proget logs:

      An error occurred processing a GET request to https://my.domain.org:8625/nuget/ChocolateyInternal/v3/index.json: Invalid URI: The hostname could not be parsed.
      
      System.UriFormatException: Invalid URI: The hostname could not be parsed.
         at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
         at Inedo.ProGet.Feeds.Feed.GetProGetBaseUrl()
         at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
         at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
         at System.Lazy`1.CreateValue()
         at Inedo.ProGet.WebApplication.FeedEndpoints.NuGet.V3.ServiceIndexHandler.WriteIndex(NuGetFeed feed, AhHttpContext context)
         at Inedo.ProGet.WebApplication.FeedEndpoints.NuGet.V3.ServiceIndexHandler.ProcessRequestAsync(NuGetFeed feed, WebApiContext apiContext, AhHttpContext context, String relativeUrl)
         at Inedo.ProGet.WebApplication.FeedEndpoints.NuGet.NuGetFeedHandler.ProcessRequestAsync(AhHttpContext context, WebApiContext apiContext, NuGetFeed feed, String relativeUrl)
         at Inedo.ProGet.WebApplication.FeedEndpoints.FeedEndpointHandler.FeedRequestHandler.ProcessRequestAsync(AhHttpContext context)
      
      ::Web Error on 1/15/2026 12:17:23 PM::
      

      I have no idea what this error could mean. My https settings look like this:
      6297b17b-bd05-44a5-9b96-b2ecd77852b7-grafik.png

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @J.huebner_9077
        last edited by

        Hi @Julian-huebner_9077,

        This error is occurring while ProGet is trying to generate the "base url". There are a few inputs that go into this:

        • Admin > Advanced Settings > Base URL
        • X-Forwarded Headers, set by a reverse proxy like ngnix

        If any of those have an invalid host name (which is what the error is indicating), then you'll get this error. In most cases, it's a typo in the X-forwarded headers.

        Thanks,
        Alana

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation