xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Changes between Initial Version and Version 2 of Ticket #1767

02/14/18 04:11:02 (3 years ago)
Antoine Martin

(moving information where it can be found)

Your server log is full of stacktraces pointing straight to the issue:

Exception in thread new-tcp-connection:
Traceback (most recent call last):
  File "C:/msys64/mingw64/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  File "C:/msys64/mingw64/lib/python2.7/threading.py", line 754, in run
  File "./xpra/server/server_core.py", line 847, in handle_new_connection
  File "./xpra/server/server_core.py", line 948, in may_wrap_socket
NameError: global name 'endpoint' is not defined

This error was fixed in the 2.2 branch in r18018 and this fix was included in the 2.2.4 release.

So my guess is that you're not running the server version you think you are. Maybe you started the shadow server when an older version was installed?


  • Ticket #1767

    • Property Owner changed from Antoine Martin to Luis Mendes
    • Property Component changed from android to server
    • Property Milestone changed from to 2.3
  • Ticket #1767 – Description

    initial v2  
    1 Please see attached file:
     1The problem, described below is that I cannot connect using SSL.
     2With TCP it works fine.
     3One thing I remember is that VoidLinux seems to be using LibreSSL,
     4not OpenSSL.  [https://www.voidlinux.eu/]
     7* 1.a. operating system on client
     9$ uname -a
     10Linux leao 4.9.80_1 #1 SMP PREEMPT Thu Feb 8 18:53:51 UTC 2018 x86_64 GNU/Linux
     12I've tried with kernel 4.14.xx and
     14* 1.b. operating system on server
     16Windows 10 Pro version 1709 (OS Build 16299.192)
     18Pristine and legit installation, no other software installed by me.
     20* 2. xpra showconfig (see attachment)
     21I haven't done changes, but the distribution packager might have.
     23* 3. desktop environment {{{xfce4-4.12.0}}}
     25* 4. unusual setup
     26client desktop is running in 4K
     28* 5. network setup
     29Windows server is running in a KVM virtual machine in the same computer.
     30Tried  with NAT only, now also with bridge only setup.  Same behaviour.
     32* 6. full command lines used both on the server and client
     33The windows server is running the xpra shadow service.  No modifications.
     34The client works with TCP only:
     36XPRA_ALLOW_UNENCRYPTED_PASSWORDS=1 xpra attach --bind-tcp=  tcp://luispedro@
     39The problem is that it doesn't work with SSL:
     41xpra attach --ssl-server-verify=none ssl://luispedro@
     422018-02-13 16:56:50,436 Xpra gtk2 client version 2.2.4-r18312 64-bit
     432018-02-13 16:56:50,436  running on Linux VoidLinux rolling void
     442018-02-13 16:56:50,436 Warning: failed to import opencv:
     452018-02-13 16:56:50,437  No module named cv2
     462018-02-13 16:56:50,437  webcam forwarding is disabled
     472018-02-13 16:56:50,593 GStreamer version 1.12.4 for Python 2.7.14 64-bit
     482018-02-13 16:56:50,660 Warning: cannot import gtk OpenGL module
     492018-02-13 16:56:50,660  cannot import name gtkgl
     502018-02-13 16:56:50,661 Warning: cannot import native OpenGL module
     512018-02-13 16:56:50,661  No module named OpenGL
     522018-02-13 16:56:50,661 Warning: no OpenGL backends found
     53SSL handshake failed: [Errno 104] Connection reset by peer
     56with the '-d all'  debug option (last lines) - see attachment
     58* 8. the environment
     59In the client (Linux):
     61$ echo $PATH
     63$ echo $LD_LIBRARY_PATH
     67In the server {{{echo %PATH%}}}:
     72* 9. xpra info
     74$ xpra info
     75xpra initialization error:
     76 cannot find any live servers to connect to
     79* 10. xpra installation
     80In the client, from Void linux packaging system
     83$ xpra --version
     84xpra v2.2.4-r18312
     87In the server, from the xpra download page:
     89Xpra 2.2.4 64 bit
     90revision 18312
     93* 11. It's a new problem
     94First time trying xpra for work.
     96* 12. other similar bugs
     97Not that I know of.
     99* 13. other unusual issues
     100VoidLinux uses LibreSSL.
     101No other that I know of.
     103* 14. reproducible reliably
     104Everytime I try to connect with the above mentioned xpra line with SSL