Hi:
I’ve Nexus 3.6.0 installed and trying to enable Docker Anonymous Support.
On the repository, I have Force basic authentication set to disable. When I try connecting to the repository, I get the following errors:
$ docker login repomgr.tsl.telus.com:19901
Username: z123456
Password:
Error response from daemon: Get https://repomgr.tsl.telus.com:19901/v2/: Get http://repomgr.tsl.telus.com:19901/v2/token?account=z123456&client_id=docker&offline_token=true&service=http%3A%2F%2Frepomgr.tsl.telus.com%3A19901%2Ftoken: EOF
$ docker search repomgr.tsl.telus.com:19901/ubuntu
Error response from daemon: Unexpected status code 401
Did I miss something in the configuration?
Vivian
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/a6c7bff97440475ca1d66d07400a332e%40BTWP000348.corp.ads.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
Yes, I have.
From: Joseph Stephens [mailto:jste...@sonatype.com]
Sent: October 2, 2017 01:25 PM
To: Vivian Lee
Cc: Rich Seddon; Nexus Users
Subject: Re: Nexus 3.6.0 Enabling Docker Anonymous Support
Hi Vivian,
Have you added the "Docker Bearer Token Realm"? More information about managing realms can be found here: https://help.sonatype.com/pages/viewpage.action?pageId=330046#Security-Realms
Thanks,
Joe
On Mon, Oct 2, 2017 at 5:11 PM, Vivian Lee <Vivia...@telus.com> wrote:
Hi:
I’ve Nexus 3.6.0 installed and trying to enable Docker Anonymous Support.
On the repository, I have Force basic authentication set to disable. When I try connecting to the repository, I get the following errors:
$ docker login repomgr.tsl.telus.com:19901
Username: z123456
Password:
Error response from daemon: Get https://repomgr.tsl.telus.com:19901/v2/: Get http://repomgr.tsl.telus.com:19901/v2/token?account=z123456&client_id=docker&offline_token=true&service=http%3A%2F%2Frepomgr.tsl.telus.com%3A19901%2Ftoken: EOF
$ docker search repomgr.tsl.telus.com:19901/ubuntu
Error response from daemon: Unexpected status code 401
Did I miss something in the configuration?
Vivian
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To post to this group, send email to
nexus...@glists.sonatype.com.
To view this discussion on the web visit
https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/a6c7bff97440475ca1d66d07400a332e%40BTWP000348.corp.ads.
For more options, visit
https://groups.google.com/a/glists.sonatype.com/d/optout.
--
Joseph Stephens
--
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/a6c7bff97440475ca1d66d07400a332e%40BTWP000348.corp.ads.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
--
Joseph Stephens
Enabling is not the issue. The issue is that when it is enabled, I can no longer login with an account and no longer push to the repository.
What did I miss?
Vivian
--
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To post to this group, send email to
nexus...@glists.sonatype.com.
To view this discussion on the web visit
https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/a6c7bff97440475ca1d66d07400a332e%40BTWP000348.corp.ads.
For more options, visit
https://groups.google.com/a/glists.sonatype.com/d/optout.
--
Joseph Stephens
--
Joseph Stephens
--
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/a6c7bff97440475ca1d66d07400a332e%40BTWP000348.corp.ads.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
--
Joseph Stephens
--
Joseph Stephens
Hi:
I’ve Nexus 3.6.0 installed and trying to enable Docker Anonymous Support.
On the repository, I have Force basic authentication set to disable. When I try connecting to the repository, I get the following errors:
$ docker login repomgr.tsl.telus.com:19901
Username: z123456
Password:
Error response from daemon: Get https://repomgr.tsl.telus.com:19901/v2/: Get http://repomgr.tsl.telus.com:19901/v2/token?account=z123456&client_id=docker&offline_token=true&service=http%3A%2F%2Frepomgr.tsl.telus.com%3A19901%2Ftoken: EOF
$ docker search repomgr.tsl.telus.com:19901/ubuntu
Error response from daemon: Unexpected status code 401
Did I miss something in the configuration?
Vivian
--
Peter:
Thank you for following up.
I’m able to login and push after I check the Force basic authentication option in the repository configuration, i.e. revert it back to the previous state.
Is this by designed?
Vivian
From: Peter Lynch [mailto:ply...@sonatype.com]
Sent: October 3, 2017 04:45 AM
To: Vivian Lee
Cc: Rich Seddon; Nexus Users
Subject: Re: Nexus 3.6.0 Enabling Docker Anonymous Support
On Mon, Oct 2, 2017 at 5:11 PM, Vivian Lee <Vivia...@telus.com> wrote:
Hi:
I’ve Nexus 3.6.0 installed and trying to enable Docker Anonymous Support.
On the repository, I have Force basic authentication set to disable. When I try connecting to the repository, I get the following errors:
$ docker login repomgr.tsl.telus.com:19901
Username: z123456
Password:
Error response from daemon: Get https://repomgr.tsl.telus.com:19901/v2/: Get http://repomgr.tsl.telus.com:19901/v2/token?account=z123456&client_id=docker&offline_token=true&service=http%3A%2F%2Frepomgr.tsl.telus.com%3A19901%2Ftoken: EOF
This doesn't look right. The URL changed from https to http, and when you see "EOF" it implies that port 19901 is communicating with plain http. HTTPS is required.
This looks like something to do with how you configured port 19901. Did you make that the https port for the docker repository inside Nexus, or do you have a reverse proxy in front of Nexus that is listening with https on that port?
$ docker search repomgr.tsl.telus.com:19901/ubuntu
Error response from daemon: Unexpected status code 401
Did I miss something in the configuration?
Vivian
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
--
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/9e463b60-d3d3-427b-9bd3-6912672a7eb2%40glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/CABs6fL_e4H5eMiijh47JGa2efC1e91-SRpx%3Dgu6yyQEvLmCyMw%40mail.gmail.com.