Results 1 to 10 of 24

Threaded View

  1. #11
    Member
    Join Date
    Jan 2011
    Location
    Plainfield
    Posts
    13
    Quote Originally Posted by lxnay
    Thanks for your patience,
    I just reviewed your changes and didn't see anything that could cause the freeze on the connection attempt (the socket in use is a blocking socket, hence the freeze if the server cannot be reached, until timeout, which is set at ~30 seconds by default).
    I have two suspects by the way:
    1. The server cannot be reached, might be some firewall? Can you reach the server from the browser (just connect to the same URL)
    The server is definitely reachable. I can connect manually via http as well as other lightstreamer clients are using this server. We have a second server in a different data center as well that I can reach via HTTP but I see the same behavior with the RTD server as the primary (hangs in connect, no traffic going to the server in wireshark).

    Quote Originally Posted by lxnay
    2. More probable: you are not using your re-compiled .dll. You probably installed the demo and your Visual Studio is not overriding registry settings created by the demo installation. This is easy to fix, just open the registry editor (regedit) and look for the following keys:

    - HKEY_CLASSES_ROOT\CLSID\{2368E0E6-1ED6-3C39-8FAE-45B4A9FB53F3}\InprocServer32\CodeBase
    - HKEY_CLASSES_ROOT\CLSID\{2368E0E6-1ED6-3C39-8FAE-45B4A9FB53F3}\InprocServer32\1.0.0.0\CodeBase

    [or just search through the whole registry for RTDLibraryExcelDemo.dll]

    Make sure to overwrite the .dll at the path contained in the keys above or provide a valid path to your .dll by changing those default values.
    I can say with 100% certainty that the modified DLL is loading. I've modified the output to the status window to reflect where it is connecting to:

    flowForm.AppendExcelLog("Connecting to " + pushServerUrl);

    Any modifications like this are present in the GUI window after a recompile and subsequent load of the spreadsheet. You can see the screenshot for the new output.
    NEW MODIFICATION was added to the output string. I then recompiled, moved the dll and reloaded the spreadsheet. The changes are definitely reflected in the new window that opens.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	RTD-1.png 
Views:	675 
Size:	26.2 KB 
ID:	93  

 

 

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:51 PM.