Description:
New install of MySQL Workbench 8.0.40, new user session.
I am able to connect to my server with another account but i can not connect using my new account. On the same computer and same workbench install and same ssh keys.
Here an extract of the log file :
17:02:25 [INF][SSHTunnelManager]: Wakeup socket port created: 50185
17:02:25 [INF][ SSH tunnel]: Starting tunnel
17:02:25 [INF][ SSH tunnel]: Existing SSH tunnel not found, opening new one
17:02:25 [INF][ SSH tunnel]: Opening SSH tunnel to 185.252.158.124:22
17:02:25 [INF][ SSHCommon]: libssh: ssh_connect ssh_connect: libssh 0.10.6 (c) 2003-2023 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_stdthread
17:02:25 [INF][ SSHCommon]: libssh: ssh_socket_connect ssh_socket_connect: Nonblocking connection socket: 4420
17:02:25 [INF][ SSHCommon]: libssh: ssh_connect ssh_connect: Socket connecting, now waiting for the callbacks to work
17:02:25 [INF][ SSHCommon]: libssh: ssh_client_connection_callback ssh_client_connection_callback: SSH server banner: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u3
17:02:25 [INF][ SSHCommon]: libssh: ssh_analyze_banner ssh_analyze_banner: Analyzing banner: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u3
17:02:25 [INF][ SSHCommon]: libssh: ssh_analyze_banner ssh_analyze_banner: We are talking to an OpenSSH server version: 8.4 (80400)
17:02:25 [INF][ SSHCommon]: libssh: ssh_kex_select_methods ssh_kex_select_methods: Negotiated curve25519-sha256,ssh-ed25519,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,,
17:02:25 [INF][ SSHCommon]: libssh: ssh_init_rekey_state ssh_init_rekey_state: Set rekey after 134217728 blocks
17:02:25 [INF][ SSHCommon]: libssh: ssh_init_rekey_state ssh_init_rekey_state: Set rekey after 134217728 blocks
17:02:25 [INF][ SSHCommon]: libssh: ssh_packet_newkeys ssh_packet_newkeys: Received SSH_MSG_NEWKEYS
17:02:25 [INF][ SSHCommon]: libssh: ssh_packet_newkeys ssh_packet_newkeys: Signature verified and valid
17:02:27 [INF][ SSH tunnel]: Opening SSH tunnel to 185.252.158.124:22
17:02:27 [INF][ SSHCommon]: libssh: ssh_connect ssh_connect: libssh 0.10.6 (c) 2003-2023 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_stdthread
17:02:27 [INF][ SSHCommon]: libssh: ssh_socket_connect ssh_socket_connect: Nonblocking connection socket: 4420
17:02:27 [INF][ SSHCommon]: libssh: ssh_connect ssh_connect: Socket connecting, now waiting for the callbacks to work
17:02:27 [INF][ SSHCommon]: libssh: ssh_client_connection_callback ssh_client_connection_callback: SSH server banner: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u3
17:02:27 [INF][ SSHCommon]: libssh: ssh_analyze_banner ssh_analyze_banner: Analyzing banner: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u3
17:02:27 [INF][ SSHCommon]: libssh: ssh_analyze_banner ssh_analyze_banner: We are talking to an OpenSSH server version: 8.4 (80400)
17:02:27 [INF][ SSHCommon]: libssh: ssh_kex_select_methods ssh_kex_select_methods: Negotiated curve25519-sha256,ssh-ed25519,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,,
17:02:27 [INF][ SSHCommon]: libssh: ssh_init_rekey_state ssh_init_rekey_state: Set rekey after 134217728 blocks
17:02:27 [INF][ SSHCommon]: libssh: ssh_init_rekey_state ssh_init_rekey_state: Set rekey after 134217728 blocks
17:02:27 [INF][ SSHCommon]: libssh: ssh_packet_newkeys ssh_packet_newkeys: Received SSH_MSG_NEWKEYS
17:02:27 [INF][ SSHCommon]: libssh: ssh_packet_newkeys ssh_packet_newkeys: Signature verified and valid
17:02:27 [ERR][ Workbench]: Un composant externe a levé une exception.
Exception = System.Runtime.InteropServices.SEHException
Message = Un composant externe a levé une exception.
FullText = System.Runtime.InteropServices.SEHException (0x80004005): Un composant externe a levé une exception.
à MySQL.Forms.ViewEventTarget.HandleMouseClick(Object sender, MouseEventArgs e)
à System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
17:02:47 [INF][ SSH tunnel]: Existing SSH tunnel not found, opening new one
17:02:47 [INF][ SSH tunnel]: Opening SSH tunnel to 185.252.158.124:22
How to repeat:
Uninstall MySQL Workbench and all related files for all accounts on the computer.
Reinstall the App and same error appears. (System.Runtime.InteropServices.SEHException (0x80004005): Un composant externe a levé une exception.)
Suggested fix:
Launch workbench as administrator on the faulty account. I don't know why it is needed and it is not normal.