<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Server Disconnects Client on Timeout]]></title><description><![CDATA[<p dir="auto">Occasionally, the FOP2 server will disconnect the client. The server log shows:</p>
<p dir="auto">2016-07-27 11:50:25,989 INFO - Disconnecting Client 75.84.163.162:51527 on timeout<br />
2016-07-27 11:50:25,989 INFO -<br />
2016-07-27 11:50:25,989 INFO - Client Disconnection - remove client on error from socket AnyEvent::Handle=HASH(0xc504e00) (75.84.163.162:51527)<br />
2016-07-27 11:50:25,989 INFO -<br />
2016-07-27 11:50:25,989 INFO - Tengo 2 sesiones para el usuario 4159672901 por lo que no ejecuto callbacks de deslogueo<br />
and fop2.js gets the onclose handler for the websocket connection.</p>
<p dir="auto">I do not understand what the timeout is. The client is sending the ping and the server replies with a pong:</p>
<p dir="auto">2016-07-27 11:50:23,244 INFO - 67.180.156.186:64541 &lt;= &lt;msg data="1|ping<br />
" /&gt;<br />
2016-07-27 11:50:23,244 INFO -<br />
2016-07-27 11:50:23,244 INFO - -- PROCESS_FLASH_COMMAND origen 1 accion ping destino password<br />
2016-07-27 11:50:23,244 INFO -<br />
2016-07-27 11:50:25,988 INFO - 67.180.156.186:64541 =&gt; { "btn": "0", "cmd": "pong", "data": ...</p>
<p dir="auto">As you can see from this log excerpt the disconnect comes right after the server replies to the ping request.</p>
<p dir="auto">What can we do to prevent this timeout and allow the client to stay connected to the server?</p>
<p dir="auto">The server is version: 2.29.02</p>
]]></description><link>http://localhost:4567/topic/2320/server-disconnects-client-on-timeout</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 04:45:03 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/2320.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Aug 2016 12:35:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Server Disconnects Client on Timeout on Wed, 03 Aug 2016 19:29:21 GMT]]></title><description><![CDATA[<p dir="auto">I get this often too. The only thing I've found that helps is setting up a separate machine next to the user, like a spare laptop on their desk simply for FOP2. The disconnects stop happening when I do this. If they don't have a separate machine, the disconnects range from a few times a day to sometimes every 10 minutes. Try with a separate machine and see if your disconnects stop too.</p>
<p dir="auto">We use google chrome. I know it have a tab discarding feature, but I've disabled that and no improvement.</p>
<p dir="auto"><a href="http://forum.fop2.com/4236-lot-of-refresh-on-screen-fop/p1#p11939" rel="nofollow ugc">http://forum.fop2.com/4236-lot-of-refresh-on-screen-fop/p1#p11939</a><br />
<a href="http://forum.fop2.com/4192-queue-login-window-pops-up-every-so-often/p1#p11854" rel="nofollow ugc">http://forum.fop2.com/4192-queue-login-window-pops-up-every-so-often/p1#p11854</a></p>
]]></description><link>http://localhost:4567/post/10172</link><guid isPermaLink="true">http://localhost:4567/post/10172</guid><dc:creator><![CDATA[kelmore]]></dc:creator><pubDate>Wed, 03 Aug 2016 19:29:21 GMT</pubDate></item><item><title><![CDATA[Reply to Server Disconnects Client on Timeout on Mon, 01 Aug 2016 16:08:12 GMT]]></title><description><![CDATA[<p dir="auto">"remove client on error"</p>
<p dir="auto">That's an error condition from the socket itself, not from FOP2. I cannot say why you are getting those. In any case, try to stay current, upgrade FOP2 to the latest version if you can, be sure to use event filters also for the FOP2 manager user as described in the documentation.</p>
]]></description><link>http://localhost:4567/post/10171</link><guid isPermaLink="true">http://localhost:4567/post/10171</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 01 Aug 2016 16:08:12 GMT</pubDate></item></channel></rss>