Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I fix Azure Bastion sessions?

When I connect to a Windows VM using Bastion, I get the error: “A Bastion session should be initiated only from Azure Portal. Please login to Azure Portal and start your session again.” Of course, I am logged into Azure Portal, and I did start it from there. Then I can see the server desktop, but it is dimmed and not responsive due to the modal dialog with the error and a close button.

Bastion error

More details: On the Connect screen there is an “Open in new browser tab” option. If I clear that, then I don’t get the above error, but then screen is just blank. After I click connect, in the lower right corner it shows for a second, "The network connection to the Bastion Host appears unstable." It acts the same if I am on a VM or not. I am using an AD account; it acts the same if I include just the username or name@domain.

How can I get Bastion to work?

like image 678
John H Avatar asked Sep 07 '25 17:09

John H


1 Answers

I disabled or deleted all my browser extensions, and that fixed it. The problem extension was Wappalyzer.

like image 90
John H Avatar answered Sep 11 '25 12:09

John H