I have setup Virtual network and required subnets in a resource group.
I have created a VNET secured VM, a Bastion subnet and Bastion service. Bastion service is attached with a public IP address.
I am trying to open my VM through bastion, but it gives me below connection error:
APP.DIALOG_HEADER_CONNECTION_ERROR
CLIENT.TEXT_CLIENT_STATUS_301
Error page is attached in this thread.
Please let me know if anyone has experienced this issue.
2
Answers
The error message you received, APP.DIALOG_HEADER_CONNECTION_ERROR CLIENT.TEXT_CLIENT_STATUS_301 suggests that there may be an issue with the connection between the Bastion service and your VM. The error code "CLIENT_STATUS_301" typically indicates a redirection error.
One of the potential solution has been shared already here but another thing to say is Azure Bastion uses an HTML5 web client via your browser and a TLS connection over port 443.
Considering the above and trying to help you into the troubleshooting process, I would take into the equation as well:
Please, try to:
If the issue persists, log a support ticket.
This error usually occurs, if NSG and Network interface are not configured properly and if the private link is attached to the virtual network:
To resolve this issue, ensure that network interface is attached to NSG and virtual network add NSG port 443,80:
Make sure your Bastion Virtual Network is not attached to any private endpoint and any private link.
Created virtual machine and deployed bastion in vm like below:
Now, using virtual machine bastion is connected successfully:
If still error persist, check this reference by scuffyinoz