Skip to main content

VScodeから組織の認証時に、エラーが発生します。

プロキシサーバ経由でリクエストしているので環境変数は設定していおります。

 

解決策はありますでしょうか。

 

■エラー情報

sfdx force:auth:web:login -r https://test.salesforce.com --dev-debug

……

  https-proxy-agent:agent Creating `tls.Socket`: { protocol: 'https:', slashes: true, auth: null, host: '********', port: ****, hostname: '********', hash: null, search: null, query: null, href: 'https://********/', ALPNProtocols: [ 'http 1.1' ] } +9ms

  https-proxy-agent:parse-proxy-response onerror Error: write EPROTO 340B0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:c:\ws\deps\openssl\openssl\ssl\record\ssl3_record.c:355:      at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16) { errno: -4046, code: 'EPROTO', syscall: 'write' } +0ms

Error (1): 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:

 

*** Internal Diagnostic ***

 

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:

 

    at LoginWeb.run (C:\Users\********\AppData\Local\sf\client\2.6.7-2553c44\node_modules\@salesforce\plugin-auth\lib\commands\org\login\web.js:51:23)

    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

    at async LoginWeb._run (C:\Users\********\AppData\Local\sf\client\2.6.7-2553c44\node_modules\@oclif\core\lib\command.js:117:22)

    at async Config.runCommand (C:\Users\********\AppData\Local\sf\client\2.6.7-2553c44\node_modules\@oclif\core\lib\config\config.js:329:25)

    at async run (C:\Users\********\AppData\Local\sf\client\2.6.7-2553c44\node_modules\@oclif\core\lib\main.js:89:16)

******

9 risposte
0/9000