Remote SSH doesn't work on Ubuntu 24.04

I just downloaded Cursor 0.41.3 on Ubuntu 24.04 and launched it with an option --no_sandbox as suggested in Cursor install Ubuntu 24.04.
It worked to some extent, but I couldn’t successfully ssh to my remote server.
Here is a message I got:

[17:29:48.325] > ready: bf54f648a9ce
[17:29:48.349] > Linux 5.4.0-193-generic #213-Ubuntu SMP Fri Aug 2 19:14:16 UTC 2024
[17:29:48.349] Platform: linux
[17:29:48.364] > /bin/bash
[17:29:48.364] Shell: bash
[17:29:48.364] Creating bash subshell inside "bash"
[17:29:48.383] > bash version:  5.0.17(1)-release
[17:29:48.435] > bf54f648a9ce: running
[17:29:48.475] > Acquiring lock on /tmp/vscode-remote-lock.test_user.51c8aff7cb5a89f4a0e462fbacab938bdbfaf140
[17:29:48.479] > Installing to /home/test_user/.cursor-server/bin/51c8aff7cb5a89f4a0e462fbacab938bdbfaf140...
[17:29:48.482] > bf54f648a9ce%%1%%
[17:29:48.485] > Downloading with wget
[17:29:48.607] > wget download failed
[17:29:48.607] > https://update.code.visualstudio.com/commit:51c8aff7cb5a89f4a0e462fbacab938bdbfaf140/server-linux-x64/stable: 2024-09-30 17:29:48 ERROR 404: Not Found.
> printenv:
[17:29:48.610] >     SHELL=/bin/bash
>     LANGUAGE=en_US:en
>     LC_ADDRESS=en_US.UTF-8
>     LC_NAME=en_US.UTF-8
>     SSH_AUTH_SOCK=/tmp/ssh-9NfZf8BogH/agent.3434883
>     LC_MONETARY=en_US.UTF-8
>     PWD=/home/test_user/.cursor-server/bin/51c8aff7cb5a89f4a0e462fbacab938bdbfaf140
>     LOGNAME=test_user
>     MOTD_SHOWN=pam
>     HOME=/home/test_user
>     LANG=en_US.UTF-8
>     LC_PAPER=en_US.UTF-8
>     VSCODE_AGENT_FOLDER=/home/test_user/.cursor-server
>     SSH_CONNECTION=<DELETED TO POST TO THE FORUM>
>     LC_IDENTIFICATION=en_US.UTF-8
>     USER=test_user
>     SHLVL=2
>     LC_TELEPHONE=en_US.UTF-8
>     LC_MEASUREMENT=en_US.UTF-8
>     LC_CTYPE=en_US.UTF-8
>     SSH_CLIENT=<DELETED TO POST TO THE FORUM>
>     LC_TIME=en_US.UTF-8
>     LC_ALL=en_US.UTF-8
>     XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
>     PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
>     LC_NUMERIC=en_US.UTF-8
>     OLDPWD=/home/test_user
>     _=/usr/bin/printenv
[17:29:48.614] > Trigger local server download
> bf54f648a9ce:trigger_server_download
> platform==linux==
> vscodeArch==x64==
[17:29:48.614] > destFolder==/home/test_user/.cursor-server/bin/==
> destFolder2==51c8aff7cb5a89f4a0e462fbacab938bdbfaf140==
> bf54f648a9ce:trigger_server_download_end
> Waiting for client to transfer server archive...
> Waiting for /home/test_user/.cursor-server/bin/51c8aff7cb5a89f4a0e462fbacab938bdbfaf140/vscode-scp-done.flag and vscode-server.tar.gz to exist
>  
[17:29:48.614] Got request to download on client for {"platform":"linux","arch":"x64","destFolder":"/home/test_user/.cursor-server/bin/51c8aff7cb5a89f4a0e462fbacab938bdbfaf140"}
[17:29:48.614] Downloading VS Code server locally...
[17:29:48.736] Terminating local server
[17:29:48.738] Resolver error: Error: Server returned 404
    at l (vscode-file://vscode-app/tmp/.mount_cursorZiHKbh/resources/app/out/vs/workbench/workbench.desktop.main.js:1197:48671)
    at y.download (vscode-file://vscode-app/tmp/.mount_cursorZiHKbh/resources/app/out/vs/workbench/workbench.desktop.main.js:1198:1878)

It looks wget download failed during the process. Is there any workaround for this?

This issue happened only on Ubuntu 24.04. I could connect to the server either from Ubuntu 22.04 or Windows 10.