Files
doc-exports/docs/modelarts/umn/modelarts_05_3118.html
Lai, Weijian 6aa966a79a ModelArts UMN 24.3.0 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lai, Weijian <laiweijian4@huawei.com>
Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
2024-11-02 09:04:52 +00:00

3.8 KiB

What Do I Do If a Remote Connection Is in the Retry State?

Symptom

Possible Cause

Downloading the VS Code server failed before, leading to residual data. As a result, new download cannot be performed.

Solution

Method 1 (performed locally): Open the command panel (Ctrl+Shift+P for Windows and Cmd+Shift+P for macOS), search for Kill VS Code Server on Host, and locate the affected instance, which will be automatically cleared. Then, establish the connection again.

Figure 1 Clearing the affected instance

Method 2 (performed remotely): Delete the files that are being used in /home/ma-user/.vscode-server/bin/ on the VS Code terminal. Then, establish the connection again.

ssh -tt -o StrictHostKeyChecking=no -i ${IdentityFile} ${User}@${HostName} -p ${Port}
rm -rf /home/ma-user/.vscode-server/bin/

Parameters:

- IdentityFile: Path to the local key

- User: Username, for example, ma-user

- HostName: IP address

- Port: Port number

The preceding methods can also be used to resolve issues related to the VS Code server.

<script language="JavaScript"> </script>