Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Nov 2006
    Location
    Riyadh
    Posts
    33

    Javascript library does not return error if LS server is down

    Hi,

    I have my web pages and LS javascript files installed on Apache and LS server running standalone.
    When LS server is down, nothing appears or shows as such, it simply never goes to STREAMING mode. I made sure all status change listeners and server/client error listeners were set to display whatever comes, but nada.

    I mapped the following LS functions:

    lsPage.onClientError = notifyReply;
    lsPage.onServerDeny = notifyServerError;

    eng.onStatusChange = notifyStatusChange;
    eng.onServerError = notifyServerError;
    eng.onClientError = notifyReply;

    Any idea ?

    Thanks
    A

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    rsouissi,

    That's the correct behavior.
    As the streaming connection is issued in a "forever-frame" we cannot know the reason why no data is coming (no difference between server down or pc disconnected from the internet)
    If you don't get an onStatusChange("STREAMING") call than you know that you've not yet reached your server.

 

 

Similar Threads

  1. on field missing error on javascript execution
    By betasec in forum Client SDKs
    Replies: 1
    Last Post: June 8th, 2012, 09:52 AM
  2. Javascript library file size
    By athanasius in forum Client SDKs
    Replies: 3
    Last Post: December 3rd, 2009, 11:57 AM
  3. Replies: 9
    Last Post: October 19th, 2009, 05:02 PM
  4. customizing Javascript Library
    By rd2008 in forum Client SDKs
    Replies: 2
    Last Post: April 28th, 2009, 11:03 AM
  5. Replies: 0
    Last Post: December 22nd, 2006, 01:18 PM

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 04:42 AM.