0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【解決済】heroku loginでハマった時の対処法

Posted at

環境

Mac Catalina 10.15.6
zsh 5.7.1 (x86_64-apple-darwin19.0)
heroku/7.42.13 darwin-x64 node-v12.16.2

現象

ターミナルで
heroku login

"heroku" Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxy.server.com

と出る。これで30分くらい溶かしました...

解決方法

ターミナルで
export HTTP_PROXY=""
export HTTPS_PROXY=""
を実行するだけ。

解決に至った経緯

heroku --version
とすると
› Warning: HTTPS_PROXY set to https://proxy.server.com:8000
› Warning: HTTP_PROXY set to http://proxy.server.com:8000
heroku/7.42.13 darwin-x64 node-v12.16.2

と出たので、HTTPS_PROXY, HTTP_PROXYのsetをなくせばいいのではないかと気づいた。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?