zurien

Synergy 1.10.3 TLS error

12 posts in this topic

Broke TLS encryption(windows host/linux(fedora30) client), can only connect without it - going to try downgrading.

Share this post


Link to post
Share on other sites

It doesn't work. I want to roll back. Where is the previous version?

 

1 hour ago, hiphopbros said:

It doesn't work. I want to roll back. Where is the previous version?

OMG Where is the previous version?

 

It doesn't work with Ubuntu. Other OS works fine, but whenever I install synergy in Ubuntu the whole synergy network is not working. If I remove the synergy in Ubuntu, then the whole synergy system network works fine. How do you fix it?

 

9 minutes ago, hiphopbros said:

It doesn't work with Ubuntu. Other OS works fine, but whenever I install synergy in Ubuntu the whole synergy network is not working. If I remove the synergy in Ubuntu, then the whole synergy system network works fine. How do you fix it?

Hey I remember you gave us a special link for installing synergy. Do you remember it? Is it something to do with it this time as well?

Share this post


Link to post
Share on other sites

Fedora 30 (synergy client)
dnf list openssl*
Last metadata expiration check: 0:00:37 ago on Thu 05 Sep 2019 08:46:19 AM GMT.
Installed Packages
openssl.x86_64              1:1.1.1c-2.fc30                            @updates
openssl-libs.i686           1:1.1.1c-2.fc30                            @updates
openssl-libs.x86_64         1:1.1.1c-2.fc30                            @updates
openssl-pkcs11.i686         0.4.10-1.fc30                              @fedora 
openssl-pkcs11.x86_64       0.4.10-1.fc30                              @fedora 


Log:
[2019-09-05T09:34:58] NOTE: started client
[2019-09-05T09:34:58] NOTE: connecting to '130.208.xx.xx': 130.208.xx.xx:24800
[2019-09-05T09:34:58] ERROR: tls error occurred (generic failure)
[2019-09-05T09:34:58] ERROR: openssl error: error:140C5042:SSL routines:ssl_undefined_function:called a function you should not call
[2019-09-05T09:34:58] ERROR: failed to connect secure socket

-----------------------------------------------------------------

Windows 10 (server) Version 1903

Log:
[2019-09-05T09:36:50] NOTE: started server, waiting for clients

[2019-09-05T09:36:50] INFO: service status: active
[
2019-09-05T09:37:09] ERROR: tls error occurred (system call failure)
[2019-09-05T09:37:09] ERROR: failed to accept secure socket
[2019-09-05T09:37:09] WARNING: client connection may not be secure


Manually cleaned and uninstalled before installing this version on both systems in case that was the issue.
Went over the firewall settings as shown abobve and added port 24800 like above - no success.
Reboots after each change on both system - just for good measure - still no success.
Works fine without TLS encryption.

Was working fine on previsous version with TLS encryption enabled.

Share this post


Link to post
Share on other sites
45 minutes ago, zurien said:

[2019-09-05T09:34:58] ERROR: openssl error: error:140C5042:SSL routines:ssl_undefined_function:called a function you should not call

It seems there is an OpenSSL version mismatch going on. You may need to update the OpenSSL package to >=1.1.0 or contact support to get access to the previous version of synergy till a solution is released.

Disabling TLS will also work until an update is pushed.

  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, hiphopbros said:

It doesn't work with Ubuntu. Other OS works fine, but whenever I install synergy in Ubuntu the whole synergy network is not working. If I remove the synergy in Ubuntu, then the whole synergy system network works fine. How do you fix it?

 

Could you contact support to troubleshoot your problem?

Share this post


Link to post
Share on other sites

I unchecked "Enable TLS Encryption", then all works beautifully. However I paid the extra fee for the Encryption. I want it to be more secure. How do you make the TLS encrytion work between Ubuntu and Windows?

Edited by hiphopbros

Share this post


Link to post
Share on other sites

Release 1.10.3 is broken with TLS for me as well.  Server is OS X 10.14.6, client is Ubuntu 16.04.6 LTS (x86_64).  Error is coming from the client side:

```
[2019-09-05T08:40:32] ERROR: tls error occurred (generic failure)
2019-09-05T08:40:32] ERROR: openssl error: error:140C5042:SSL routines:ssl_undefined_function:called a function you should not call
[2019-09-05T08:40:32] ERROR: failed to connect secure socket
```

There is no error shown on the server side.

I've worked around it right now by disabling TLS encryption on both sides, which is obviously not ideal.  Thanks!

Share this post


Link to post
Share on other sites

Jamie, thanks for the info.  However, not all distros will have a readily built package for OpenSSL >= 1.1.0.  For example, my machine is running Ubuntu 16.04.6 and the latest version Ubuntu publishes is 1.0.2g-1ubuntu4.15.  Is there a specific feature Synergy is now using which requires OpenSSL > 1.1.0?

Share this post


Link to post
Share on other sites

I suffered from the OpenSSL mismatch.

Share this post


Link to post
Share on other sites

Problem: Clients cannot connect after upgrading from v1.10.1 to v1.10.3.

Server: Debian 10 "Buster", stable
Due to recent changes to Gnome that accompanied Debian v10, I cannot see Synergy after starting because it's coded as a "system tray" application.
This makes debugging very difficult and time-consuming. For example, changing the config file requires a full Gnome session logoff; I can't just restart synergy through a terminal.
I am also using X instead of Wayland (the new Debian v10 default).

Clients:

  • Mac OS X 10.4.6 "Mojave"
  • Windows 10, v1903

Client log messages after upgrading both client and server to synergy v1.10.3:

[2019-09-08T14:04:49] INFO: starting client
[2019-09-08T14:04:49] INFO: config file: /var/folders/6x/2ljmqb654kd_yzcjvvj_qm3w0000gn/T/Synergy.xJL881
[2019-09-08T14:04:49] INFO: log level: INFO
[2019-09-08T14:04:49] INFO: drag and drop enabled
[2019-09-08T14:04:49] NOTE: started client
[2019-09-08T14:04:49] NOTE: connecting to 'nix': 192.168.1.10:24800
[2019-09-08T14:04:49] ERROR: tls error occurred (system call failure)
[2019-09-08T14:04:49] ERROR: eof violates tls protocol
[2019-09-08T14:04:49] ERROR: failed to connect secure socket
2019-09-08 14:04:49.773 synergyc[883:59070] starting cocoa loop
[2019-09-08T14:05:05] WARNING: failed to connect to server: Timed out
[2019-09-08T14:05:06] NOTE: connecting to 'nix': 192.168.1.10:24800
[2019-09-08T14:05:06] ERROR: tls error occurred (system call failure)
[2019-09-08T14:05:06] ERROR: failed to connect secure socket
[2019-09-08T14:05:07] INFO: stopping synergy desktop process
[2019-09-08T14:05:07] ERROR: process exited with error code: 9

Downgraded both client and server to Synergy 1.10.1 and everything works again.

Share this post


Link to post
Share on other sites

Hi there, there is an issue on some Linux distros where Synergy uses an incorrect version of OpenSSL. We will be working on fixing this issue in a future version. For now, please use version 1.10.2 if you're experiencing this issue.

Share this post


Link to post
Share on other sites

Please continue this discussion in this thread:

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.