heroku / cli

Heroku CLI
https://devcenter.heroku.com/articles/heroku-cli
ISC License
852 stars 223 forks source link

heroku:container login returns "not logged in" #1565

Open shukryzablah opened 4 years ago

shukryzablah commented 4 years ago

This project is for the Heroku CLI only. Use https://help.heroku.com for anything that is not specific to the CLI itself.

Do you want to request a feature or report a bug?

Bug.

What is the current behavior?

sudo heroku container:login
 ▸    not logged in

What is the expected behavior?

I expect to be logged in.

Here are the versions of heroku and docker

heroku version
heroku/7.42.4 linux-x64 node-v12.16.2
sudo docker version

Client:
 Version:           19.03.12-ce
 API version:       1.40
 Go version:        go1.14.4
 Git commit:        48a66213fe
 Built:             Wed Jul  1 17:05:50 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          19.03.12-ce
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.14.4
  Git commit:       48a66213fe
  Built:            Wed Jul  1 17:05:26 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.3.4.m
  GitCommit:        d76c121f76a5fc8a462dc64594aea72fe18e1178.m
 runc:
  Version:          1.0.0-rc91
  GitCommit:        24a3cf88a7ae5f4995f6750654c0e2ca61ef4bb2
 docker-init:
  Version:          0.18.0
  GitCommit:        fec368
AkashKarnatak commented 4 years ago

I am facing the exact same issue. Did you find any solution yet?

shukryzablah commented 4 years ago

No, I haven't tried to move forward. Luckily I can wait.

divyashk commented 4 years ago

You can try

mv  ~/.netrc  ~/.netrc.backup

and then login

sudo heroku login
sudo heroku container:login