Summary
When connecting via Remote-SSH to a Fedora 40+ remote host (where wget is provided by wget2-wget), the remote server bootstrap script hangs indefinitely right after Finished cleaning up old server installations. while wget spins at ~100% CPU and holds the installation lock. Any subsequent connection attempts block indefinitely at Waiting for lock....
Environment
- Client: Antigravity IDE (Open Remote - SSH) on Linux
- Remote Host: Fedora 40+ (x86_64) with default
wget2-wgetproviding/usr/bin/wget
Observed Behavior
On the remote host, ps aux shows the bootstrap download stuck in state Sl at ~97–100% CPU for minutes without completing or timing out:
wget --tries=3 --timeout=10 --continue --quiet -O /tmp/tmp.XXXXXXXXXX <server-tarball-url>
Root Cause
- The bootstrap script prefers
wgetovercurland invokeswget --tries=3 --timeout=10 --continue ... -O <mktemp-file>. - On Fedora 40+,
/usr/bin/wgetiswget2, which enters a ~100% CPU busy-loop when combining--continuewith-Otargeting a freshly created 0-bytemktempfile.
Workaround
Kill the stuck wget process and replace wget2-wget with classic GNU Wget 1.x (or remove it so the script falls back to curl):
sudo dnf swap wget2-wget wget1-wget
Suggested Fix
- Prefer
curloverwgetwhen both are installed, or detectWget2viawget --version, and/or - Omit
--continuewhen downloading into a newly createdmktempfile.