Cloud Shell terminal failed to initialize: The download of the specified resource has failed #8242

Open
opened 2026-01-31 01:24:27 +00:00 by claunia · 5 comments
Owner

Originally created by @ningweinw on GitHub (May 19, 2020).

Environment

Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]

Microsoft Windows [Version 10.0.18363.836]

Windows Terminal version (if applicable):

Version: 0.11.1333.0

Any other software?

Steps to reproduce

Select "Azure Cloud Shell" in the pull down menu, select the tenant number

Expected behavior

Cloud Shell terminal should present

Actual behavior

Error is reported, the output as follows:

Requesting a cloud shell instance...
Succeeded.
Requesting a terminal (this might take a while)...
IXMLHttpRequest2Callback::OnError: -2146697208: The download of the specified resource has failed.

[process exited with code 1]

Originally created by @ningweinw on GitHub (May 19, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd] Microsoft Windows [Version 10.0.18363.836] Windows Terminal version (if applicable): Version: 0.11.1333.0 Any other software? ``` # Steps to reproduce Select "Azure Cloud Shell" in the pull down menu, select the tenant number <!-- A description of how to trigger this bug. --> # Expected behavior Cloud Shell terminal should present <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> # Actual behavior Error is reported, the output as follows: Requesting a cloud shell instance... Succeeded. Requesting a terminal (this might take a while)... IXMLHttpRequest2Callback::OnError: -2146697208: The download of the specified resource has failed. [process exited with code 1] <!-- What's actually happening? -->
claunia added the Issue-BugProduct-TerminalPriority-2Area-AzureShell labels 2026-01-31 01:24:27 +00:00
Author
Owner

@DHowett commented on GitHub (May 19, 2020):

Wow, never seen that one before.

@DHowett commented on GitHub (May 19, 2020): Wow, never seen that one before.
Author
Owner

@sangramthecoder commented on GitHub (May 25, 2021):

I do have the similar issue.

Please enter the desired tenant number.
Enter n to login with a new account
Enter r to remove the above saved connection settings.

0
Requesting a cloud shell instance...
Succeeded.
Requesting a terminal (this might take a while)...
IXMLHttpRequest2Callback::OnError: -2146697208: The download of the specified resource has failed.

Is it related to Firewall settings or NSG settings in Azure?.
Outbound and Inbound Rules on my machine has all process allowed to communicate on port 443. NSG in azure has all access allowed.

Networking
Allow access from All networks

Where I am missing the part?

@sangramthecoder commented on GitHub (May 25, 2021): I do have the similar issue. Please enter the desired tenant number. Enter n to login with a new account Enter r to remove the above saved connection settings. > 0 Requesting a cloud shell instance... Succeeded. Requesting a terminal (this might take a while)... IXMLHttpRequest2Callback::OnError: -2146697208: The download of the specified resource has failed. Is it related to Firewall settings or NSG settings in Azure?. Outbound and Inbound Rules on my machine has all process allowed to communicate on port 443. NSG in azure has all access allowed. Networking Allow access from All networks Where I am missing the part?
Author
Owner

@cbuttars-git commented on GitHub (Jan 9, 2022):

Is there a work around for this problem? I can't seem to get past no matter what I do. If I could vote up to get a fix into an iteration I certainly would do so.

@cbuttars-git commented on GitHub (Jan 9, 2022): Is there a work around for this problem? I can't seem to get past no matter what I do. If I could vote up to get a fix into an iteration I certainly would do so.
Author
Owner

@sangramthecoder commented on GitHub (Jan 18, 2022):

I tried the same with some other laptops, on some of them it worked and for two I think it didn't. What I understood either it's related to lack of administration permission in order to execute or communicate with System32 file system or network policy blocking the request. What I am trying to find out what exactly causes this failure.

@sangramthecoder commented on GitHub (Jan 18, 2022): I tried the same with some other laptops, on some of them it worked and for two I think it didn't. What I understood either it's related to lack of administration permission in order to execute or communicate with System32 file system or network policy blocking the request. What I am trying to find out what exactly causes this failure.
Author
Owner

@LarnuUK commented on GitHub (Mar 22, 2022):

Received this error myself today too:

Tenant 0: Default Directory ({Redaced})
Please enter the desired tenant number.
Enter n to login with a new account
Enter r to remove the above saved connection settings.
> 0
Requesting a cloud shell instance...
Succeeded.
Requesting a terminal (this might take a while)...
IXMLHttpRequest2Callback::OnError: -2146697208: The download of the specified resource has failed.

[process exited with code 1]

This is on a host that has worked fined previously, for a couple years. Only thing that I know has changed today is that updated Powershell 7 to 7.2.2.

@LarnuUK commented on GitHub (Mar 22, 2022): Received this error myself today too: ```powershell Tenant 0: Default Directory ({Redaced}) Please enter the desired tenant number. Enter n to login with a new account Enter r to remove the above saved connection settings. > 0 Requesting a cloud shell instance... Succeeded. Requesting a terminal (this might take a while)... IXMLHttpRequest2Callback::OnError: -2146697208: The download of the specified resource has failed. [process exited with code 1] ``` This is on a host that has worked fined previously, for a couple years. Only thing that I know has changed today is that updated Powershell 7 to 7.2.2.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8242