LWC プロキシ関係のエラー reason: connect ETIMEDOUT

+ [LWC エラーの対処方法](https://qiita.com/Keiji_otsubo/items/480135e98f6b0144ee63)

# reason: connect ETIMEDOUT

:::note alert
101.53.169.117:443

This is most likely not an error with the Salesforce CLI Please ensure all information is accurate and try again.
:::

:::note
Please check this article. 

https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000JejyK

https://developer.salesforce.com/docs/atlas.en-us.238.0.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli_firewall.htm
:::

+ [How to authorize an org with Salesforce CLI? Get an error](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V000076E5iV)

:::note alert
Error authenticating with auth code due to: request to https://empathetic-koala-nj5lux-dev-ed.my.salesforce.com//services/oauth2/token failed, reason: connect ETIMEDOUT 160.8.246.134:443
:::

+ [Visual Studio Codeで組織の認証ができず困っています。解決策はありますでしょうか。](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007H8boF)

:::note alert
SfError: Invalid client credentials. Verify the OAuth client secret and ID. Error authenticating with auth code due to: request to https://test.salesforce.com//services/oauth2/token failed, reason: write EPROTO 340B0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:c:\ws\deps\openssl\openssl\ssl\record\ssl3_record.c:355:
:::


# Error authenticating with auth code due to: request to https://login.salesforce.com//services/oauth2/token failed, reason: getaddrinfo ENOTFOUND 83 This is most likely not an error with the Salesforce CLI. Please ensure all information is accurate and try again

+ [Authorize an org from visual studio](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000R8uw7)

:::note
The same error was posted in the Japanese user group.
At that time there was a problem with the SSL certificate.

it was the firewall and proxy settings that was blocking We have now resolved it.
:::


# Error authenticating with auth code due to: request to https://resourceful-bear-qsx3h8-dev-ed.trailblaze.my.salesforce.com//services/oauth2/token failed, reason: unable to get local issuer certificate

This is most likely not an error with the Salesforce CLI. Please ensure all information is accurate and try again.

+ [visual studio codeで組織の認証がエラーになる](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000QMpnE)

相手側がクラウドなので、これは回避できないと思います。
証明書のファイルをダウンロードして強制的に適用させれば回避できるかもしれません。

根本的にはネットワーク（セキュリティポリシー）の問題ではないかと思います。
制限なしにインターネットにつながる環境でないと難しいかもしれません。
https://superuser.com/questions/97201/how-to-save-a-remote-server-ssl-certificate-locally-as-a-file

# Error authenticating with auth code due to: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND 7890 This is most likely not an error with the Salesforce CLI. Please ensure all information is accurate and try again.

+ [Authorize an Org failed. ENOTFOUND 7890](https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000JejyK)

:::note
Please check this article.

Use the Salesforce CLI from Behind a Company Firewall or Web Proxy
https://developer.salesforce.com/docs/atlas.en-us.238.0.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli_firewall.htm
:::

+ [Salesforce CLI Setup Guide:Use the Salesforce CLI from Behind a Company Firewall or Web Proxy](https://developer.salesforce.com/docs/atlas.en-us.238.0.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli_firewall.htm)


# 【未解決】Error authenticating with auth code due to: request to https://login.salesforce.com//services/oauth2/token failed, reason: getaddrinfo ENOTFOUND server

+ [Error authenticating with auth code due to: request to https://login.salesforce.com//services/oauth2/token failed, reason: getaddrinfo ENOTFOUND server](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Cu0uF)

# AuthCodeExchangeError

+ [VSCodeを使用して開発しようとしたときのFetch errorの解決策](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX000000NlIu)

:::note alert
Error authenticating with auth code due to: FetchError::request to https://login.salesforce.com/services/oauth2/token failed, reason:

This is most likely not an error with the Salesforce CLI. Please ensure all information is accurate and try again.
:::

:::note
以下を参考にしてみてください

https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000JejyK

https://developer.salesforce.com/docs/atlas.en-us.238.0.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli_firewall.htm
:::