I’m having an issue with connecting to an AWS LightSail instance via a browser based SSH connection. When I try to connect, it just hangs. When I look at inspect element, it throws an error stating that the WSS connection failed.
Error:
bundle_vendors.1be3c985d1be32bb5667.js:2 WebSocket connection to 'wss://connect.lightsail.aws.amazon.com/ls/websocket-tunnel?token=x&GUAC_DATA_SOURCE=parkside&GUAC_ID=x&GUAC_TYPE=c&GUAC_IMAGE=image%2Fpng&GUAC_INSTANCE_TOKEN=REDACTED%2Fssh&GUAC_WIDTH=1007&GUAC_HEIGHT=767&GUAC_DPI=96' failed:
connect @ bundle_vendors.1be3c985d1be32bb5667.js:2
I have attempted to turn Brave Shields off for the website, but it does not appear to help/work.
How can this issue be reproduced?
Have a LightSail instance, click connect using SSH
Opens a new tab/pop up window, attempts to connect
Sits and spins forever
Expected result: The window that opens should provide a console window that works to be able to administrate the instance
Brave Version( check About Brave):V1.37.116
Additional Information: Works in other browsers, but not Brave.
@dagohbah,
May be worth disabling some of the extensions you have enabled (if any) and then testing to see if one of them are perhaps causing the issue.
@Mattches: sadly, that did not work. I disabled extensions one at a time and tested after each disable with a hard refresh on AWS, and no go. I did the same test with ALL extensions disabled at once, no change.
While I don’t mind using Incognito windows, it would be a ton easier to just perform the work I need to do in a normal browser window.
A couple things — you might try clearing out the cache for AWS (lock icon in address bar, site settings --> clear data) and see if that helps. If not, can you share a screenshot of any output/errors in the dev tools console window when you try to login?
Try different settings for WebRTC IP handling policy in brave://settings/privacy especially the two first settings. Click on ‘learn more’ to see ip privacy concerns.
@fanboynz Testing in Chrome works fine. Chrome still throws the first 404 error, but it works regardless. The error that’s causing all the issues is the connection failed WSS one.
@CerealLover I tried the default public and private drop down choice and it started working! What should this typically be set to, if not on default? Having said all that…I swapped it back to default instead of the other, hard refreshed the AWS page, tried to connect again, and it worked.
I guess I’m lost now as to if that actually fixed anything or not…