axonops / axonops-workbench

AxonOps™ Workbench for Apache Cassandra® - Desktop application for Mac, Windows and Linux
https://axonops.com
Apache License 2.0
10 stars 0 forks source link

[bug]: SSH tunnel errors are misleading #390

Open digiserg opened 3 weeks ago

digiserg commented 3 weeks ago

Do I have the most recent version of AxonOps Workbench installed?

AxonOps Workbench Version

1.0.0-beta-20240909

Is there an existing issue for this?

Operating System

MacOS

Operating System Version

13.5.2

Apache Cassandra Version(s)

4.1.5

Bug Description

The error message reported by Workbench when using a tunnel is misleading.

My Cassandra cluster was down but the error seemed to imply a bastion problem and not a cassandra connectivity issue.

[10-09-2024 12:16:38 ERROR] Error in process SSH tunnel. Details: Error: (SSH) Channel open failure: Connection refused

I would like the error message to say something like

the tunnel connection was established but the Apache Cassandra cluster cannot be reached

Steps to Reproduce

Attempt to connect to non-existent of down Apache Cassandra cluster via a bastion

Expected Behavior

Clear error message

Actual Behavior

The error message indicates a SSH problem when it wasn't

Severity

Medium

Further Information

No response