![]() ![]() Java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost. 14:58:16,016 WARN - #c.i.d.d.BaseDatabaseErrorHandler$IOErrorInfo - Can not read response from server. 14:58:15,989 INFO - #c.i.s.i.s.sshj - Error in `SSHJ local tunnel for Local client /127.0.0.1:63774 => Local server localhost:63768 => Remote server remoteHost:3306`: .channel.OpenFailException: open failed 14:58:15,987 WARN - #c.i.s.i.s.sshj - > woke to: Opening `direct-tcpip` channel failed: open failed 14:58:15,778 INFO - #c.i.d.d.DatabaseConnectionEstablisher - Connecting to (rewritten): jdbc:mysql://localhost:63768/dbName 14:58:15,776 INFO - #c.i.d.d.DatabaseCredentialsAuthProvider - Connecting as: username 14:58:15,774 INFO - #c.i.d.d.DatabaseConnectionEstablisher - Auth provider: user-pass 14:58:15,772 INFO - #c.i.d.d.DatabaseConnectionEstablisher - Connecting to: jdbc:mysql://remoteHost:3306/dbName 14:58:15,317 INFO - #c.i.e.r.RemoteProcessSupport - "C:\Program Files\JetBrains\DataGrip 2022.1.1\jbr\bin\java" =127.0.0.1 -Duser.timezone=UTC -Xmx750m -Xms128m -Dfile.encoding=UTF-8 -classpath "C:\Program Files\JetBrains\DataGrip 2022.1.1\lib\util_rt.jar C:\Program Files\JetBrains\DataGrip 2022.1.1\lib\util.jar C:\Program Files\JetBrains\DataGrip 2022.1.1\lib\groovy.jar C:\Program Files\JetBrains\DataGrip 2022.1.1\plugins\DatabaseTools\lib\jdbc-console.jar C:\Users\spenc\AppData\Roaming\JetBrains\DataGrip2022.1\jdbc-drivers\MySQL ConnectorJ\8.0.25\mysql-connector-java-8.0.25.jar" .RemoteJdbcServer .jdbc.Driver 14:58:15,270 INFO - #c.i.d.d.DatabaseSshTunnelEstablisher - SSH tunnel created: 63768:remoteHost:3306 => publickey C:\Users\spenc\.ssh\id_rsa (success) => none (failure, new auth methods allowed by the server: publickey) authMethods: PublicKey(privateKeys=, agent=NO), Password, KeyboardInteractive ![]() 14:58:15,258 INFO - #c.i.s.i.s.sshj - Authentication log: SSH connection to With altered connection settings: Logs from datagrip: 14:58:14,313 INFO - n.s.s.t.r.JCERandom - Creating new SecureRandom. Other users in my organization are able to connect to the remote mysql server just fine on macos machines. I am using datagrip as the main demonstration of the problem, because it provides some debug information when testing the connection, but I have tried on dbeaver and tableplus, both failed to connect. I am able to establish and connect to the tunnel successfully with: ssh -L 22:remoteHost:3306. When attempting to connect to a remote mysql server through an ssh tunnel using datagrip on windows 10 as the client, I receive "SSH Tunnel Creation failed: open failed". ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |