Hi Eslem,

Please note that the onServerError event handler is called only when the refusal error was sent directly by the Lightstreamer server.
In this case, no recovery attempts would be performed and the connection status would eventually switch to "DISCONNECTED".

But, in your case it seems that the Lightstreamer server is not even reached, and indeed the LightstreamerClient tries to re-connects.
Please could you check the server url that you specified in your client or consider any other impediment to the communication between client and server.

Regards,
Giuseppe