Hi,
We have both a web based and a .Net based client using Lightstreamer. Our web based client works perfectly when running locally and accessed remotely. Our .Net based client, however, functions correctly while connecting to a Lightstreamer server running on the localhost, but only receivers session data when running on a remote machine.
Both use the same or similar adapters with the same data.
Lightstreamer log:
04-Feb-10 11:25:18,218 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 7 |Serving request: /lightstreamer/create_session.txt?LS_content_length=50000000&LS_report_info=true&LS_adapter=AdminUIAdapterSet from 192.168.1.42:1113
04-Feb-10 11:25:18,219 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 7 |Starting new session: Saa342fcb258afe7aT2518219 from 192.168.1.42:1113
04-Feb-10 11:26:59,419 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 3 |Serving request: /lightstreamer/create_session.txt?LS_content_length=50000000&LS_report_info=true&LS_adapter=AdminUIAdapterSet from 192.168.1.42:1114
04-Feb-10 11:26:59,420 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 3 |Starting new session: S1f8a9b878b9f53bfT2659420 from 192.168.1.42:1114
04-Feb-10 11:26:59,619 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 2 |Serving request: /lightstreamer/create_session.txt?LS_content_length=50000000&LS_report_info=true&LS_adapter=AdminUIAdapterSet from 192.168.1.42:1115
04-Feb-10 11:26:59,620 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 2 |Starting new session: Sab45030d655a7ee9T2659620 from 192.168.1.42:1115
04-Feb-10 11:30:49,864 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 8 |Serving request: /lightstreamer/create_session.txt?LS_content_length=50000000&LS_report_info=true&LS_adapter=AdminUIAdapterSet from 192.168.1.42:1117
04-Feb-10 11:30:49,865 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 8 |Starting new session: Sb1d7cdb15c46f0b3T3049865 from 192.168.1.42:1117
04-Feb-10 11:30:50,065 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 10 |Serving request: /lightstreamer/create_session.txt?LS_content_length=50000000&LS_report_info=true&LS_adapter=AdminUIAdapterSet from 192.168.1.42:1118
04-Feb-10 11:30:50,066 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 10 |Starting new session: Sd689c5278b407032T3050065 from 192.168.1.42:1118
04-Feb-10 11:32:31,378 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 7 |Serving request: /lightstreamer/create_session.txt?LS_content_length=50000000&LS_report_info=true&LS_adapter=AdminUIAdapterSet from 192.168.1.42:1119
04-Feb-10 11:32:31,379 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 7 |Starting new session: S19b518a3f4b225e7T3231379 from 192.168.1.42:1119
04-Feb-10 11:36:21,639 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 3 |Serving request: /lightstreamer/create_session.txt?LS_content_length=50000000&LS_report_info=true&LS_adapter=AdminUIAdapterSet from 192.168.1.42:1120
04-Feb-10 11:36:21,640 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 3 |Starting new session: S9cacf5d99f63d0feT3621639 from 192.168.1.42:1120
04-Feb-10 11:36:21,838 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 2 |Serving request: /lightstreamer/create_session.txt?LS_content_length=50000000&LS_report_info=true&LS_adapter=AdminUIAdapterSet from 192.168.1.42:1121
04-Feb-10 11:36:21,839 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 2 |Starting new session: Scf5fb8a6b3855e5aT3621839 from 192.168.1.42:1121
04-Feb-10 11:36:22,038 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 8 |Serving request: /lightstreamer/create_session.txt?LS_content_length=50000000&LS_report_info=true&LS_adapter=AdminUIAdapterSet from 192.168.1.42:1122
04-Feb-10 11:36:22,038 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 8 |Starting new session: Sc494861aac01f818T3622038 from 192.168.1.42:1122
04-Feb-10 11:36:22,238 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 10 |Serving request: /lightstreamer/create_session.txt?LS_content_length=50000000&LS_report_info=true&LS_adapter=AdminUIAdapterSet from 192.168.1.42:1123
04-Feb-10 11:36:22,239 |INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 10 |Starting new session: Scf7ab63759b8b5a4T3622238 from 192.168.1.42:1123
Log from our .Net based application:
2010-02-04 11:48:31,118 ERROR [8] SubscriberConnection - Unable to connect.
Lightstreamer.DotNet.Client.PushConnException: The operation has timed out ---> System.Net.WebException: The operation has timed out
at Lightstreamer.DotNet.Client.PushServerTranslator.CallSession()
at Lightstreamer.DotNet.Client.PushServerProxy.ConnectForSession()
--- End of inner exception stack trace ---
at Lightstreamer.DotNet.Client.PushServerProxy.ConnectForSession()
at Lightstreamer.DotNet.Client.ServerManager..ctor(ConnectionInfo info, IConnectionListener listener, IServerListener asyncListener)
at Lightstreamer.DotNet.Client.LSClient.OpenConnection(ConnectionInfo info, IConnectionListener listener)
(All firewalls etc disabled)
Any help with this would be much appreciated,
Steve