I answered the following in "Cannot SSH to Lightsail instance via AWS Console. Port 22 is open ". Will it help you?
In my case, I was able to connect by deleting Cookies (Chrome).
I don't know the cause, but when I couldn't connect, I was getting the following Websocket error in the console log.
Please open your lightsail console with browser traceless mode.
cant ssh from linux kali to my lightsail ubuntuasked a year ago
Cannot SSH to Lightsail instance via AWS Console. Port 22 is open.Accepted Answerasked 6 months ago
Unable to connect to Lightsail instance; now it's stuck "Stopping"asked 3 years ago
Lightsail debian instance ssh with vs codeasked 19 days ago
trying to ssh into an ec2 instanceasked 4 months ago
lightsail ssh "connecting to instance..." can't connected to my instance with sshasked 5 months ago
UPSTREAM_NOT_FOUND: Cannot connect to lightsail instanceasked 2 years ago
I have not connect ec2 instance by instance and ssh keyasked 7 months ago
ssh error when connecting ec2 instance using gitbashasked 8 months ago
Getting "There was a problem connecting to your instance" when trying to reconnect to an EC2 instanceasked 8 months ago