Synergy server and client wont connect

Synergy is a software that shares a mouse and a keyboard between many computers. Setting this up requires the computer that shares the mouse and keyboard configured as server and the rest of the computers that are being controlled will be the clients. The ussual challenge in setting this up is making the server and client(s) get connected. One feature of Synergy is the option to use SSL encryption connection. And the common mistake is that the server configured to use SSL encryption connection and the client(s) is(are) not and the following are the logs that will show on server:

  
[2019-04-07T14:02:36] INFO: OpenSSL 1.0.2 22 Jan 2015
[2019-04-07T14:02:51] ERROR: ssl error occurred (system call failure)
[2019-04-07T14:02:51] ERROR: eof violates ssl protocol
[2019-04-07T14:02:51] ERROR: failed to accept secure socket
[2019-04-07T14:02:51] INFO: client connection may not be secure
  

... and the following are the logs that will show on client(s):

  
[2019-04-07T14:01:45] NOTE: started client
[2019-04-07T14:01:45] NOTE: connecting to 'webfoobar-NB': 192.168.1.8:24800
[2019-04-07T14:01:45] INFO: watchdog status: ok
[2019-04-07T14:02:00] WARNING: failed to connect to server: Timed out
[2019-04-07T14:02:01] NOTE: connecting to 'webfoobar-NB': 192.168.1.8:24800
[2019-04-07T14:02:16] WARNING: failed to connect to server: Timed out
[2019-04-07T14:02:17] NOTE: connecting to 'webfoobar-NB': 192.168.1.8:24800
  

Or the client(s) are configured to use SSL encryption connection and the server is not and the following are the logs that will show on server:

  
[2019-04-07T14:04:41] NOTE: accepted client connection
[2019-04-07T14:04:57] NOTE: new client is unresponsive
  

... and the following are the logs that will show on client(s):

  
[2019-04-07T14:04:20] NOTE: started client
[2019-04-07T14:04:20] NOTE: connecting to 'webfoobar-NB': 192.168.1.8:24800
[2019-04-07T14:04:20] INFO: OpenSSL 1.0.2 22 Jan 2015
[2019-04-07T14:04:21] INFO: watchdog status: ok
[2019-04-07T14:04:24] ERROR: ssl error occurred (generic failure)
[2019-04-07T14:04:24] ERROR: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
[2019-04-07T14:04:24] ERROR: failed to connect secure socket
[2019-04-07T14:04:37] WARNING: failed to connect to server: Timed out
[2019-04-07T14:04:38] NOTE: connecting to 'webfoobar-NB': 192.168.1.8:24800
[2019-04-07T14:04:38] INFO: OpenSSL 1.0.2 22 Jan 2015
  

To solve this issue, go to "Edit" > "Settings" of server and client(s) and make sure that all of their "Use SSL encryption" are enabled:

Synergy Pro Settings

The logs of server when the connection is successful:

  
[2019-04-07T14:11:20] INFO: starting new process
[2019-04-07T14:11:20] INFO: activeDesktop:Default
[2019-04-07T14:11:20] INFO: starting new process
[2019-04-07T14:11:20] INFO: drag and drop enabled
[2019-04-07T14:11:20] NOTE: started server, waiting for clients
[2019-04-07T14:11:20] INFO: watchdog status: ok
[2019-04-07T14:11:21] INFO: OpenSSL 1.0.2 22 Jan 2015
[2019-04-07T14:11:21] INFO: accepted secure socket
[2019-04-07T14:11:21] INFO: AES256-GCM-SHA384       TLSv1.2 Kx=RSA      Au=RSA  Enc=AESGCM(256) Mac=AEAD
[2019-04-07T14:11:21] NOTE: accepted client connection
[2019-04-07T14:11:21] NOTE: client "webfoobar-PC" has connected
  

The logs of client(s) when the connection is successful:

  
[2019-04-07T14:11:08] NOTE: connecting to 'webfoobar-NB': 192.168.1.8:24800
[2019-04-07T14:11:08] INFO: OpenSSL 1.0.2 22 Jan 2015
[2019-04-07T14:11:18] NOTE: server fingerprint: 80:72:8B:BC:8C:54:FE:ED:2D:94:57:30:DE:2E:62:19:53:BE:55:3B
[2019-04-07T14:11:18] INFO: connected to secure socket
[2019-04-07T14:11:18] INFO: server ssl certificate info: /CN=Synergy
[2019-04-07T14:11:18] INFO: AES256-GCM-SHA384       TLSv1.2 Kx=RSA      Au=RSA  Enc=AESGCM(256) Mac=AEAD
[2019-04-07T14:11:18] NOTE: connected to server
[2019-04-07T14:12:21] INFO: entering screen
  

Comments

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.