Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Nov 2008
    Location
    Boston
    Posts
    24

    Error popup in browser

    Hi,

    When I was running my web app, occasionally I got an LS error popup showing:

    Error 120
    Warning: there is probably another web application connected to the same Lightstreamer Server within this browser instance. That could prevent the current application from connecting to the Server. Please close the other application to unblock the current one.
    But I didn't have another application running in another tab of the same browser. Can anyone please advise how this error could possibly happen?

    Since my web app was running fine even after showing this error popup, I'd like to suppress the error popup. I've set the following in my javascript:

    Code:
        
        pushpage.context.setDebugAlertsOnClientError(false);
        pushpage.context.setRemoteAlertsOnClientError(true);
        eng.context.setDebugAlertsOnClientError(false);
        eng.context.setRemoteAlertsOnClientError(true);
    But I still get this error popup. Can anyone please advise how to suppress it?

    Thanks,
    Richard

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    you can suppress such alerts through the following methods:
    PushPage.onClientAlert
    Lightstreamer.Engine.onClientAlert

  3. #3
    Member
    Join Date
    Nov 2008
    Location
    Boston
    Posts
    24
    Thanks Mone.

  4. #4
    Member
    Join Date
    Jan 2008
    Location
    HK
    Posts
    16
    Hi,

    I have the same issue which web client occasionally prompt such warning message. Why the system prompts this warning message? I only opened 1 tab running Lightstreamer web client on firefox.

    Thanks!

    Stephen

  5. #5
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    hi,

    there were some false positive on older clients, do you still see the alert with our latest release (web client 4.4)?

  6. #6
    Member
    Join Date
    Jan 2008
    Location
    HK
    Posts
    16
    I'm now using 4.3.1. I think I need to upgrade it.

    In case of false positive. Do you recommend I suppress it by following methods?
    PushPage.onClientAlert
    Lightstreamer.Engine.onClientAlert

    Thanks!

    Best Regards,
    Stephen Lam

  7. #7
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    the alert does not interferes with the functioning of the library so, it's up to you
    removing the alert removes both false positive and correct messages.

    You may reimplement the callbacks by showing an html message somewhere instead of using an alert so that it's less invasive from an user point of view.

  8. #8
    Member
    Join Date
    May 2016
    Location
    Madrid, Espaņa
    Posts
    1
    I have exactly the same problem with current versions and although it has been several years my web continues to generate the error code . mainly Opera, is there some solution?

  9. #9
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi porque,

    Please could you confirm the exact version and build number in use?

  10. #10
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi Dantzler,

    The error discussed here refers to very old versions of the client library. With newer versions (> = 6) it should never appear.

    Please specify the version and build number of the client library and the version of the server accurately.
    You could also enable the debug log of the client library and share with us a significative snippet.

    Regards,
    Giuseppe

 

 

Similar Threads

  1. Android browser --> SSL and error 39
    By Mone in forum Client SDKs
    Replies: 0
    Last Post: February 21st, 2011, 05:16 PM
  2. Error 110 Received in the browser
    By ctranfd in forum Client SDKs
    Replies: 10
    Last Post: September 21st, 2009, 12:06 PM
  3. Browser Popup Focus Behaviour on Safari (on Mac)
    By ctranfd in forum Client SDKs
    Replies: 3
    Last Post: August 31st, 2009, 09:07 AM
  4. Replies: 3
    Last Post: August 8th, 2007, 05:13 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 11:01 AM.