Skip to content

PSES doesn't start during SSH remoting to Windows 2022 Azure Edition Nano #3868

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
5 tasks done
JustinGrote opened this issue Mar 9, 2022 · 3 comments
Closed
5 tasks done
Labels
Issue-Bug A bug to squash. Needs: Maintainer Attention Maintainer attention needed!

Comments

@JustinGrote
Copy link
Collaborator

JustinGrote commented Mar 9, 2022

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
  • I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.

Summary

PSIC opens just fine, but the PSES eventually times out after 4 minutes. What's weird is that intellisense works fine for the first bit just fine. This may be more than just this OS.

PowerShell Version

7.2.1

Visual Studio Code Version

Insiders

Extension Version

Preview

Steps to Reproduce

Set up SSH remoting to Windows Server 2022 Azure Edition

Visuals

No response

Logs

3/9/2022 1:54:48 AM [NORMAL] - pwsh.exe started.
3/9/2022 1:54:48 AM [NORMAL] - Waiting for session file
3/9/2022 1:54:48 AM [NORMAL] - Shutting down language client...
3/9/2022 1:54:48 AM [NORMAL] - Terminating PowerShell process...
3/9/2022 1:54:48 AM [NORMAL] - Language server starting --
3/9/2022 1:54:48 AM [NORMAL] - PowerShell executable: C:\Powershell7\pwsh.exe
3/9/2022 1:54:48 AM [NORMAL] - PowerShell args: -NoProfile -ExecutionPolicy Bypass -Command Import-Module 'c:\Users\SHDLDevAdmin.vscode-server-insiders\extensions\ms-vscode.powershell-preview-2022.2.2\modules\PowerShellEditorServices\PowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2022.2.2' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath 'c:\Users\SHDLDevAdmin.vscode-server-insiders\extensions\ms-vscode.powershell-preview-2022.2.2\modules' -EnableConsoleRepl -StartupBanner '' -LogLevel 'Normal' -LogPath 'c:\Users\SHDLDevAdmin.vscode-server-insiders\extensions\ms-vscode.powershell-preview-2022.2.2\logs\1646790888-1a3b69c0-46c8-408d-80f2-bcf1d4b1c2f31646790492936\EditorServices.log' -SessionDetailsPath 'c:\Users\SHDLDevAdmin.vscode-server-insiders\extensions\ms-vscode.powershell-preview-2022.2.2\sessions\PSES-VSCode-undefined-422714' -FeatureFlags @()
3/9/2022 1:54:48 AM [NORMAL] - PowerShell Editor Services args: Import-Module 'c:\Users\SHDLDevAdmin.vscode-server-insiders\extensions\ms-vscode.powershell-preview-2022.2.2\modules\PowerShellEditorServices\PowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2022.2.2' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath 'c:\Users\SHDLDevAdmin.vscode-server-insiders\extensions\ms-vscode.powershell-preview-2022.2.2\modules' -EnableConsoleRepl -StartupBanner '' -LogLevel 'Normal' -LogPath 'c:\Users\SHDLDevAdmin.vscode-server-insiders\extensions\ms-vscode.powershell-preview-2022.2.2\logs\1646790888-1a3b69c0-46c8-408d-80f2-bcf1d4b1c2f31646790492936\EditorServices.log' -SessionDetailsPath 'c:\Users\SHDLDevAdmin.vscode-server-insiders\extensions\ms-vscode.powershell-preview-2022.2.2\sessions\PSES-VSCode-undefined-422714' -FeatureFlags @()
3/9/2022 1:54:48 AM [NORMAL] - pwsh.exe started.
3/9/2022 1:54:48 AM [NORMAL] - Waiting for session file
3/9/2022 1:54:50 AM [NORMAL] - Session file found
3/9/2022 1:54:50 AM [NORMAL] - Registering terminal close callback
3/9/2022 1:54:50 AM [NORMAL] - Registering terminal PID log callback
3/9/2022 1:54:50 AM [NORMAL] - pwsh.exe PID: 5084
3/9/2022 1:54:50 AM [NORMAL] - Language server started.
3/9/2022 1:54:50 AM [NORMAL] - {"status":"started","languageServiceTransport":"NamedPipe","languageServicePipeName":"\\.\pipe\PSES_35a4fmo0.q1s","debugServiceTransport":"NamedPipe","debugServicePipeName":"\\.\pipe\PSES_0mhcxs2x.45j"}
3/9/2022 1:54:50 AM [NORMAL] - Connecting to language service on pipe \.\pipe\PSES_35a4fmo0.q1s...
3/9/2022 1:54:50 AM [NORMAL] - Language service connected.
3/9/2022 1:58:48 AM [NORMAL] - Timed out waiting for session file to appear.
3/9/2022 1:58:48 AM [NORMAL] - Language server startup failed.
3/9/2022 1:58:48 AM [ERROR] - The language service could not be started:
3/9/2022 1:58:48 AM [ERROR] - Error: Timed out waiting for session file to appear.

@JustinGrote JustinGrote added the Issue-Bug A bug to squash. label Mar 9, 2022
@ghost ghost added the Needs: Triage Maintainer attention needed! label Mar 9, 2022
@andyleejordan
Copy link
Member

@JustinGrote do you think this is a duplicate of #3466?

@andyleejordan andyleejordan added Needs: Author Feedback Please give us the requested feedback! and removed Needs: Triage Maintainer attention needed! labels Mar 15, 2022
@JustinGrote
Copy link
Collaborator Author

@andschwa probably, seems like similar environmental conditions.

@ghost ghost added Needs: Maintainer Attention Maintainer attention needed! and removed Needs: Author Feedback Please give us the requested feedback! labels Mar 15, 2022
@JustinGrote
Copy link
Collaborator Author

Closing as dupe of #3466 unless we find unrelated causes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug A bug to squash. Needs: Maintainer Attention Maintainer attention needed!
Projects
None yet
Development

No branches or pull requests

2 participants