Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not able to sign in using docker to canister.io - Authorization server did not include a token in the response

Ok so I'm trying to make Bitbucket build a docker image using Bitbucket pipelines and I could sign in a week ago but now it doesn't work anymore.

And I'm using the same username and password, here it's a list of the commands I have tried and their output.

  1. docker login cloud.canister.io:5000 --username $CANISTER_USERNAME --password $CANISTER_PASSWORD:

    • Error response from daemon: Get https://cloud.canister.io:5000/v2/: authorization server did not include a token in the response
  2. docker login --username $CANISTER_USERNAME --password $CANISTER_PASSWORD cloud.canister.io:5000

    • Error response from daemon: Get https://cloud.canister.io:5000/v2/: authorization server did not include a token in the response
  3. docker login cloud.canister.io:5000 --username $CANISTER_USERNAME

    • Password: xxxxxxxxxxxxxxxxxxx
    • Error saving credentials: error storing credentials - err: exit status 1, out: Cannot autolaunch D-Bus without X11 $DISPLAY
  4. echo "$CANISTER_PASSWORD" | docker login cloud.canister.io:5000 --username $CANISTER_USERNAME --password-stdin

    • Error response from daemon: Get https://cloud.canister.io:5000/v2/: authorization server did not include a token in the response
  5. echo "$CANISTER_PASSWORD" | docker login --username $CANISTER_USERNAME --password-stdin cloud.canister.io:5000

    • Error response from daemon: Get https://cloud.canister.io:5000/v2/: authorization server did not include a token in the response

I've also tried on a local machine and tried to do it without environment variables also tried to sign out and then try to sign in again but nothing works

like image 695
Vincent Lab Avatar asked Oct 30 '25 06:10

Vincent Lab


2 Answers

I had the same issue when trying to push a new image to cloud.canister.io. It turned out I had not created the repository through the web frontend yet.

After creating the repo on cloud.canister.io I could successfully push my image up.

like image 181
nicja Avatar answered Nov 02 '25 22:11

nicja


for logging in this worked for me:

docker login --username=USERNAME cloud.canister.io:5000

Unfortunately, i am still getting this error message whenever i try to push my image.

like image 42
graned Avatar answered Nov 03 '25 00:11

graned



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!