microsoft / microsoft/vscode-remote-release
Remote-SSH fails to determine the listeningOn address - panic in src/bin/code/main.rs (FIPS 140-2 security mode)
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 469
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Is there an existing issue for this bug?
- I have searched the existing open issues and found none that apply.
- If I find any issue of interest that is related or closed, I will included a link to it in this issue.
Required Troubleshooting Steps
- I have read and performed the troubleshooting steps
- I have tried both values of the
remote.SSH.useLocalServersetting - My issue was not covered in the Tips and Tricks linked from the Troubleshooting Wiki.
- I will include a complete copy of my Remote - SSH logs by running Remote-SSH: Show Log in the command palette or from View > Output in the menu bar
[Optional] Diagnose with Copilot
I did not ask the @remote-ssh participant for help
In step 2 of the troubleshooting wiki, what was the result of running the generated SSH command verbatim outside of VS Code?
I did not try step 2 of the troubleshooting steps
Remote-SSH Log
Remote-SSH Log
[08:51:31.679] Log Level: 2
[08:51:31.700] SSH Resolver called for "ssh-remote+64", attempt 1
[08:51:31.705] remote.SSH.useLocalServer = false
[08:51:31.708] remote.SSH.useExecServer = true
[08:51:31.708] remote.SSH.bindHost = {}
[08:51:31.708] remote.SSH.showLoginTerminal = false
[08:51:31.709] remote.SSH.remotePlatform = {"1":"linux","2":"linux","3":"linux","4":"linux","5":"linux","6":"linux","7":"linux","8":"linux","9":"linux","10":"linux","11":"linux","12":"linux","13":"linux","14":"linux","15":"linux","16":"linux","17":"linux","18":"linux","19":"linux","20":"linux","21":"linux","22":"linux","23":"linux","24":"linux","25":"linux","26":"linux","27":"linux","28":"linux","29":"linux","30":"linux","31":"linux","32":"linux","33":"linux","34":"linux","35":"linux","36":"linux","37":"linux","38":"linux","39":"linux","40":"linux","41":"linux","42":"linux","43":"linux","44":"linux","45":"linux","46":"linux","47":"linux","48":"linux","49":"linux","50":"linux","51":"linux","52":"linux","53":"linux","54":"linux","55":"linux","56":"linux","57":"linux","58":"linux","59":"linux","60":"linux","61":"linux","62":"linux","63":"linux","64":"linux","65":"linux","66":"linux","67":"linux","68":"linux","69":"linux","70":"linux","71":"linux","72":"linux","73":"linux","74":"linux","75":"linux","76":"linux","77":"linux","78":"linux","79":"linux","80":"linux","81":"linux","82":"linux","83":"linux","84":"linux","85":"linux","86":"linux","87":"linux","88":"linux","89":"linux","90":"linux","91":"linux","92":"linux","93":"linux","94":"linux","95":"linux","96":"linux","97":"linux","98":"linux","99":"linux","100":"linux","101":"linux","102":"linux","103":"linux","104":"linux","105":"linux","106":"linux","107":"linux","108":"linux","109":"linux","110":"linux","111":"linux","112":"linux","113":"linux","114":"linux","115":"linux","116":"linux","117":"linux","118":"linux","119":"linux","120":"linux","121":"linux","122":"linux","123":"linux","124":"linux","125":"linux","126":"linux","127":"linux","128":"linux","129":"linux","130":"linux","131":"linux","132":"linux","133":"linux","134":"linux","135":"linux","136":"linux","137":"linux","138":"linux","139":"linux","140":"linux","141":"linux","142":"linux","143":"linux","144":"linux","145":"linux","146":"linux","147":"linux","148":"linux","149":"linux","150":"linux","151":"linux","152":"linux","153":"linux","154":"linux","155":"linux","156":"linux","157":"linux","158":"linux","159":"linux","160":"linux","161":"linux","162":"linux","163":"linux","164":"linux","165":"linux","166":"linux","167":"linux","168":"linux","169":"linux","170":"linux","171":"linux","172":"linux","173":"linux","174":"linux","175":"linux","176":"linux","177":"linux","178":"linux","179":"linux","180":"linux","181":"linux","182":"linux","183":"linux","184":"linux","185":"linux","186":"linux","187":"linux","188":"linux","189":"linux","190":"linux","191":"linux","192":"linux","193":"linux","194":"linux","195":"linux","196":"linux","197":"linux","198":"linux","199":"linux","200":"linux","201":"linux","202":"linux","203":"linux","204":"linux","205":"linux","206":"linux","207":"linux","208":"linux","209":"linux","210":"linux","211":"linux","212":"linux","213":"linux","214":"linux","215":"linux","216":"linux","217":"linux","218":"linux","219":"linux","220":"linux","221":"linux","222":"linux","223":"linux","224":"linux","225":"linux","226":"linux","227":"linux","228":"linux","229":"linux","230":"linux","231":"linux","232":"linux","233":"linux","234":"linux","235":"linux","236":"linux","237":"linux","238":"linux","239":"linux","240":"linux","241":"linux","242":"linux","243":"linux","244":"linux","245":"linux","246":"linux","247":"linux","248":"linux","249":"linux","250":"linux","251":"linux","252":"linux","253":"linux","254":"linux","255":"linux","256":"linux","257":"linux","258":"linux","259":"linux","260":"linux","261":"linux","262":"linux","263":"linux","264":"linux","265":"linux","266":"linux","267":"linux","268":"linux","269":"linux","270":"linux","271":"linux","272":"linux","273":"linux","274":"linux","275":"linux","276":"linux","277":"linux","278":"linux","279":"linux","280":"linux","281":"linux","282":"linux","283":"linux","284":"linux","285":"linux","286":"linux","287":"linux","288":"linux","289":"linux","290":"linux","291":"linux","292":"linux","293":"linux","294":"linux","295":"linux","296":"linux","297":"linux","298":"linux","299":"linux","600":"linux","601":"linux","602":"linux","603":"linux","604":"linux","605":"linux","606":"linux","607":"linux","608":"linux","609":"linux","610":"linux","611":"linux","612":"linux","613":"linux","614":"linux","615":"linux","616":"linux","617":"linux","618":"linux","619":"linux","620":"linux","621":"linux","622":"linux","623":"linux","624":"linux","625":"linux","626":"linux","627":"linux","628":"linux","629":"linux","923":"linux","951":"linux","952":"linux","969":"linux","983":"linux","992":"linux","997":"linux","01":"linux","02":"linux","03":"linux","04":"linux","05":"linux","06":"linux","07":"linux","08":"linux","09":"linux","ch-606-rmc":"linux","bilby":"linux","bowhead":"linux","crossfield":"linux","fossett":"linux","manowar":"linux","mfw10":"linux","mfw3":"linux","mfw30":"linux","rmc":"linux","sunilb":"linux","trinity42":"linux","germanium":"linux","sph-085.chf.rdlabs.hpecorp.net":"linux","sph-099.chf.rdlabs.hpecorp.net":"linux","iol":"linux","ipv6logo-sandbox":"linux","ipv6logo":"linux","jellyfish":"linux","sandbox.tkxkcc.csb":"linux","silicon":"linux","ipv6logo.fchst":"linux","ipv6logo-old":"linux","ipv6logo-old.chf":"linux","ubuntus23":"linux","ubuntu23":"linux","ipv6logo.local":"linux","ubuntu23.local":"linux","nut":"linux","ipv6logo.chf":"linux","sph-006.chf.rdlabs.hpecorp.net":"linux","mfw40":"linux","mfw-zconf-test":"linux","krypton":"linux","blr-pxy":"linux","tg-testcon":"linux"}
[08:51:31.709] remote.SSH.path = undefined
[08:51:31.709] remote.SSH.configFile = undefined
[08:51:31.710] remote.SSH.useFlock = true
[08:51:31.710] remote.SSH.lockfilesInTmp = false
[08:51:31.710] remote.SSH.localServerDownload = auto
[08:51:31.711] remote.SSH.remoteServerListenOnSocket = false
[08:51:31.711] remote.SSH.defaultExtensions = []
[08:51:31.711] remote.SSH.defaultExtensionsIfInstalledLocally = []
[08:51:31.712] remote.SSH.loglevel = 2
[08:51:31.712] remote.SSH.enableDynamicForwarding = true
[08:51:31.712] remote.SSH.enableRemoteCommand = false
[08:51:31.713] remote.SSH.serverPickPortsFromRange = {}
[08:51:31.713] remote.SSH.serverInstallPath = {"1":"/store","2":"/store","3":"/store","4":"/store","5":"/store","6":"/store","7":"/store","8":"/store","9":"/store","10":"/store","11":"/store","12":"/store","13":"/store","14":"/store","15":"/store","16":"/store","17":"/store","18":"/store","19":"/store","20":"/store","21":"/store","22":"/store","23":"/store","24":"/store","25":"/store","26":"/store","27":"/store","28":"/store","29":"/store","30":"/store","31":"/store","32":"/store","33":"/store","34":"/store","35":"/store","36":"/store","37":"/store","38":"/store","39":"/store","40":"/store","41":"/store","42":"/store","43":"/store","44":"/store","45":"/store","46":"/store","47":"/store","48":"/store","49":"/store","50":"/store","51":"/store","52":"/store","53":"/store","54":"/store","55":"/store","56":"/store","57":"/store","58":"/store","59":"/store","60":"/store","61":"/store","62":"/store","63":"/store","64":"/store","65":"/store","66":"/store","67":"/store","68":"/store","69":"/store","70":"/store","71":"/store","72":"/store","73":"/store","74":"/store","75":"/store","76":"/store","77":"/store","78":"/store","79":"/store","80":"/store","81":"/store","82":"/store","83":"/store","84":"/store","85":"/store","86":"/store","87":"/store","88":"/store","89":"/store","90":"/store","91":"/store","92":"/store","93":"/store","94":"/store","95":"/store","96":"/store","97":"/store","98":"/store","99":"/store","100":"/store","101":"/store","102":"/store","103":"/store","104":"/store","105":"/store","106":"/store","107":"/store","108":"/store","109":"/store","110":"/store","111":"/store","112":"/store","113":"/store","114":"/store","115":"/store","116":"/store","117":"/store","118":"/store","119":"/store","120":"/store","121":"/store","122":"/store","123":"/store","124":"/store","125":"/store","126":"/store","127":"/store","128":"/store","129":"/store","130":"/store","131":"/store","132":"/store","133":"/store","134":"/store","135":"/store","136":"/store","137":"/store","138":"/store","139":"/store","140":"/store","141":"/store","142":"/store","143":"/store","144":"/store","145":"/store","146":"/store","147":"/store","148":"/store","149":"/store","150":"/store","151":"/store","152":"/store","153":"/store","154":"/store","155":"/store","156":"/store","157":"/store","158":"/store","159":"/store","160":"/store","161":"/store","162":"/store","163":"/store","164":"/store","165":"/store","166":"/store","167":"/store","168":"/store","169":"/store","170":"/store","171":"/store","172":"/store","173":"/store","174":"/store","175":"/store","176":"/store","177":"/store","178":"/store","179":"/store","180":"/store","181":"/store","182":"/store","183":"/store","184":"/store","185":"/store","186":"/store","187":"/store","188":"/store","189":"/store","190":"/store","191":"/store","192":"/store","193":"/store","194":"/store","195":"/store","196":"/store","197":"/store","198":"/store","199":"/store","200":"/store","201":"/store","202":"/store","203":"/store","204":"/store","205":"/store","206":"/store","207":"/store","208":"/store","209":"/store","210":"/store","211":"/store","212":"/store","213":"/store","214":"/store","215":"/store","216":"/store","217":"/store","218":"/store","219":"/store","220":"/store","221":"/store","222":"/store","223":"/store","224":"/store","225":"/store","226":"/store","227":"/store","228":"/store","229":"/store","230":"/store","231":"/store","232":"/store","233":"/store","234":"/store","235":"/store","236":"/store","237":"/store","238":"/store","239":"/store","240":"/store","241":"/store","242":"/store","243":"/store","244":"/store","245":"/store","246":"/store","247":"/store","248":"/store","249":"/store","250":"/store","251":"/store","252":"/store","253":"/store","254":"/store","255":"/store","256":"/store","257":"/store","258":"/store","259":"/store","260":"/store","261":"/store","262":"/store","263":"/store","264":"/store","265":"/store","266":"/store","267":"/store","268":"/store","269":"/store","270":"/store","271":"/store","272":"/store","273":"/store","274":"/store","275":"/store","276":"/store","277":"/store","278":"/store","279":"/store","280":"/store","281":"/store","282":"/store","283":"/store","284":"/store","285":"/store","286":"/store","287":"/store","288":"/store","289":"/store","290":"/store","291":"/store","292":"/store","293":"/store","294":"/store","295":"/store","296":"/store","297":"/store","298":"/store","299":"/store","600":"/store","601":"/store","602":"/store","603":"/store","604":"/store","605":"/store","606":"/store","607":"/store","608":"/store","609":"/store","610":"/store","611":"/store","612":"/store","613":"/store","614":"/store","615":"/store","616":"/store","617":"/store","618":"/store","619":"/store","620":"/store","621":"/store","622":"/store","623":"/store","624":"/store","625":"/store","626":"/store","627":"/store","628":"/store","629":"/store","923":"/store","951":"/store","952":"/store","969":"/store","983":"/store","992":"/store","997":"/store","rmc":"/store","01":"/store","02":"/store","03":"/store","04":"/store","05":"/store","06":"/store","07":"/store","08":"/store","09":"/store","ch-606-rmc":"/store"}
[08:51:31.713] remote.SSH.permitPtyAllocation = false
[08:51:31.714] remote.SSH.preferredLocalPortRange = undefined
[08:51:31.714] remote.SSH.useCurlAndWgetConfigurationFiles = true
[08:51:31.714] remote.SSH.experimental.chat = false
[08:51:31.715] remote.SSH.experimental.enhancedSessionLogs = false
[08:51:31.715] remote.SSH.httpProxy = {"*":"http://hpeproxy.its.hpecorp.net:80"}
[08:51:31.715] remote.SSH.httpsProxy = {"*":"http://hpeproxy.its.hpecorp.net:80"}
[08:51:31.722] VS Code version: 1.99.3
[08:51:31.722] Remote-SSH version: remote-ssh@0.119.0
[08:51:31.722] win32 x64
[08:51:31.752] SSH Resolver called for host: 64
[08:51:31.752] Setting up SSH remote "64"
[08:51:31.762] Using commit id "17baf841131aa23349f217ca7c570c76ee87b957" and quality "stable" for server
[08:51:31.763] Extensions to install:
[08:51:31.767] Install and start server if needed
[08:51:31.779] Checking ssh with "C:\windows\system32\ssh.exe -V"
[08:51:31.782] Got error from ssh: spawn C:\windows\system32\ssh.exe ENOENT
[08:51:31.782] Checking ssh with "C:\windows\ssh.exe -V"
[08:51:31.783] Got error from ssh: spawn C:\windows\ssh.exe ENOENT
[08:51:31.783] Checking ssh with "C:\windows\System32\Wbem\ssh.exe -V"
[08:51:31.784] Got error from ssh: spawn C:\windows\System32\Wbem\ssh.exe ENOENT
[08:51:31.785] Checking ssh with "C:\windows\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[08:51:31.786] Got error from ssh: spawn C:\windows\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[08:51:31.786] Checking ssh with "C:\windows\System32\OpenSSH\ssh.exe -V"
[08:51:31.844] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
[08:51:31.857] Running script with connection command: "C:\windows\System32\OpenSSH\ssh.exe" -T -D 50712 64 sh
[08:51:31.859] Generated SSH command: 'type "C:\Users\muggerid\AppData\Local\Temp\vscode-linux-multi-line-command-64-813261290.sh" | "C:\windows\System32\OpenSSH\ssh.exe" -T -D 50712 64 sh'
[08:51:31.860] Using connect timeout of 32 seconds
[08:51:31.861] Terminal shell path: C:\windows\System32\cmd.exe
[08:51:33.954] >
[08:51:33.954] Got some output, clearing connection timeout
[08:51:46.668] > Warning: Permanently added 'sph-064-rmc.chf.rdlabs.hpecorp.net' (ED25519) to the
> list of known hosts.
[08:51:47.800] > #----------------------------------------------------------------------------
> # WARNING: This is a private system. Do not attempt to login unless you are
> # an authorized user. Any access and use may be monitored and can result in
> # criminal or civil prosecution under applicable law.
> #----------------------------------------------------------------------------
> #
> #
[08:51:52.109] > fac189a79a87: running
[08:51:52.127] > Script executing under PID: 12187
[08:51:52.226] > Installing to /store/.vscode-server...
[08:51:52.258] > fac189a79a87%%1%%
> Downloading with wget
[08:51:52.273] > wget is from busybox: no
[08:51:52.408] > Program 'wget' appears to support flag '--no-config'
[08:51:55.055] > Download complete
[08:51:55.106] > fac189a79a87%%2%%
[08:51:55.123] > tar --version: tar (GNU tar) 1.34
> Copyright (C) 2021 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by John Gilmore and Jay Fenlason.
[08:51:56.033] > code 1.99.3 (commit 17baf841131aa23349f217ca7c570c76ee87b957)
[08:51:56.064] > Starting VS Code CLI...
[08:51:56.090] > Spawned remote CLI: 12252
[08:51:56.136] > Waiting for server log...
[08:51:56.179] > main: line 418: kill: (12252) - No such process
> Exec server process not found
>
> thread 'main' panicked at src/bin/code/main.rs:47:14:
> called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Builder, sou
> rce: Normal(ErrorStack([Error { code: 167772321, library: "SSL routines", functi
> on: "SSL_CTX_new_ex", reason: "library has no ciphers", file: "../src/nssl-3.1.4
[08:51:56.189] >
> -c5488d00d9.clean/ssl/ssl_lib.c", line: 3291 }])) }
> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[08:51:56.204] >
[08:51:56.239] > fac189a79a87: start
> listeningOn====
> osReleaseId==nxp-real-time-edge==
> arch==aarch64==
> vscodeArch==arm64==
> bitness==64==
> tmpDir==/tmp==
> platform==linux==
> unpackResult==success==
> didLocalDownload==0==
> downloadTime==2836==
> installTime==904==
> serverStartTime==144==
> execServerToken==111111a1-11a1-1111-11a1-111aa11a1111==
> platformDownloadPath==cli-alpine-arm64==
> SSH_AUTH_SOCK====
> DISPLAY====
[08:51:56.254] >
[08:51:56.412] > fac189a79a87: end
[08:51:56.413] Received install output:
listeningOn====
osReleaseId==nxp-real-time-edge==
arch==aarch64==
vscodeArch==arm64==
bitness==64==
tmpDir==/tmp==
platform==linux==
unpackResult==success==
didLocalDownload==0==
downloadTime==2836==
installTime==904==
serverStartTime==144==
execServerToken==111111a1-11a1-1111-11a1-111aa11a1111==
platformDownloadPath==cli-alpine-arm64==
SSH_AUTH_SOCK====
DISPLAY====
[08:51:56.414] Failed to parse remote port from server output
[08:51:56.416] Resolver error: Error:
at y.Create (c:\Users\muggerid\.vscode\extensions\ms-vscode-remote.remote-ssh-0.119.0\out\extension.js:2:742768)
at t.handleInstallOutput (c:\Users\muggerid\.vscode\extensions\ms-vscode-remote.remote-ssh-0.119.0\out\extension.js:2:740849)
at t.tryInstall (c:\Users\muggerid\.vscode\extensions\ms-vscode-remote.remote-ssh-0.119.0\out\extension.js:2:860735)
at async c:\Users\muggerid\.vscode\extensions\ms-vscode-remote.remote-ssh-0.119.0\out\extension.js:2:819559
at async t.withShowDetailsEvent (c:\Users\muggerid\.vscode\extensions\ms-vscode-remote.remote-ssh-0.119.0\out\extension.js:2:822810)
at async x (c:\Users\muggerid\.vscode\extensions\ms-vscode-remote.remote-ssh-0.119.0\out\extension.js:2:816073)
at async t.resolve (c:\Users\muggerid\.vscode\extensions\ms-vscode-remote.remote-ssh-0.119.0\out\extension.js:2:820211)
at async c:\Users\muggerid\.vscode\extensions\ms-vscode-remote.remote-ssh-0.119.0\out\extension.js:2:1107798
[08:51:56.431] ------
[08:51:56.431] No hints found in the recent session.
[08:51:57.994] Opening exec server for ssh-remote+64
[08:51:58.135] Opening exec server for ssh-remote+64
[08:51:58.155] Initizing new exec server for ssh-remote+64
[08:51:58.155] Using commit id "17baf841131aa23349f217ca7c570c76ee87b957" and quality "stable" for server
[08:51:58.155] Extensions to install:
[08:51:58.164] Install and start server if needed
[08:51:58.191] Running script with connection command: "C:\windows\System32\OpenSSH\ssh.exe" -T -D 50712 64 sh
[08:51:58.194] Generated SSH command: 'type "C:\Users\muggerid\AppData\Local\Temp\vscode-linux-multi-line-command-64-44286053.sh" | "C:\windows\System32\OpenSSH\ssh.exe" -T -D 50712 64 sh'
[08:51:58.194] Using connect timeout of 32 seconds
[08:51:58.195] Terminal shell path: C:\windows\System32\cmd.exe
[08:51:58.468] >
[08:51:58.469] Got some output, clearing connection timeout
[08:52:05.274] > Warning: Permanently added 'sph-064-rmc.chf.rdlabs.hpecorp.net' (ED25519) to the
> list of known hosts.
[08:52:06.427] > #----------------------------------------------------------------------------
> # WARNING: This is a private system. Do not attempt to login unless you are
> # an authorized user. Any access and use may be monitored and can result in
> # criminal or civil prosecution under applicable law.
> #----------------------------------------------------------------------------
> #
> #
[08:52:10.772] > b6a6d9ec7341: running
> Script executing under PID: 12535
[08:52:10.883] > Found existing installation at /store/.vscode-server...
[08:52:10.897] > Starting VS Code CLI...
[08:52:10.925] > Removing old logfile at /store/.vscode-server/.cli.17baf841131aa23349f217ca7c570
> c76ee87b957.log
[08:52:10.933] > Spawned remote CLI: 12555
[08:52:10.954] > Waiting for server log...
[08:52:11.019] > main: line 418: kill: (12555) - No such process
[08:52:11.033] > Exec server process not found
>
> thread 'main' panicked at src/bin/code/main.rs:47:14:
> called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Builder, sou
> rce: Normal(ErrorStack([Error { code: 167772321, library: "SSL routines", functi
> on: "SSL_CTX_new_ex", reason: "library has no ciphers", file: "../src/nssl-3.1.4
> -c5488d00d9.clean/ssl/ssl_lib.c", line: 3291 }])) }
> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[08:52:11.064] > b6a6d9ec7341: start
[08:52:11.180] > listeningOn====
> osReleaseId==nxp-real-time-edge==
> arch==aarch64==
> vscodeArch==arm64==
> bitness==64==
> tmpDir==/tmp==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> serverStartTime==159==
> execServerToken==11111111-111a-1a1a-11a1-a11aa1a1aaaa==
> platformDownloadPath==cli-alpine-arm64==
> SSH_AUTH_SOCK====
> DISPLAY====
> b6a6d9ec7341: end
[08:52:11.180] Received install output:
listeningOn====
osReleaseId==nxp-real-time-edge==
arch==aarch64==
vscodeArch==arm64==
bitness==64==
tmpDir==/tmp==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==159==
execServerToken==11111111-111a-1a1a-11a1-a11aa1a1aaaa==
platformDownloadPath==cli-alpine-arm64==
SSH_AUTH_SOCK====
DISPLAY====
[08:52:11.181] Failed to parse remote port from server output
[08:52:11.181] Exec server for ssh-remote+64 failed: Error
[08:52:11.181] Existing exec server for ssh-remote+64 errored (Error)
[08:52:11.182] Initizing new exec server for ssh-remote+64
[08:52:11.182] Using commit id "17baf841131aa23349f217ca7c570c76ee87b957" and quality "stable" for server
[08:52:11.182] Extensions to install:
[08:52:11.183] Error opening exec server for ssh-remote+64: Error
[08:52:11.183] No hints found in the recent session.
[08:52:11.187] Install and start server if needed
[08:52:11.205] Running script with connection command: "C:\windows\System32\OpenSSH\ssh.exe" -T -D 50712 64 sh
[08:52:11.207] Generated SSH command: 'type "C:\Users\muggerid\AppData\Local\Temp\vscode-linux-multi-line-command-64-626039554.sh" | "C:\windows\System32\OpenSSH\ssh.exe" -T -D 50712 64 sh'
[08:52:11.208] Using connect timeout of 32 seconds
[08:52:11.208] Terminal shell path: C:\windows\System32\cmd.exe
[08:52:11.478] >
[08:52:11.478] Got some output, clearing connection timeout
[08:52:13.250] > Warning: Permanently added 'sph-064-rmc.chf.rdlabs.hpecorp.net' (ED25519) to the
> list of known hosts.
[08:52:14.367] > #----------------------------------------------------------------------------
> # WARNING: This is a private system. Do not attempt to login unless you are
> # an authorized user. Any access and use may be monitored and can result in
> # criminal or civil prosecution under applicable law.
> #----------------------------------------------------------------------------
> #
> #
[08:52:18.664] > f1593b00c259: running
[08:52:18.679] > Script executing under PID: 12817
[08:52:18.777] > Found existing installation at /store/.vscode-server...
[08:52:18.813] > Starting VS Code CLI...
> Removing old logfile at /store/.vscode-server/.cli.17baf841131aa23349f217ca7c570
> c76ee87b957.log
[08:52:18.827] > Spawned remote CLI: 12835
[08:52:18.859] > Waiting for server log...
[08:52:18.916] > main: line 418: kill: (12835) - No such process
[08:52:18.931] > Exec server process not found
>
> thread 'main' panicked at src/bin/code/main.rs:47:14:
> called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Builder, sou
> rce: Normal(ErrorStack([Error { code: 167772321, library: "SSL routines", functi
> on: "SSL_CTX_new_ex", reason: "library has no ciphers", file: "../src/nssl-3.1.4
> -c5488d00d9.clean/ssl/ssl_lib.c", line: 3291 }])) }
> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[08:52:19.016] > f1593b00c259: start
> listeningOn====
> osReleaseId==nxp-real-time-edge==
> arch==aarch64==
> vscodeArch==arm64==
> bitness==64==
> tmpDir==/tmp==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> serverStartTime==154==
> execServerToken==11111a1a-1111-1a1a-111a-a1111111aa11==
> platformDownloadPath==cli-alpine-arm64==
> SSH_AUTH_SOCK====
> DISPLAY====
> f1593b00c259: end
[08:52:19.017] Received install output:
listeningOn====
osReleaseId==nxp-real-time-edge==
arch==aarch64==
vscodeArch==arm64==
bitness==64==
tmpDir==/tmp==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==154==
execServerToken==11111a1a-1111-1a1a-111a-a1111111aa11==
platformDownloadPath==cli-alpine-arm64==
SSH_AUTH_SOCK====
DISPLAY====
[08:52:19.017] Failed to parse remote port from server output
[08:52:19.017] Exec server for ssh-remote+64 failed: Error
[08:52:19.018] Error opening exec server for ssh-remote+64: Error
[08:52:19.018] No hints found in the recent session.
Expected Behavior
Be able to connect to my machine using remote-ssh.
Actual Behavior
Remote-SSH main.rs panics. From the log file, it appears it was unable to determine the listeningOn value due to an SSL error, claiming "library has no ciphers". Extract from the log...
[08:51:56.064] > Starting VS Code CLI...
[08:51:56.090] > Spawned remote CLI: 12252
[08:51:56.136] > Waiting for server log...
[08:51:56.179] > main: line 418: kill: (12252) - No such process
> Exec server process not found
>
> thread 'main' panicked at src/bin/code/main.rs:47:14:
> called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Builder, sou
> rce: Normal(ErrorStack([Error { code: 167772321, library: "SSL routines", functi
> on: "SSL_CTX_new_ex", reason: "library has no ciphers", file: "../src/nssl-3.1.4
[08:51:56.189] >
> -c5488d00d9.clean/ssl/ssl_lib.c", line: 3291 }])) }
> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[08:51:56.204] >
[08:51:56.239] > fac189a79a87: start
> listeningOn====
Steps To Reproduce
I can reproduce it 100% of the time when our systems are configured to enable FIPS 140-2, which has a stricter set of OpenSSL ciphers.
For example, when FIPS 140-2 is enabled the main.rs panics with the error, "library has no ciphers". The list of ciphers are:
$ openssl ciphers
TLS_AES_256_GCM_SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384
When FIPS 140-2 is disabled, VSCode can connect. In this case, the list of ciphers are:
$ openssl ciphers
TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES128-SHA:RSA-PSK-AES256-GCM-SHA384:DHE-PSK-AES256-GCM-SHA384:RSA-PSK-CHACHA20-POLY1305:DHE-PSK-CHACHA20-POLY1305:ECDHE-PSK-CHACHA20-POLY1305:AES256-GCM-SHA384:PSK-AES256-GCM-SHA384:PSK-CHACHA20-POLY1305:RSA-PSK-AES128-GCM-SHA256:DHE-PSK-AES128-GCM-SHA256:AES128-GCM-SHA256:PSK-AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:ECDHE-PSK-AES256-CBC-SHA384:ECDHE-PSK-AES256-CBC-SHA:SRP-RSA-AES-256-CBC-SHA:SRP-AES-256-CBC-SHA:RSA-PSK-AES256-CBC-SHA384:DHE-PSK-AES256-CBC-SHA384:RSA-PSK-AES256-CBC-SHA:DHE-PSK-AES256-CBC-SHA:AES256-SHA:PSK-AES256-CBC-SHA384:PSK-AES256-CBC-SHA:ECDHE-PSK-AES128-CBC-SHA256:ECDHE-PSK-AES128-CBC-SHA:SRP-RSA-AES-128-CBC-SHA:SRP-AES-128-CBC-SHA:RSA-PSK-AES128-CBC-SHA256:DHE-PSK-AES128-CBC-SHA256:RSA-PSK-AES128-CBC-SHA:DHE-PSK-AES128-CBC-SHA:AES128-SHA:PSK-AES128-CBC-SHA256:PSK-AES128-CBC-SHA
Note that it's the same version of OpenSSL, just the list of supported ciphers has changed.
Anything else?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.