docker-apim icon indicating copy to clipboard operation
docker-apim copied to clipboard

Login Succeeded BUT denied: requested access to the resource is denied

Open loeb-ift opened this issue 5 years ago • 12 comments

Description:

(base) MacBook-Air:~ USER$ docker login docker.wso2.com -u [email protected] -p XXXXXXX WARNING! Using --password via the CLI is insecure. Use --password-stdin. Login Succeeded (base) MacBook-Air:~ USER$ cd docker-apim/docker-compose/apim-is-as-km-with-analytics (base) MacBook-Air:apim-is-as-km-with-analytics USER$ git checkout tags/v3.1.0.1 Note: checking out 'tags/v3.1.0.1'.

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:

git checkout -b

HEAD is now at f726fb9 [v3.1.0] Set corerct default pack download link in IS as KM Docker resources (base) MacBook-Air:apim-is-as-km-with-analytics USER$ docker-compose up Pulling am-analytics-worker (docker.wso2.com/wso2am-analytics-worker:3.1.0)... ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.

Continue with the new image? [yN]y Pulling am-analytics-worker (docker.wso2.com/wso2am-analytics-worker:3.1.0)... ERROR: pull access denied for docker.wso2.com/wso2am-analytics-worker, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

Suggested Labels: docker-compose

Affected Product Version: docker-apim/docker-compose/apim-is-as-km-with-analytics/ TAG:3.1

OS, DB, other environment details and versions:
Mac OSX Docker Eng.19.03.8 Compose 1.25.4

Steps to reproduce: Goto https://wso2.com/subscription and did a WSO2 SUBSCRIPTION Create the account and password

1.https://github.com/wso2/docker-apim/tree/master/docker-compose/apim-is-as-km-with-analytics 2.docker login docker.wso2.com 3.git clone https://github.com/wso2/docker-apim 4.cd docker-apim/docker-compose/apim-is-as-km-with-analytics 5.git checkout tags/v3.1.0.1 6.docker-compose up

loeb-ift avatar Mar 27 '20 04:03 loeb-ift

@loeb-ift the Docker images for WSO2 API Manager Analytics version 3.1.0 and WSO2 IS as KM version 5.10.0 have not been properly uploaded to the WSO2 Private Docker Registry.

Please pardon us for the inconvenience caused.

We will notify you immediately once the Docker images are available, within the day.

chirangaalwis avatar Mar 27 '20 08:03 chirangaalwis

@loeb-ift we have made these Docker images available. Can you please try the Docker Compose setup out?

Please feel free to get back to us with any further issues, if any. Also, we would appreciate if you can close this issue, if the $subject is resolved.

chirangaalwis avatar Mar 27 '20 18:03 chirangaalwis

Hello, I followed this https://wso2.com/api-management/install/docker-compose/get-started/ and got the same error even after doing a docker login docker.wso2.com :

Pulling am-analytics-worker (docker.wso2.com/wso2am-analytics-worker:3.1.0)... ERROR: pull access denied for docker.wso2.com/wso2am-analytics-worker, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

scivray47 avatar Apr 07 '20 14:04 scivray47

On the 4 following images : docker.wso2.com/wso2am-analytics-worker:3.1.0 docker.wso2.com/wso2is-km:5.10.0 docker.wso2.com/wso2am:3.1.0 docker.wso2.com/wso2am-analytics-dashboard:3.1.0 I can only pull docker.wso2.com/wso2am:3.1.0, got the same error for the 3 others images.

scivray47 avatar Apr 07 '20 14:04 scivray47

Never had such a difficult time installing a product...advise you guys make this a little easier or document a little better. I'll be back in a few months to see how things are shaping up - in the meantime I've got to find an API manager that I can install.

corepay avatar May 16 '20 18:05 corepay

On the 4 following images : docker.wso2.com/wso2am-analytics-worker:3.1.0 docker.wso2.com/wso2is-km:5.10.0 docker.wso2.com/wso2am:3.1.0 docker.wso2.com/wso2am-analytics-dashboard:3.1.0

I can't pull docker.wso2.com/wso2am:3.1.0, I got the error

Error response from daemon: pull access denied for docker.wso2.com/wso2am, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

but I got the 3 others images.

I tried different images but got the same error :

docker pull docker.wso2.com/wso2am:3.1.0
docker pull docker.wso2.com/wso2am:3.0.0-alpine3.10
docker pull docker.wso2.com/wso2am:3.1.0.1588950585276-alpine3.10
docker pull docker.wso2.com/wso2am:3.1.0.1593095757692.3-centos7

scivray47 avatar Jul 08 '20 07:07 scivray47

@scivray47 after checking, it was noticed that these images are available in the WSO2 Private Docker registry.

Can you please specify the email address you have used for your WSO2 Subscription?

Also, just for notification WSO2 recommends you to use the WSO2 support service (see Subscription details) for this type of queries. Hence, please feel free to use the service.

chirangaalwis avatar Jul 08 '20 08:07 chirangaalwis

I have no active subscription. I think I only registered in https://wso2.com to be able to login in https://docker.wso2.com/ for the command docker login docker.wso2.com In https://wso2.com/api-management/install/docker-compose/get-started/ the images are those in docker.wso2.com

scivray47 avatar Jul 08 '20 08:07 scivray47

can you open the issue again I have exactly the same problem with version 3.2.0 with the images docker.wso2.com/wso2am:3.2.0 and wso2am-analytics-worker: 3.2.0

image

necros1 avatar Feb 12 '21 02:02 necros1

Same issue. I am already logged in docker.wso2.com via the command line. But it gives the same error message for all of the images. @chirangaalwis can you check this issue? 2021-03-11 15_34_09-Project Professional - API-Management-project-v1 mpp

tumenzul avatar Mar 11 '21 07:03 tumenzul

Hi : As a workaround you can use the public repository, ie : replace docker.wso2.com/wso2am with wso2/wso2am , and the same solution works with the other wso2 products.

Regards. Gabriel.

garciagabriel avatar Apr 16 '21 19:04 garciagabriel

Does this problem still exist? I want to pull the wso2mi and got an access denied, but works with public images like wso2/wso2mi

polaroi8d avatar Jun 16 '23 09:06 polaroi8d