Xpra: Ticket #2589: Socket exception: An existing connection was forcibly closed by the remote host (10054)

I know it's an old r24762 version, but maybe it is interesting.

Out of the blue, my shadow-session disconnected:

"Xpra-Python3-x86_64_4.0-r24762\xpra_cmd" shadow ssh://user@ip/0 --opengl=no --desktop-scaling=0.75 --min-speed=70 --webcam=no --speaker=off --microphone=off --pulseaudio=no
2020-02-11 21:56:05,024 Xpra GTK3 client version 4.0-r24762 64-bit
2020-02-11 21:56:05,028  running on Microsoft Windows 10
2020-02-11 21:56:05,088 Warning: failed to import opencv:
2020-02-11 21:56:05,088  No module named 'cv2'
2020-02-11 21:56:05,088  webcam forwarding is disabled
2020-02-11 21:56:05,877 GStreamer version 1.16.2 for Python 3.8.0 64-bit
2020-02-11 21:56:06,425 OpenGL_accelerate module loaded
2020-02-11 21:56:06,509 Using accelerated ArrayDatatype
2020-02-11 21:56:07,197 Warning: vendor 'Intel' is greylisted,
2020-02-11 21:56:07,197  you may want to turn off OpenGL if you encounter bugs
2020-02-11 21:56:07,533 OpenGL enabled with Intel(R) HD Graphics 4000
2020-02-11 21:56:07,777  keyboard settings: layout=us
2020-02-11 21:56:07,781  desktop size is 1600x900 with 1 screen:
2020-02-11 21:56:07,781   Default (423x238 mm - DPI: 96x96) workarea: 1600x860
2020-02-11 21:56:07,781     (Standard monitor types) Generic PnP Monitor (309x174 mm - DPI: 131x131)
2020-02-11 21:56:11,342 enabled remote logging
2020-02-11 21:56:11,350 Xpra GTK3 X11 server version 3.0.6-r25174 64-bit
2020-02-11 21:56:11,354  running on Linux Ubuntu 16.04 xenial
2020-02-11 21:56:11,374 Attached to 172.16.57.121:22
2020-02-11 21:56:11,378  (press Control-C to detach)
[....]
2020-02-11 21:25:54,551 server is not responding, drawing spinners over the windows
2020-02-11 21:25:55,762 Socket exception: An existing connection was forcibly closed by the remote host (10054)
2020-02-11 21:25:56,173 Warning: failed to query SO_DONTROUTE, SO_ERROR, SO_EXCLUSIVEADDRUSE, SO_KEEPALIVE, SO_LINGER, SO_OOBINLINE, SO_RCVBUF, SO_RCVTIMEO, SO_REUSEADDR, SO_SNDBUF, SO_SNDTIMEO, SO_TYPE
2020-02-11 21:25:56,215 Connection lost

And server has nothing to say for it:

  65   │ 2020-02-11 21:26:54,854 Warning: remote clipboard request timed out
  66   │ 2020-02-11 21:26:54,854  request id 2, selection=CLIPBOARD, target=TARGETS
  67   │ 2020-02-11 21:26:58,114 client   1 @44.787 window-close event on desktop or shadow window, disconnecting
  68   │ 2020-02-11 21:27:00,836 xpra client 1 disconnected.

but I didn't close the window



Tue, 11 Feb 2020 20:14:20 GMT - stdedos: attachment set


Tue, 11 Feb 2020 20:14:30 GMT - stdedos: attachment set


Tue, 11 Feb 2020 20:15:00 GMT - stdedos:

Related failure with different error message (and with plink)


Wed, 12 Feb 2020 04:48:15 GMT - Antoine Martin: status changed; resolution set

Socket exception: An existing connection was forcibly closed by the remote host (10054)

There's nothing we can do about this, that's either from the OS, network or from plink.


Sat, 23 Jan 2021 05:55:24 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2589