-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
Description of problem:
VSCode Remote SSH plugin seems to be using port 5000, which is also used by the mirror_registry.sh script.
Version-Release number of selected component (if applicable):
All
How reproducible:
100% in devenv
Steps to Reproduce:
1. Run VSCode 2. Connect it to remote host using Reomte SSH extension 3. ./test/bin/mirror_registry.sh
Actual results:
The mirror_registry.sh script fails Error: pasta failed with exit code 1: Failed to bind port 5000 (Address already in use) for option '-t 5000-5000:5000-5000', exiting
Expected results:
The mirror_registry.sh script must complete successfully
Additional info:
$ sudo ss -ltnp | grep ':5000' LISTEN 0 511 127.0.0.1:5000 0.0.0.0:* users:(("code",pid=286822,fd=61)) $ ps -ef | grep 286822 ggiguash 286822 285901 0 Aug05 ? 00:05:17 /usr/share/code/code --type=utility --utility-sub-type=node.mojom.NodeService --lang=en-US --service-sandbox-type=none --dns-result-order=ipv4first --inspect-port=0 --crashpad-handler-pid=285948 --enable-crash-reporter=4935e37a-d091-4cb6-a97f-7d6beba09140,no_channel --user-data-dir=/home/ggiguash/.config/Code --standard-schemes=vscode-webview,vscode-file --enable-sandbox --secure-schemes=vscode-webview,vscode-file --cors-schemes=vscode-webview,vscode-file --fetch-schemes=vscode-webview,vscode-file --service-worker-schemes=vscode-webview --code-cache-schemes=vscode-webview,vscode-file --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,11263248985603484990,13457909907901389375,262144 --enable-features=kWebSQLAccess --disable-features=CalculateNativeWinOcclusion,SpareRendererForSitePerProcess --variations-seed-version ggiguash 466817 286822 0 Aug08 ? 00:00:19 /usr/share/code/code /home/ggiguash/.vscode/extensions/ms-vscode-remote.remote-ssh-0.112.0/out/localServer.js {"serverId":4,"ipcHandlePath":"/run/user/4201756/vscode-ssh-askpass-df477753116cac9f3415ea1ecb292718fd8a6627.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","40001","-o","ConnectTimeout=15","microshift-dev-rhel94"],"serverDataFolderName":".vscode-server","dataFilePath":"/home/ggiguash/.config/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-25ec3b6c-f1e16e1e6214d7c44d078b1f0607b2388f29d729-0.112.0-es/data.json"}