Hello,
I'm using a LSProxy to receive various updates using the latest client (2.5.2 build 1110).
The LSProxy is initialized in a pretty straightforward way :
ProxyInfo proxyInfo = new ProxyInfo();
[B]proxyInfo.onFailedConnectionRetry = true;
proxyInfo.connectionRetryTimeoutMillis = 30000;[/B]
LSProxy lsProxy = new LSProxy(proxyInfo, this, this);
ConnectionInfo connectionInfo = new ConnectionInfo();
connectionInfo.pushServerUrl = "...";
connectionInfo.user = "...";
connectionInfo.password = "...";
lsProxy.startPushConnection(connectionInfo);
It works great most of time but sometimes I get this behaviour :
2015-02-25 01:24:38.691 INFO 4034 --- [Stream-sense queue] f.r.ig.common.AbstractStreamingClient : Stalled
2015-02-25 01:24:42.035 WARN 4034 --- [Stream-sense queue] com.lightstreamer.ls_proxy.connection : Streaming failure
2015-02-25 01:24:42.036 INFO 4034 --- [Stream-sense queue] f.r.ig.common.AbstractStreamingClient : Disconnected
2015-02-25 01:24:42.046 INFO 4034 --- [Stream-sense queue] com.lightstreamer.ls_proxy.connection : Retry on streaming failure
2015-02-25 01:24:42.061 ERROR 4034 --- [Stream-sense queue] f.r.ig.common.AbstractStreamingClient : Retrying connection
com.lightstreamer.ls_proxy.PushException: No data from server
at com.lightstreamer.ls_proxy.ConnectionHandler$ExtendedConnectionListener.onFailure(ConnectionHandler.java:245)
at com.lightstreamer.ls_client.ExtConnectionListener$10.run(ExtConnectionListener.java:195)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2015-02-25 01:24:42.068 INFO 4034 --- [Stream-sense queue] f.r.ig.common.AbstractStreamingClient : Connecting
2015-02-25 01:24:54.207 INFO 4034 --- [Thread-11] f.r.ig.common.AbstractStreamingClient : Disconnected
2015-02-25 01:24:54.208 WARN 4034 --- [Stream-sense queue] com.lightstreamer.ls_proxy.connection : Reconnection failure
2015-02-25 01:25:24.208 INFO 4034 --- [Stream-sense queue] com.lightstreamer.ls_proxy.connection : Retry after reconnection failure
2015-02-25 01:25:24.209 INFO 4034 --- [Stream-sense queue] f.r.ig.common.AbstractStreamingClient : Connecting
2015-02-25 01:25:24.339 INFO 4034 --- [Thread-14] f.r.ig.common.AbstractStreamingClient : Disconnected
2015-02-25 01:25:24.340 WARN 4034 --- [Stream-sense queue] com.lightstreamer.ls_proxy.connection : Reconnection attempt failure
2015-02-25 01:25:54.340 INFO 4034 --- [Stream-sense queue] com.lightstreamer.ls_proxy.connection : Retry after reconnection failure
2015-02-25 01:25:54.341 INFO 4034 --- [Stream-sense queue] f.r.ig.common.AbstractStreamingClient : Connecting
2015-02-25 01:26:24.342 INFO 4034 --- [Thread-16] f.r.ig.common.AbstractStreamingClient : Disconnected
2015-02-25 01:26:24.343 WARN 4034 --- [Stream-sense queue] com.lightstreamer.ls_proxy.connection : Reconnection attempt failure
2015-02-25 01:26:54.344 INFO 4034 --- [Stream-sense queue] com.lightstreamer.ls_proxy.connection : Retry after reconnection failure
The "Connecting, Disconnected, Reconnection attempt failure, Retry after reconnection failure" pattern keeps repeating itself, the connection is never recovered.
What could be the cause of such kind of problem ?
Thanks.