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!

    Configure connectors for Debian2

    Scheduled Pinned Locked Moved Support
    4 Posts 3 Posters 21 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.
    • A Offline
      arkady.karasin_6391
      last edited by

      Help needed to configure Debian feed connectors!
      We need to setup repository for Ubuntu systems. I created new Debian feed with 2 connectors:

      Type: Debian2
      Name: Archive Ubuntu
      Url: http://archive.ubuntu.com/ubuntu
      Timeout: 1 min
      Athentication: anonymous

      Type: Debian2
      Name: FTP Debian
      Url: http://ftp.debian.org/debian
      Timeout: 1 min
      Authentication: anonymous

      Both of them with status: Error.
      When tried to search for some package I am getting:
      An unexpected error occured while listing packages: The remote server returned an error: (404) Not Found...

      Any ideas? What I am missing?
      Thank you in advance!
      Arkady

      stevedennisS 1 Reply Last reply Reply Quote 0
      • stevedennisS Offline
        stevedennis inedo-engineer @arkady.karasin_6391
        last edited by

        Hi @arkady-karasin_6391,

        What are you specifying for Distribution in the connector? When I tried these settings, it worked:
        7b83cd27-c9e0-44d8-93a8-761312c90bf0-image.png

        You need to specify one of the available distributions, which are listed here:
        http://archive.ubuntu.com/ubuntu/dists/

        Thanks,
        steve

        1 Reply Last reply Reply Quote 0
        • A Offline
          arkady.karasin_6391
          last edited by arkady.karasin_6391

          I made exact a same configuration:
          94c9b16b-0c4d-4646-91d8-e0d5aeb5961e-image.png

          And here is an error I got:
          The remote server returned an error: (403) Forbidden.
          Details:System.Net.WebException: The remote server returned an error: (403) Forbidden.
          at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
          at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
          --- End of stack trace from previous location ---
          at Inedo.ProGet.Feeds.Debian2.Debian2Connector.<>c__DisplayClass19_0.<<GetReleaseStanzasAsync>g__getResponse|0>d.MoveNext()
          --- End of stack trace from previous location ---
          at Inedo.ProGet.Feeds.Debian2.Debian2Connector.GetReleaseStanzasAsync(ReleaseIndexRow row)+MoveNext()
          at Inedo.ProGet.Feeds.Debian2.Debian2Connector.GetReleaseStanzasAsync(ReleaseIndexRow row)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
          at Inedo.ProGet.Feeds.Debian2.Debian2ConnectorIndex.UpdateIndexAsync(String component, String architecture, Byte[] hash, Func1 stanzas) at Inedo.ProGet.Feeds.Debian2.Debian2ConnectorIndex.UpdateIndexAsync(String component, String architecture, Byte[] hash, Func1 stanzas)
          at Inedo.ProGet.Feeds.Debian2.Debian2Connector.UpdateIndexAsync(Debian2ConnectorIndex localIndex)
          at Inedo.ProGet.Feeds.Debian2.Debian2Connector.GetAndUpdateIndexAsync()
          at Inedo.ProGet.Feeds.Debian2.Debian2Connector.ListPackagesAsync(Nullable1 maxCount)+MoveNext() at Inedo.ProGet.Feeds.Debian2.Debian2Connector.ListPackagesAsync(Nullable1 maxCount)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
          at Inedo.ProGet.Feeds.Debian2.Debian2Feed.GetConnectorPackagesAsync(Func2 getPackages)+MoveNext() at Inedo.ProGet.Feeds.Debian2.Debian2Feed.GetConnectorPackagesAsync(Func2 getPackages)+MoveNext()
          at Inedo.ProGet.Feeds.Debian2.Debian2Feed.GetConnectorPackagesAsync(Func2 getPackages)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult() at System.Linq.AsyncEnumerable.UnionAsyncIterator1.MoveNextCore() in //Ix.NET/Source/System.Linq.Async/System/Linq/Operators/Union.cs:line 131
          at System.Linq.AsyncIteratorBase1.MoveNextAsync() in /_/Ix.NET/Source/System.Linq.Async/System/Linq/AsyncIterator.cs:line 77 at System.Linq.AsyncIteratorBase1.MoveNextAsync() in /
          /Ix.NET/Source/System.Linq.Async/System/Linq/AsyncIterator.cs:line 77
          at System.Linq.Internal.Lookup2.CreateAsync(IAsyncEnumerable1 source, Func2 keySelector, IEqualityComparer1 comparer, CancellationToken cancellationToken) in //Ix.NET/Source/System.Linq.Async/System/Linq/Operators/Lookup.cs:line 105
          at System.Linq.Internal.Lookup2.CreateAsync(IAsyncEnumerable1 source, Func2 keySelector, IEqualityComparer1 comparer, CancellationToken cancellationToken) in /
          /Ix.NET/Source/System.Linq.Async/System/Linq/Operators/Lookup.cs:line 105
          at System.Linq.AsyncEnumerable.GroupedAsyncEnumerable2.MoveNextCore() in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/GroupBy.cs:line 1111 at System.Linq.AsyncIteratorBase1.MoveNextAsync() in //Ix.NET/Source/System.Linq.Async/System/Linq/AsyncIterator.cs:line 77
          at System.Linq.AsyncIteratorBase1.MoveNextAsync() in /_/Ix.NET/Source/System.Linq.Async/System/Linq/AsyncIterator.cs:line 77 at Inedo.ProGet.Feeds.Debian2.Debian2Feed.GetLatestVersionOfEach(IAsyncEnumerable1 packages)+MoveNext()
          at Inedo.ProGet.Feeds.Debian2.Debian2Feed.GetLatestVersionOfEach(IAsyncEnumerable1 packages)+MoveNext() at Inedo.ProGet.Feeds.Debian2.Debian2Feed.GetLatestVersionOfEach(IAsyncEnumerable1 packages)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
          at System.Linq.AsyncEnumerable.SelectEnumerableAsyncIterator2.MoveNextCore() in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/Select.cs:line 232 at System.Linq.AsyncIteratorBase1.MoveNextAsync() in /
          /Ix.NET/Source/System.Linq.Async/System/Linq/AsyncIterator.cs:line 77
          at System.Linq.AsyncIteratorBase1.MoveNextAsync() in /_/Ix.NET/Source/System.Linq.Async/System/Linq/AsyncIterator.cs:line 77 at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|424_0[TSource](IAsyncEnumerable1 source, CancellationToken cancellationToken) in //Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36
          at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|424_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /
          /Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36
          at Inedo.ProGet.Feeds.Debian2.Debian2Feed.SearchPackagesAsync(String query, Int32 maxCount, Boolean includePrerelease)
          at Inedo.ProGet.WebApplication.Pages.Packages.ListPackagesPage.PackageList.InitializeAsyncInternal()
          at Inedo.ProGet.WebApplication.Pages.Packages.ListPackagesPage.PackageList.InitializeAsync()

          I suspect that something blocked on our side, but if open connector url, the page successfully loaded while reirected to https://archive.ubuntu.com/ubuntu.
          Any ideas how to debug the issue?

          dean-houstonD 1 Reply Last reply Reply Quote 0
          • dean-houstonD Offline
            dean-houston inedo-engineer @arkady.karasin_6391
            last edited by

            Hi @arkady-karasin_6391 ,

            A 403 error means Not Authorized; since those are publicly-available repositories, my guess is that you have a Proxy or Content Filter that's blocking that URL, and the ProGet Server is getting a 403 response from that intermediate server.

            -- Dean

            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