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: docker login returns unauthorized

    Scheduled Pinned Locked Moved Support
    proget
    39 Posts 11 Posters 812 Views 2 Watching
    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.
    • M Offline
      markcodyre_7146 @apxltd
      last edited by

      @apxltd After re-reading my post I think I was a bit harsh, sorry. Proget really is a great tool and I love what Inedo has done with it up to this point. The documentation is quite good as I've referenced it quite a few times and found it helpful. Just found to be lacking where I had got stuck (and my frustration got the best of me). I shouldn't complain as it's trial option is free with heavy hitting features; Enough to really test it out. I'll make a note to create a page on how to set this up on a Linux box when I have some downtime.
      Thanks!

      apxltdA 1 Reply Last reply Reply Quote 0
      • apxltdA Offline
        apxltd inedo-engineer @markcodyre_7146
        last edited by

        @markcodyre_7146 thanks for the note Mark, I appreciate it! Glad it's working well, despite the challenging install - we've got a lot of great container features in the pipeline, so hopefully we'll learn more about Linux in the process ;)

        Founder and CEO, Inedo

        1 Reply Last reply Reply Quote 0
        • araxnid_6067A Offline
          araxnid_6067
          last edited by

          @apxltd @ben
          Hello, we faced with same problem. Docker can't login to docker repository

          docker login proget.company.com
          

          return this message

          Error response from daemon: login attempt to https://proget.company.com/v2/ failed with status: 401 Unauthorized
          

          Proget version 5.2.25 (Build 14) . Running in docker container on Centos 7
          BaseURL = https://proget.company.com
          Nginx config

          server {
              client_max_body_size 0;
              listen 443 ssl;
              server_name proget.company.com;
              ssl on;
              chunked_transfer_encoding on;
              location / {
                  proxy_set_header X-Forwarded-Host $host;
          	proxy_set_header X-Forwarded-Server $host;
          	proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
          	proxy_set_header X-Real-IP $remote_addr;
          	proxy_set_header Host $host;
          	proxy_redirect off;
          	proxy_buffering off;
          	proxy_request_buffering off;
          	proxy_connect_timeout 1m;
          	proxy_read_timeout 1h;
          	proxy_send_timeout 1h;
          	proxy_set_header Upgrade $http_upgrade;
          	proxy_set_header Connection $http_connection;
                  proxy_pass http://intenal.proget;
              }
          }
          
          1 Reply Last reply Reply Quote 0
          • araxnid_6067A Offline
            araxnid_6067
            last edited by

            anyone ?

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

              Hello; this should get resolved in PG-1676, which is scheduled for the next maintence release.

              1 Reply Last reply Reply Quote 0
              • araxnid_6067A Offline
                araxnid_6067
                last edited by

                Thank you!

                1 Reply Last reply Reply Quote 0
                • araxnid_6067A Offline
                  araxnid_6067
                  last edited by araxnid_6067

                  @atripp
                  Unfortunately update didn't help.

                  docker login proget.company.com
                  Username: Admin
                  Password:
                  Error response from daemon: Get https://proget.company.com/v2/: unauthorized: authentication required
                  
                  1 Reply Last reply Reply Quote 0
                  • araxnid_6067A Offline
                    araxnid_6067
                    last edited by

                    Guys ?! It's a real blocker.

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

                      It's really hard to say. This doesn't seem to be impacting others... we can't repro it... and I'm not sure what else it could be.

                      If you can get us some more very specific details about it, perhaps using some sort of fidler trace, then we can try to investigate further.

                      1 Reply Last reply Reply Quote 0
                      • V Offline
                        viceice
                        last edited by

                        Seeing the same error after disabling anonymous access

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          mikhael_3947 @ben
                          last edited by mikhael_3947

                          @ben Thank you so much I spend a lot of times searching for that. Should it be in proget docker installation documentation (in HTTPS Support section) ? Thank again.
                          My setup docker client > HAProxy > Proget. Also don't forget to add a HTTP frontend that redirects to HTTPS frontend in HAProxy.

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

                            Hi @mikhael_3947,

                            I have updated our Docker documentation to include this information about using a proxy with ProGet. I have also included more information about insecure registries and using self-signed certificates with Docker registries,

                            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
                            • 2
                            • 2 / 2
                            • First post
                              Last post
                            Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation