-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot open oracle connections via SSH tunnel #33849
Comments
It looks like during an upgrade, the "save credentials" box got checked. If I uncheck the box, the error goes away, which says to me the thing it's trying to run Even when "save credentials" is checked, I do get a "Password required" prompt for the SSH when opening the DB connection. I leave "save password" unchecked, and I get the |
Seems like unchecking "save credentials" was a one time fix (for each connection). The error re-appears intermittently with subsequent application sessions. |
Thank you for the bug report. Perhaps you have exact steps required to reproduce the issue? Are you using TNS/Custom connection type? |
Basic setupMy oracle connections are set up using ldap based DSN, e.g.
authentication is set to "Oracle Database Native", with the credentials (username and password) stored. On the SSH tab, the hostname is set to a server that has permission to access the tablespace. replicate the issue?I double click on the connection name, and am prompted with "Specify password for SSH tunnel". The username is pre-filled and I supply the password. I leave "Save password/passphrase" unchecked. I get prompted for 2fa (Duo), which I supply. and then, maybe I get connected, or maybe I get the error My initial investigation seemed to support that at some point the "save credentials" checkbox under the SSH tab in the connection details became checked, and I could fix it by unchecking it... but subsequent tries have been hit-and-miss. I seem to be able to get it working again (briefly) if I change the host that I'm tunneling through. |
Thank you. Unfortunately, I'm still unable to reproduce the issue. We'll find the potential problems and fix them blindly. |
Please try this version and let me know if it helps: https://dbeaver.io/files/ea/ |
@lhoekenga did you have a chance to test the new version? #33849 (comment) |
Not yet. I'll pull it down and try. |
It seems to be better. I was not able to replicate the issue. |
@lhoekenga Thank you for testing! |
Description
I use tunneled connections for Oracle, and I'm receiving `Cannot invoke "String.length()" because "input" is null
DBeaver Version
Community Edition 24.0.5.202405191503
Operating System
macOS Sonoma 14.5
Database and driver
DB: Oracle Exadata 19.c
Driver: oracle.jdbc.OracleDriver
Steps to reproduce
No response
Additional context
SSH tunneling using JSch.
dbeaver-debug.log
The text was updated successfully, but these errors were encountered: