Fix Cloudbeaver Trino authentication failed error
If you prefer guides as a video with verbal instructions, please scroll to the bottom of the page.
Go to the Jupyterhub URL you have been given and log in.
When you are logged in to Jupyterhub and your user area has been created, you should see a Launcher like the one below.
Click on the “Cloudbeaver” icon and wait for it to open in a new tab.
When it opens, double click on the connection name on the left hand side. It doesn’t matter if it’s the one under the “Private” heading or the “Shared” heading, they’re the same one. This will open a pop-up for you to enter your username and password. At this point it doesn’t matter if you select the “Don’t ask again during session” box or not. Click “Login”.
Cloudbeaver should load and look like the image below. You’ll see headings like “Tables”, “Views”, and “Indexes” on the left hand side of the screen. This means we’ve hit a bug in Cloudbeaver and we’ll get authentication errors if we try and do anything else.
To fix this, right-click on the connection name on the left hand side (the same one you double-clicked to start with) and select “Edit Connection” from the menu that opens.
In the pop-over that opens, enter your username and password in the boxes in the “Authentication” section, outlined in red in the screenshot. Tick the “Save credentials for the current user” box.
Click on the “Test” button in the top right, and you should hopefully see a box with a green tick saying “Connection is established”.
Click the “Save” button in the top right. The pop-over will go away and it will tell you the connection has been updated and ask you if you want to reconnect. Click the “reconnect” button.
The Trino connections on the left hand side should now update to show catalog names instead of “Table”, “Views”, etc. If you click one of the catalogs (e.g. iceberg) you should see a list of schemas in there. If you click a schema, you should see all tables in that schema. Double-clicking on a table will load it into the Cloudbeaver UI for you.
Video guide