cloudbeaver icon indicating copy to clipboard operation
cloudbeaver copied to clipboard

Reconnection options for Trino connection closed due to manual cancels

Open metalshanked opened this issue 2 years ago • 1 comments

Thanks @kseniiaguzeeva - makes sense. Just that from a user viewpoint, they dont know what to do when this error is displayed i.e. "Connection is closed". because none of the options in the UI, like retry,close etc will work.
The only solution is to click "Disconnect" and reconnect which is unintuitive to the end user.

A message like "please try disconnecting and reconnecting" or even better the retry button automatically doing this would be great.

None of the below options help 2022-05-29_18-46-18

Current solution (disconnect and reconnect) 2022-05-29_17-52-19

Originally posted by @metalshanked in https://github.com/dbeaver/cloudbeaver/issues/782#issuecomment-1140566979

metalshanked avatar May 31 '22 22:05 metalshanked

Thank you for your idea. We are going to implement a tool for this case.

kseniiaguzeeva avatar Jun 08 '22 12:06 kseniiaguzeeva

@kseniiaguzeeva hi, is there any plans or ETA for this. This will be a huge boon for trino users. We get many queries from end users who are confused when this happens

metalshanked avatar Jan 25 '23 01:01 metalshanked

Hello @metalshanked , it is planned to be fixed in milestone 23.0.2.

MarinaVorobeva21 avatar Jan 26 '23 15:01 MarinaVorobeva21

Waiting for https://github.com/dbeaver/pro/issues/1534 An implementation is going to be at 23.0.4 release.

TatyanaSsau avatar Apr 11 '23 06:04 TatyanaSsau

@TatyanaSsau - Any update on this? Thanks!

metalshanked avatar Jun 05 '23 23:06 metalshanked

@metalshanked we have made improvements to Trino's functionality in 23.1.0 version. Resulting in more user-friendly error messages, especially when operations are interrupted.

We will be happy to hear any new cases or feedback from you!

TatyanaSsau avatar Jun 13 '23 09:06 TatyanaSsau

Thanks @TatyanaSsau. Upgraded to 23.1.0 and now see the below for manual cancels which allows retry as well. The queries are killed on the Trino side correctly too. Super useful. Will report if I encounter any issues.

Thanks again!!

image

metalshanked avatar Jun 13 '23 17:06 metalshanked

I believe everything is going smoothly. Please let us know if any issues arise

EvgeniaBzzz avatar Oct 18 '23 09:10 EvgeniaBzzz