Open LNillox opened 10 months ago
Thank you for opening this issue, we will look into it.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @aznetsuppgithub.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @bastionsuppgithub.
Exactly same problem. please no re-root the post to another appropriate Team, there is not follow. thanks
Is a solution found for this issue yet? I'm getting the same error with a newly deployed setup of ours. Thanks
any progress here, experiencing the the same issue.
I am experiencing the same issue when trying to connect to RDP via Azure bastion
Any updates on this, experiencing the same issue. azure-cli 2.61.0
Is this the same you are guys experiencing? In the GUI Bastion works
the same here, latest Az and Bastion extension.
File "C:\Users\XXX.azure\cliextensions\bastion\azext_bastion\custom.py", line 343, in handle_error_response raise ClientRequestError("Request failed with error: " + errorMessage) azure.cli.core.azclierror.ClientRequestError: Request failed with error: Unexpected internal error
cli.azure.cli.core.azclierror: Request failed with error: Unexpected internal error az_command_data_logger: Request failed with error: Unexpected internal error
For me this error message also occurrs if the permissions are not set correctly. Ensure that the user who tries to login has Read Permission on the Bastion object, the VM and the NIC of the VM. Additionally the User needs Virtual Machine Administrator Login or Virtual Machine User Login permission on the VM object
Maybe the error message could be made more clear in case this happens because of permissions
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