Another problem : err=Duplicate;

32 views
Skip to first unread message

Ram

unread,
Feb 6, 2012, 10:28:50 PM2/6/12
to pagekite-discuss

When I connect to the server, often I see err=Duplicate which means
that some other connection with the same key/login is active. Is there
a way to tell pagekite to treat this new connection and dump any old
connections it has already made?

Thanks,
--Ram.

Bjarni Rúnar Einarsson

unread,
Feb 7, 2012, 7:25:47 AM2/7/12
to pagekite...@googlegroups.com
Hi Ram!

I am afraid PageKite does not currently have a way to override and
disconnect another back-end which is competing for the same name, and
it probably never will.

This is non-trivial, because not only do we have to disconnect the
other client, we would have to tell it to "give up" and stop retrying
- which isn't always possible because an external process (or confused
user) might restart it. This would lead to all sorts of cascading
failures, ping-pong effects and other very hard to debug problems. In
short, an even worse mess than you are dealing with right now. :-) If
you can provide compelling arguments to convince me otherwise, I will
of course reconsider, but this is my current opinion based on over a
decade of systems administration.

In my opinion, the only stable solution is to clean up your
environment so your back-ends aren't competing for the same names.

--
Bjarni R. Einarsson
Founder, lead developer of PageKite.

Make localhost servers visible to the world: https://pagekite.net/

Reply all
Reply to author
Forward
0 new messages