プロキシ環境下のStripe CLIでログインするのにstripe loginコマンドを実行すると次の様なエラーが出てしまいました。
Post "https://dashboard.stripe.com/stripecli/auth": dial tcp 3.115.50.247:443: connectex: No connection could be made because the target machine actively refused it.
![](https://hitoriit.blog/wp-content/uploads/2022/11/image.png)
解消方法
環境変数https_proxyにプロキシサーバーのアドレスとポートをセットしてから再試行すると、うまく通信できるようになりました。
![](https://hitoriit.blog/wp-content/uploads/2022/11/image-1.png)
その後、次の様なコマンドでWebhookをローカルで試せるようになったりします。
stripe.exe listen --forward-to localhost:8000/stripe/webhook