Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
loeb-ift opened this issue Mar 27, 2020 · 12 comments
Open
Assignees

Comments

@loeb-ift
Copy link

Description:

(base) MacBook-Air:~ USER$ docker login docker.wso2.com -u XXXXX@iXXX.com.tw -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

@chirangaalwis
Copy link
Member

@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
Copy link
Member

@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 chirangaalwis self-assigned this Mar 27, 2020
@scivray47
Copy link

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
Copy link

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.

@corepay
Copy link

corepay commented May 16, 2020

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.

@scivray47
Copy link

scivray47 commented Jul 8, 2020

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

@chirangaalwis
Copy link
Member

chirangaalwis commented Jul 8, 2020

@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.

@scivray47
Copy link

scivray47 commented Jul 8, 2020

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

@necros1
Copy link

necros1 commented Feb 12, 2021

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

@tumenzul
Copy link

tumenzul commented Mar 11, 2021

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

@garciagabriel
Copy link

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.

@polaroi8d
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants