Bug #105959 Error on connecting to server over SSH
Submitted: 22 Dec 2021 8:08 Modified: 12 Jan 13:39
Reporter: Goran Drmencic Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:8.0.27 OS:Windows (Microsoft Windows 10 Enterprise)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[22 Dec 2021 8:08] Goran Drmencic
Description:
09:05:03 [INF][      SSHCommon]: libssh: ssh_init_rekey_state ssh_init_rekey_state: Set rekey after 4294967296 blocks
09:05:03 [INF][      SSHCommon]: libssh: ssh_init_rekey_state ssh_init_rekey_state: Set rekey after 4294967296 blocks
09:05:03 [INF][      SSHCommon]: libssh: ssh_packet_client_curve25519_reply ssh_packet_client_curve25519_reply: SSH_MSG_NEWKEYS sent
09:05:03 [INF][      SSHCommon]: libssh: ssh_packet_newkeys ssh_packet_newkeys: Received SSH_MSG_NEWKEYS
09:05:03 [INF][      SSHCommon]: libssh: ssh_packet_newkeys ssh_packet_newkeys: Signature verified and valid
09:05:03 [ERR][      Workbench]: External component has thrown an exception.
Exception = System.Runtime.InteropServices.SEHException
Message = External component has thrown an exception.
FullText = System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
   at MySQL.Forms.ViewEventTarget.HandleMouseClick(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
Standard TCP/IP over SSH connection
[12 Jan 13:39] MySQL Verification Team
Hello Goran Drmencic,

Thank you for the bug report.
I tried to reproduce your issue on windows 10 with MySQL workbench 8.0.27 but I am not seeing any issues at my end.

Regards,
Ashwini Patil
[31 Aug 5:12] Hiroki Kamekawa
I am a Japanese user, and have suffered from the exact same problem many times in Windows 10/11, but I just realized that this is a problem that occurs when the folder name in the user profile contains 2-byte characters.

* NG case
C:\Users\テストユーザ\AppData\Roaming\MySQL...

* OK case
C:\Users\testuser\AppData\Roaming\MySQL...

This is not caused with ver6.3 but happened with ver8.