← Back to team overview

epoptes team mailing list archive

[Bug 1011482] Re: automatic reconnect of client if server went away

 

We want to solve this in a good way that's why we're postponing it until
the networking backend is redesigned.

In the meantime, you could try editing /usr/sbin/epoptes-client,
and replacing:
    exec socat openssl-connect:$SERVER:$PORT,$cert_param,interval=60,forever EXEC:"$cmdline"
with:
   while ! socat openssl-connect:$SERVER:$PORT,$cert_param,interval=60,forever EXEC:"$cmdline"; do sleep 1; done

and:
    exec socat tcp:$SERVER:$PORT,interval=60,forever EXEC:"$cmdline",nofork
with:
    while ! socat tcp:$SERVER:$PORT,interval=60,forever EXEC:"$cmdline",nofork; do sleep 1; done

That might work but I haven't tested it.

-- 
You received this bug notification because you are a member of Epoptes
Developers, which is subscribed to Epoptes.
https://bugs.launchpad.net/bugs/1011482

Title:
  automatic reconnect of client if server went away

Status in Epoptes:
  Confirmed

Bug description:
  Its nessary if the client cant connect to server / connect to server
  lost that the client does a polling every minute to establish the
  connection again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/epoptes/+bug/1011482/+subscriptions


References