Results 1 to 10 of 24

Hybrid View

  1. #1
    Member
    Join Date
    Jul 2010
    Location
    Trento
    Posts
    12
    krohnjw,
    to me, there might be two reasons:

    - the most obvious: connectivity issues (firewall with DROP policy, etc) that make the UI freeze (UI thread is the same of Excel RTD thread, at the moment)
    - more sneaky: an uncaught exception is generated at:
    Code:
    new ThreadStart(delegate() { lsClient.Start(pushServerUrl); }).Invoke();
    Try to replace it with something like:
    Code:
    new ThreadStart(delegate() { try { lsClient.Start(pushServerUrl); } catch (Exception e) { flowForm.AppendExcelLog(e.Message); }; }).Invoke();

  2. #2
    Member
    Join Date
    Jan 2011
    Location
    Plainfield
    Posts
    13
    Quote Originally Posted by lxnay
    - more sneaky: an uncaught exception is generated at:
    Code:
    new ThreadStart(delegate() { lsClient.Start(pushServerUrl); }).Invoke();

    Try to replace it with something like:
    Code:
    new ThreadStart(delegate() { try { lsClient.Start(pushServerUrl); } catch (Exception e) { flowForm.AppendExcelLog(e.Message); }; }).Invoke();
    No exception thrown - continues to hang and excel eventually thows an alert that it's waiting for an OLE operation to complete.


    Quote Originally Posted by lxnay
    - the most obvious: connectivity issues (firewall with DROP policy, etc) that make the UI freeze (UI thread is the same of Excel RTD thread, at the moment)
    Again, there is no firewall up and running. I can connect to both servers without a problem via the javascript library from this machine (Win 7 64 bit). If I run a ping or connect via HTTP I see the traffic fine in wireshark. However, with the RTD demo I continue to see not a single packet headed to the server.

    Is there a significant difference in how this connects from the javascript library that would allow it to work fine using HTTP/Javascript but the connect from the .NET environment would fail?

  3. #3
    Member
    Join Date
    Jul 2010
    Location
    Trento
    Posts
    12
    The Javascript library is different from the .NET library, but the way they use the network is the same.
    If, using wireshark, you don't see anything on the NIC while the RTD app loads and tries to connect, this, would make me think that there is some local application that is blocking the outgoing packets. Even if it wouldn't explain why everything works with push.lightstreamer.com.
    Could you double check that there is no local firewall even? (Windows Firewall? Try to turn it off just in case).
    At the same time, could you, through support@lightstreamer.com provide us some valid credentials that we can use to connect to your server through the RTD library, if possible?

    Regards.

  4. #4
    Member
    Join Date
    Jan 2011
    Location
    Plainfield
    Posts
    13
    Quote Originally Posted by lxnay
    The Javascript library is different from the .NET library, but the way they use the network is the same.
    If, using wireshark, you don't see anything on the NIC while the RTD app loads and tries to connect, this, would make me think that there is some local application that is blocking the outgoing packets. Even if it wouldn't explain why everything works with push.lightstreamer.com.
    Could you double check that there is no local firewall even? (Windows Firewall? Try to turn it off just in case).
    Already done - both the Windows firewall and all 3 party products have been disabled for the duration of testing.

    Quote Originally Posted by lxnay
    At the same time, could you, through support@lightstreamer.com provide us some valid credentials that we can use to connect to your server through the RTD library, if possible?

    Regards.
    Sent

  5. #5
    Member
    Join Date
    Jul 2010
    Location
    Trento
    Posts
    12
    Thanks,
    at my first attempt, the application is able to connect and communicate with your server. I have a further request though, could you send us the Excel file you're using?

    Regards.

  6. #6
    Member
    Join Date
    Jan 2011
    Location
    Plainfield
    Posts
    13
    Quote Originally Posted by lxnay
    Thanks,
    at my first attempt, the application is able to connect and communicate with your server. I have a further request though, could you send us the Excel file you're using?

    Regards.
    Well, that's good news. Sent as requested.

  7. #7
    Member
    Join Date
    Jul 2010
    Location
    Trento
    Posts
    12
    I confirm. With the information you gave us, I am able to communicate with your server, which just answers: "Requested Adapter Set not available", which confirms that the communication is successful, without blocking the UI.

 

 

Similar Threads

  1. Could not connect to light streamer server
    By bponnappan in forum Adapter SDKs
    Replies: 1
    Last Post: July 5th, 2012, 09:38 AM
  2. Replies: 3
    Last Post: November 14th, 2011, 09:33 AM
  3. Connect to LightStreamer with NodeJS
    By afshinmeh in forum Client SDKs
    Replies: 1
    Last Post: October 6th, 2011, 06:31 PM
  4. Can't connect to lightstreamer in firefox
    By chuan_ckc in forum Client SDKs
    Replies: 9
    Last Post: August 25th, 2009, 05:16 AM
  5. Replies: 1
    Last Post: February 22nd, 2008, 08:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 01:48 PM.