Heroku: http-error 410. Invalid API response (I'm not behind a proxy server)

I am currently having problems with the hero. I just installed it and tried heroku create . It accepts my credentials, but so far I just got it

  ! HTTP Error: https://api.heroku.com/login 410 Gone ! Invalid response from API. ! HTTP 410 ! {myMail myPw} ! ! Are you behind a proxy? ! https://devcenter.heroku.com/articles/using-the-cli#using-an-http-proxy 

I looked at others with this problem, but they were all for proxies . Not me. I also checked the firewall settings and also tried to run the command line client with administrator privileges. But so far nothing has been successful. I will try and publish the answer as soon as I find out. Maybe one of you has an idea. Will be appreciated. Thanks in advance and

Greetings from Chris

EDIT

Maybe some information. I'm runing

Windows 10 Pro (V10.0.15063)

and basic network settings with router and DHCP

+6
source share
4 answers

I had the same problem today. When i type

 heroku 

at my command prompt, I am asked to enter my email address and then my password. Then I received the same error message as you. After that, instead of β€œgeroku” scored

 heroku login 

I entered the same email address and password and everything was fine.

+38
source

Ok I made it work. Unfortunately, I do not understand why this worked, which is rather unsatisfactory, but I will tell you what I did. I stumbled upon some posts that said that the Heroki Kli was out of date if that happened. At first I tried updating it using npm using

 npm update -g heroku-cli 

which basically made the hero stop working all together, because now the Kli said that he needed node> 7.X (and I was still working on 6.X). The node update I updated did not help either, because now the Kli hero could not find the bash command.

In the end, I just reinstalled the hero. After that (first getting the same error as at the beginning), I first did

 heroku update 

and after that heroku login worked. Now, why I really don’t understand and maybe some of you guys know. But the version I had before heroku update was exaccty the same as after

heroku-cli / 5.11.12-8ae9780 (windows-amd64) go1.7.5

+4
source

I found out that heroku.cl was blocked by my antivirus and unlocked. Now his work is impeccable.

0
source

Heroku update worked for me.

heroku update

0
source

Source: https://habr.com/ru/post/1269411/


All Articles