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!

    ProGet mono 5.3.15-5.3.17 docker login always 401

    Scheduled Pinned Locked Moved Support
    2 Posts 2 Posters 5 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.
    • S Offline
      shijiyong_6709
      last edited by

      We run ProGet mono docker on centos 7.4, network architecture is:
      user -> Kong(Nginx) -> ProGet

      Web.BaseUrl is set to: https://proget.company.com

      docker login -u admin or other users, always response HTTP 401.
      We set docker proxy, use fiddler capture https flow, the requests sequence seems like this:

      1. docker request https://proget.company.com/_v2/xxx, proget response 401, with AUTH header and realme info, response header is same to Web.BaseUrl's value
      2. docker request with basic auth, proget response bear token
      3. docker reqeust with 2. bear token, proget response HTTP 401, login fail.

      ProGet 5.3.15, 5.3.17 have same issue, change to use .net core can solve this problem.

      1 Reply Last reply Reply Quote 0
      • rhessingerR Offline
        rhessinger inedo-engineer
        last edited by

        Hi @shijiyong_6709,

        I just wanted to confirm that you are using docker login -u admin https://proget.company.com and not docker login -u admin. Is that correct?

        The first thing we need to figure out is if the problem exists in your ProGet configuration or in your nginx configuration. Can you start with temporarily allowing anonymous access to your Docker registry in ProGet, does Docker pull work then?

        Thanks,
        Rich

        Products Engineer, Inedo

        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