SaravananB
Hi to all,
I am new to lightstreamer. I am creating ios based application using istreamlight google's API, but getting following error when i tried to hit the local server,
Server details:
Adapter Name = "WATCHLIST_ADAPTER";
Domain = "Local server IP";
Engine Name = "DemoCommonEngine";
Session Type = "SHARE_SESSION";
LS Host = “Local Server IP"
LS Port = 7070
2012-04-09 15:05:54.025 WIMobile[1879:6f03] Malformed update received: <html>
2012-04-09 15:05:54.026 WIMobile[1879:6f03] Malformed update received: <head>
2012-04-09 15:05:54.026 WIMobile[1879:6f03] Malformed update received: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
2012-04-09 15:05:54.027 WIMobile[1879:6f03] Malformed update received: <title>Lightstreamer Server</title>
2012-04-09 15:05:54.027 WIMobile[1879:6f03] Malformed update received: </head>
2012-04-09 15:05:54.028 WIMobile[1879:6f03] Malformed update received: <body link="#0066FF">
2012-04-09 15:05:54.039 WIMobile[1879:6f03] Malformed update received: <p align="center"><a href="http://www.lightstreamer.com"><img border="0" src="/lightstreamer/logo.gif" width="300" height="104"></a></p>
2012-04-09 15:05:54.040 WIMobile[1879:6f03] Malformed update received: <p align="center"> </p>
2012-04-09 15:05:54.041 WIMobile[1879:6f03] Malformed update received: <table border="0" width="100%">
2012-04-09 15:05:54.042 WIMobile[1879:6f03] Malformed update received: <tr><td width="100%" style="border-style: solid; border-color: #FF9900; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 10px; padding-bottom: 10px; font-family: Courier New; font-size: 12">
2012-04-09 15:05:54.046 WIMobile[1879:6f03] Malformed update received: <p align="center">Invalid URI...</p>
2012-04-09 15:05:54.046 WIMobile[1879:6f03] Malformed update received: <p align="center">(Lightstreamer Server is up and running)</td></tr>
2012-04-09 15:05:54.047 WIMobile[1879:6f03] Malformed update received: </table>
2012-04-09 15:05:54.047 WIMobile[1879:6f03] Malformed update received: </body>
2012-04-09 15:05:54.050 WIMobile[1879:6f03] Stream closed
2012-04-09 15:05:54.051 WIMobile[1879:6f03] [ECA Alert] Lightstreamer session close
Please help me in solving this issue. I am blank on this issue.
Thanks in Advance. Thanks for Your time.
Dario Crivelli
If you are using the Moderato version, consider that in this case the Server only supports a private Htlm/JavaScript communication protocol, which is managed only by the Html Client Library.
On the other hand, iStreamLight (as well as the iOS SDK included in the Allegro-Presto-Vivace version of Lightstreamer package) only manages the public text-based protocol which is only available when the Server runs in Presto and Vivace edition.
You can try that by running the Allegro-Presto-Vivace version of the Server with an evaluation license.
By the way, your "Server details" refer to a web demo.
The concepts of "Domain" "Engine" and "SHARE_SESSION" are only related with the Html Client Library.
You will not need them to configure the iStreamLight client.
In any case, you cannot use iStreamLight to share a session currently running in a web client.