xpra icon
Bug tracker and wiki

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

Opened 3 years ago

Closed 3 years ago

Last modified 16 months ago

#2346 closed enhancement (fixed)

client to retry to connect until it succeeds

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 3.0
Component: client Version: 2.5.x
Keywords: Cc:


When we know where we want to connect, we may want to retry a number of times until we succeed.
This would allow the server and client to be started in parallel.
ie: https://github.com/mviereck/x11docker/issues/167#issuecomment-506864026

There should probable a configurable limit of retries.

Change History (3)

comment:1 Changed 3 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

We now retry up to XPRA_CONNECT_TIMEOUT (defaults to 20 seconds):

  • r23059 for unix domain sockets: retrying every 100ms
  • r23060 for INET sockets: retrying every second

Not doing VSOCK or named-pipes.

comment:2 Changed 3 years ago by Antoine Martin


  • r23078 better socket lookup
  • r23077 also wait for servers if the socket does not exist at all

comment:3 Changed 16 months ago by migration script

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

Note: See TracTickets for help on using tickets.