Azure / Azure/azure-cli

"Request failed with error: Unexpected internal error".

Open
#28,148 11 comments 0 reactions 0 assignees View on GitHub
act-quality-productivity-squad Auto-Assign bug customer-reported Network Network - Bastion Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

Hello,

Since the beginning of 2024, we've been unable to connect to our Azure VMs via the Bastion native client.
However, we haven't made any changes to our script and everything was working perfectly in 2023

We couldn't find any information on the net about this error !!!! Do you have any idea about the origin of this problem ?

Thank you for your feedback,

Sincerely,

Laurent

### Related command

"az network bastion rdp --name "xxxx" --resource-group "xxxx" --target-resource-id "/subscriptions/xxxx"

### Errors

"Request failed with error: Unexpected internal error".

### Issue script & Debug output

The command "az network bastion rdp -- debug" returns the following error:
---------------------------------------------------------------------------------------------------------
urllib3.connectionpool: Starting new HTTPS connection (1): xxxxxxxxx.bastion.azure.com:443
urllib3.connectionpool: https://xxxxxxxxxxx.bastion.azure.com:443 "GET /api/rdpfile?resourceId=/subscriptions/xxxxxxxxx/providers/Microsoft.Compute/virtualMachines/xxxxxxxx&format=rdp&rdpport=3389&enablerdsaad=False **HTTP/1.1" 500 None**
---------------------------------------------------------------------------------------------------------

### Expected behavior

We just hope to be able to connect to our machine, as we did in 2023 :)

### Environment Summary

--------------------------------------------
PS C:\Windows\system32> az --version
azure-cli 2.55.0
core 2.55.0
telemetry 1.1.0
Extensions:
bastion 0.3.0
Dependencies:
msal 1.24.0b2
azure-mgmt-resource 23.1.0b2
-----------------------------------------

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.