Skip to content
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

CloudShell - CloudShell in Windows Terminal Exiting #18372

Open
ritubarick opened this issue Dec 27, 2024 · 0 comments
Open

CloudShell - CloudShell in Windows Terminal Exiting #18372

ritubarick opened this issue Dec 27, 2024 · 0 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@ritubarick
Copy link

Windows Terminal version

1.21.2361.0

Windows build number

Windows 11 Version 23H2 (OS Build 22631.3380)

Other Software

No response

Steps to reproduce

Impact: Customers are unable to launch Azure Cloud Shell from Windows Terminal, hindering the release of Windows Terminal to customers.
Customers are experiencing an error when attempting to launch Azure Cloud Shell from Windows Terminal. . It fails with this error:
[process exited with code 1 (0x00000001)]

Lab repro:

Deployed CloudShell integrated with Vnet same as customer: Deploy Azure Cloud Shell in a virtual network with quickstart templates | Microsoft Learn

Test 1: Filled all details in the onboarding UX:

Image
Image

We can successfully reproduce the error when Portal cloudshell is either stuck here:

Image

or it has timed out after 20 mins

In either of the above conditions, we get the same error in Terminal:
Image

Test 2:

Connected to cloudshell portal, then connected cloudshell terminal, both worked well.

Left cloudshell portal idle for about 6 hours.

Image

Session on cloudshell Windows terminal ended after a while which, I assume, is expected.

Image

Launched a new cloudshell terminal session without touching cloudshell in portal. Got the same error as customer.

Image

Workaround: As long as portal cloudshell is not left idle to timeout, customer as well as we can successfully launch terminal cloudshell as well. If we return to portal cloudshell and relaunch it, then windows terminal cloudshell starts successfully.

Expected Behavior

Cloudshell in Windows terminal should launch

Actual Behavior

Customer is trying to launch Azure Cloud Shell from Windows Terminal. It fails with this error:
"Requesting a cloud shell instance...Succeeded.Requesting a terminal (this might take a while)...[process exited with code 1 (0x00000001)]
"

@ritubarick ritubarick added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

1 participant