SFDX Update returns Error: S3 host is not reachable.

See original GitHub issue

Summary

Running sfdx update throws Warning: Attempting to contact update site... and then Error: S3 host is not reachable

Steps To Reproduce:

  1. Run sfdx update

Expected result

SFDX to be updated

Actual result

Error thrown

Additional information

Feel free to attach a screenshot.

SFDX CLI Version: sfdx-cli/7.71.0-4193fb4acc wsl-x64 node-v12.18.3

SFDX plugin Version

@oclif/plugin-autocomplete 0.1.5 (core) @oclif/plugin-commands 1.3.0 (core) @oclif/plugin-help 3.1.0 (core) @oclif/plugin-not-found 1.2.4 (core) @oclif/plugin-plugins 1.9.0 (core) @oclif/plugin-update 1.3.10 (core) @oclif/plugin-warn-if-update-available 1.7.0 (core) @oclif/plugin-which 1.0.3 (core) @salesforce/sfdx-trust 3.2.1 (core) analytics 1.12.0 (core) generator 1.1.3 (core) salesforcedx 49.5.0 (49.5.0) ├─ @salesforce/sfdx-plugin-lwc-test 0.1.7 ├─ salesforcedx-templates 49.2.0 ├─ salesforce-alm 49.5.0 └─ custom-metadata 1.0.8 sfdx-cli 7.71.0 (core) sfdx-wry-plugin 0.0.11

OS and version: Windows 10 WSL2

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
TamiTakamiyacommented, Mar 8, 2021

I wonder if this wsl-x64 update issue could be resolved just by creating a symbolic link wsl-x64 to linux-x64 on the server that stores updated codes. Or isn’t that simple?

0reactions
amp42commented, Oct 1, 2022

I’ve been running sfdx on WSL for a while, updates always worked…until recently. I am on 7.158.1 and doing an update runs into Error: HTTP Error 404 for GET https://developer.salesforce.com/wsl-x64 for reasons commenters above already pointed out. wsl-x64 comes back from oclif, platform and arch properties respectively. Haven’t tried hardcoding the platform+arch string to linux-x64 in updateReachability.js.

@mshanemc oclif already supports WSL: https://github.com/oclif/config/pull/107

Read more comments on GitHub >

github_iconTop Results From Across the Web

s3 host is not reachable | Salesforce Trailblazer Community
I'm using sfdx update command in salesforce CLI to update the CLI but get an error saying "Error: S3 host is not reachable"....
Read more >
Error on running SFDX CLI command
Attempting to contact update site.. S3 host is not reachable.. Has anyone here come across this message earlier. Any inputs would be greatly ......
Read more >
Installing and Updating Salesforce CLI - YouTube
Aloha everyone,#lecture3 - How to install Salesforce CLI and SFDX, How to update SFDXSFDX and Salesforce CLI is not new, but they sure...
Read more >
sfdx-cli/package.json - UNPKG
The CDN for sfdx-cli.
Read more >
sfdx-cli - npm
Salesforce CLI. Latest version: 7.182.1, last published: 10 days ago. Start using sfdx-cli in your project by running `npm i sfdx-cli`.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found