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
-
We run ProGet mono docker on centos 7.4, network architecture is:
user -> Kong(Nginx) -> ProGetWeb.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:- 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
- docker request with basic auth, proget response bear token
- 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.
-
Hi @shijiyong_6709,
I just wanted to confirm that you are using
docker login -u admin https://proget.company.com
and notdocker 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