Results 1 to 10 of 26

Hybrid View

  1. #1
    Power Member
    Join Date
    Sep 2013
    Location
    Coimbatore
    Posts
    121
    Click image for larger version. 

Name:	slntradeissue.jpg 
Views:	969 
Size:	62.5 KB 
ID:	232
    Please check this screen, I have explained in this images. I'm remain we are using ionic cordova framework to develop the app.

  2. #2
    Power Member
    Join Date
    Sep 2013
    Location
    Coimbatore
    Posts
    121
    This below log taken from mobile device execution log:
    file:///android_asset/www/js/lightstreamer.js: Line 556 : lightstreamer.sharing | DEBUG | 16:57:12,802 | 2] Broadcasting setting to shared LightstreamerClient instances {serverAddress http://slnbullion.com:8080/ }
    11-30 16:57:12.804: I/chromium(18862): [INFO:CONSOLE(556)] "lightstreamer.sharing | DEBUG | 16:57:12,802 | 2] Broadcasting setting to shared LightstreamerClient instances {serverAddress http://slnbullion.com:8080/ }", source: file:///android_asset/www/js/lightstreamer.js (556)
    11-30 16:57:12.804: D/SystemWebChromeClient(18862): file:///android_asset/www/js/lightstreamer.js: Line 556 : lightstreamer.sharing | DEBUG | 16:57:12,803 | 2] Broadcasting setting to shared LightstreamerClient instances {adapterSet SLNSTOCKLISTDEMO_REMOTE }
    11-30 16:57:12.805: I/chromium(18862): [INFO:CONSOLE(556)] "lightstreamer.sharing | DEBUG | 16:57:12,803 | 2] Broadcasting setting to shared LightstreamerClient instances {adapterSet SLNSTOCKLISTDEMO_REMOTE }", source: file:///android_asset/www/js/lightstreamer.js (556)
    11-30 16:57:12.806: D/SystemWebChromeClient(18862): file:///android_asset/www/js/lightstreamer.js: Line 556 : lightstreamer.sharing | DEBUG | 16:57:12,804 | 2] Broadcasting setting to shared LightstreamerClient instances {httpExtraHeaders username
    11-30 16:57:12.806: D/SystemWebChromeClient(18862): slnbullionche
    11-30 16:57:12.806: D/SystemWebChromeClient(18862): }
    11-30 16:57:12.806: I/chromium(18862): [INFO:CONSOLE(556)] "lightstreamer.sharing | DEBUG | 16:57:12,804 | 2] Broadcasting setting to shared LightstreamerClient instances {httpExtraHeaders username
    11-30 16:57:12.806: I/chromium(18862): slnbullionche
    11-30 16:57:12.806: I/chromium(18862): }", source: file:///android_asset/www/js/lightstreamer.js (556)
    11-30 16:57:12.809: D/SystemWebChromeClient(18862): file:///android_asset/www/js/lightstreamer.js: Line 557 : lightstreamer.sharing | WARN | 16:57:12,807 | 338] Forcing preventCrossWindowShare because page is on file:/// {}
    11-30 16:57:12.809: I/chromium(18862): [INFO:CONSOLE(557)] "lightstreamer.sharing | WARN | 16:57:12,807 | 338] Forcing preventCrossWindowShare because page is on file:/// {}", source: file:///android_asset/www/js/lightstreamer.js (557)
    11-30 16:57:12.855: D/SystemWebChromeClient(18862): file:///android_asset/www/js/lightstreamer.js: Line 556 : lightstreamer.subscriptions | DEBUG | 16:57:12,855 | 362] Adapter Set assigned {[|Subscription|1|0||0|||] SLNQUOTE_ADAPTER }
    11-30 16:57:12.855: I/chromium(18862): [INFO:CONSOLE(556)] "lightstreamer.subscriptions | DEBUG | 16:57:12,855 | 362] Adapter Set assigned {[|Subscription|1|0||0|||] SLNQUOTE_ADAPTER }", source: file:///android_asset/www/js/lightstreamer.js (556)
    11-30 16:57:12.856: D/SystemWebChromeClient(18862): file:///android_asset/www/js/lightstreamer.js: Line 556 : lightstreamer.subscriptions | DEBUG | 16:57:12,855 | 366] Snapshot Required assigned {[|Subscription|1|0||0|||] yes }
    11-30 16:57:12.856: I/chromium(18862): [INFO:CONSOLE(556)] "lightstreamer.subscriptions | DEBUG | 16:57:12,855 | 366] Snapshot Required assigned {[|Subscription|1|0||0|||] yes }", source: file:///android_asset/www/js/lightstreamer.js (556)
    11-30 16:57:12.856: D/SystemWebChromeClient(18862): file:///android_asset/www/js/lightstreamer.js: Line 556 : lightstreamer.subscriptions | INFO | 16:57:12,856 | 10] Subscribing subscription {[|Subscription|1|0||0|||] }
    11-30 16:57:12.856: I/chromium(18862): [INFO:CONSOLE(556)] "lightstreamer.subscriptions | INFO | 16:57:12,856 | 10] Subscribing subscription {[|Subscription|1|0||0|||] }", source: file:///android_asset/www/js/lightstreamer.js (556)
    11-30 16:57:12.857: D/SystemWebChromeClient(18862): file:///android_asset/www/js/lightstreamer.js: Line 556 : lightstreamer.subscriptions | INFO | 16:57:12,856 | 352] Subscription entered the active state {[|Subscription|5|0|1|1||2|] }
    11-30 16:57:12.857: I/chromium(18862): [INFO:CONSOLE(556)] "lightstreamer.subscriptions | INFO | 16:57:12,856 | 352] Subscription entered the active state {[|Subscription|5|0|1|1||2|] }", source: file:///android_asset/www/js/lightstreamer.js (556)
    11-30 16:57:12.857: D/SystemWebChromeClient(18862): file:///android_asset/www/js/lightstreamer.js: Line 556 : lightstreamer.subscriptions | DEBUG | 16:57:12,857 | 362] Adapter Set assigned {[|Subscription|1|0||0|||] SLNQUOTE_ADAPTER }
    11-30 16:57:12.857: I/chromium(18862): [INFO:CONSOLE(556)] "lightstreamer.subscriptions | DEBUG | 16:57:12,857 | 362] Adapter Set assigned {[|Subscription|1|0||0|||] SLNQUOTE_ADAPTER }", source: file:///android_asset/www/js/lightstreamer.js (556)
    11-30 16:57:12.858: D/SystemWebChromeClient(18862): file:///android_asset/www/js/lightstreamer.js: Line 556 : lightstreamer.subscriptions | DEBUG | 16:57:12,857 | 366] Snapshot Required assigned {[|Subscription|1|0||0|||] yes }
    11-30 16:57:12.858: I/chromium(18862): [INFO:CONSOLE(556)] "lightstreamer.subscriptions | DEBUG | 16:57:12,857 | 366] Snapshot Required assigned {[|Subscription|1|0||0|||] yes }", source: file:///android_asset/www/js/lightstreamer.js (556)
    11-30 16:57:12.858: D/SystemWebChromeClient(18862): file:///android_asset/www/js/lightstreamer.js: Line 556 : lightstreamer.subscriptions | INFO | 16:57:12,858 | 10] Subscribing subscription {[|Subscription|1|0||0|||] }
    11-30 16:57:12.858: I/chromium(18862): [INFO:CONSOLE(556)] "lightstreamer.subscriptions | INFO | 16:57:12,858 | 10] Subscribing subscription {[|Subscription|1|0||0|||] }", source: file:///android_asset/www/js/lightstreamer.js (556)
    11-30 16:57:12.859: D/SystemWebChromeClient(18862): file:///android_asset/www/js/lightstreamer.js: Line 556 : lightstreamer.subscriptions | INFO | 16:57:12,858 | 352] Subscription entered the active state {[|Subscription|5|0|2|1||3|] }
    11-30 16:57:12.859: I/chromium(18862): [INFO:CONSOLE(556)] "lightstreamer.subscriptions | INFO | 16:57:12,858 | 352] Subscription entered the active state {[|Subscription|5|0|2|1||3|] }", source: file:///android_asset/www/js/lightstreamer.js (556)
    11-30 16:57:12.859: D/SystemWebChromeClient(18862): file:///android_asset/www/js/controllers.js: Line 56 : loginstatus enter: true
    11-30 16:57:12.859: I/chromium(18862): [INFO:CONSOLE(56)] "loginstatus enter: true", source: file:///android_asset/www/js/controllers.js (56)
    11-30 16:57:12.877: D/SystemWebChromeClient(18862): file:///android_asset/www/js/lightstreamer.js: Line 556 : lightstreamer.sharing | INFO | 16:57:12,877 | 341] A sharing will now be searched {}
    11-30 16:57:12.877: I/chromium(18862): [INFO:CONSOLE(556)] "lightstreamer.sharing | INFO | 16:57:12,877 | 341] A sharing will now be searched {}", source: file:///android_asset/www/js/lightstreamer.js (556)
    11-30 16:57:12.878: D/SystemWebChromeClient(18862):
    11-30 16:57:12.880: I/chromium(18862): [INFO:CONSOLE(556)] "lightstreamer.sharing | DEBUG | 16:57:12,879 | 2] Broadcasting setting to shared LightstreamerClient instances {clientsCount 2 }", source: file:///android_asset/www/js/lightstreamer.js (556)
    11-30 16:57:12.881: D/SystemWebChromeClient(18862): file:///android_asset/www/js/lightstreamer.js: Line 556 : lightstreamer.sharing | DEBUG | 16:57:12,880 | 33] New client attached to engine {[|PushPageCollectionHandler|] }
    11-30 16:57:12.881: I/chromium(18862): [INFO:CONSOLE(556)] "lightstreamer.sharing | DEBUG | 16:57:12,880 | 33] New client attached to engine {[|PushPageCollectionHandler|] }", source: file:///android_asset/www/js/lightstreamer.js (556)
    11-30 16:57:12.891: D/SystemWebChromeClient(18862): file:///android_asset/www/js/lightstreamer.js: Line 556 : lightstreamer.sharing | INFO | 16:57:12,890 | 311] Stop search for an engine {}
    11-30 16:57:12.891: I/chromium(18862): [INFO:CONSOLE(556)] "lightstreamer.sharing | INFO | 16:57:12,890 | 311] Stop search for an engine {}", source: file:///android_asset/www/js/lightstreamer.js (556)
    11-30 16:57:15.556: D/SystemWebChromeClient(18862): file:///android_asset/www/js/lightstreamer.js: Line 556 : lightstreamer.sharing | DEBUG | 16:57:15,555 | 2] Broadcasting setting to shared LightstreamerClient instances {serverAddress http://slnbullion.com:8080/ }
    11-30 16:57:15.556: I/chromium(18862): [INFO:CONSOLE(556)] "lightstreamer.sharing | DEBUG | 16:57:15,555 | 2] Broadcasting setting to shared LightstreamerClient instances {serverAddress http://slnbullion.com:8080/ }", source: file:///android_asset/www/js/lightstreamer.js (556)
    11-30 16:57:15.556: D/SystemWebChromeClient(18862): file:///android_asset/www/js/lightstreamer.js: Line 556 : lightstreamer.sharing | DEBUG | 16:57:15,555 | 2] Broadcasting setting to shared LightstreamerClient instances {adapterSet SLNSTOCKLISTDEMO_REMOTE }
    11-30 16:57:15.557: I/chromium(18862): [INFO:CONSOLE(556)] "lightstreamer.sharing | DEBUG | 16:57:15,555 | 2] Broadcasting setting to shared LightstreamerClient instances {adapterSet SLNSTOCKLISTDEMO_REMOTE }", source: file:///android_asset/www/js/lightstreamer.js (556)

  3. #3
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi rvkvino,

    The snippet of log is not large enough to understand what's going on.
    In any case it seems that the LightstreamerClient still try to share the connection.
    Maybe that some of the LightstreamerClient instances you have in the client still require the enableSharing?

    Could you try to force an explicit disconnect every time the user change page?

    Regards,
    Giuseppe

  4. #4
    Power Member
    Join Date
    Sep 2013
    Location
    Coimbatore
    Posts
    121
    Hi,
    As your instruction I have changed the code for every page(All 3 Pages). Now all the page will connect and disconnect when navigate to other page. And also removed sharing. Now also same issue if I connect the page 4 times means it is working after i navigate to same page 5th time it will disconnect the session and trying to reconnect (Status got RECONNECT). But not successfully connected. I need to close the app and restart the app then only connecting.

  5. #5
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi rvkvino,

    It's a strange behavior; an hypothesis that I have got is that ionic has a limited conection pool that once exhausted does not allow new connections (to the same host : port). Please could you check if this hypoetesis makes sense.
    Furthermore, might also be helpful the Lightstreamer server log, with <logger name="LightstreamerLogger.connections" level="INFO"/> of a specific and limited test case.

    Regards,
    Giuseppe

  6. #6
    Power Member
    Join Date
    Sep 2013
    Location
    Coimbatore
    Posts
    121
    01-Dec-17 16:49:22,405|INFO |L.requests |SERVER POOLED THREAD 2 |Serving request: /lightstreamer/bind_session.js --> LS_session=S2b46c4dadb63a182T4922388&LS_phase=7504 &LS_cause=ws.notgood&LS_content_length=4000000&LS_ container=lsc& on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62655
    01-Dec-17 16:49:22,406|INFO |L.requests |SERVER POOLED THREAD 2 |Attaching session: S2b46c4dadb63a182T4922388 on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62655
    01-Dec-17 16:49:22,411|INFO |L.connections |SERVER POOLED THREAD 2 |Accepted HTTP connection on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62657
    01-Dec-17 16:49:22,412|INFO |L.requests |SERVER POOLED THREAD 3 |Serving request: /lightstreamer/control.js --> LS_mode=COMMAND&LS_id=Item&LS_schema=key%20command %20desc%20bid%20ask%20high%20low%20order&LS_data_a dapter=SLNQUOTE_ADAPTER&LS_snapshot=true&LS_table= 1&LS_req_phase=2&LS_win_phase=1&LS_op=add&LS_uniqu e=55&LS_session=S2b46c4dadb63a182T4922388& on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62657
    01-Dec-17 16:49:22,412|INFO |L.requests |SERVER POOLED THREAD 10 |Controlling session: S2b46c4dadb63a182T4922388 on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62657
    01-Dec-17 16:49:22,424|INFO |L.connections |SERVER POOLED THREAD 10 |Reused HTTP connection on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62657
    01-Dec-17 16:49:22,428|INFO |L.requests |SERVER POOLED THREAD 2 |Serving request: /lightstreamer/control.js --> LS_mode=MERGE&LS_id=Gold%20Silver%20INR%20MGold%20 MSilver%20Marketstatus&LS_schema=desc%20bid%20ask% 20low%20high%20ratedisplay%20updatetime%20msg&LS_d ata_adapter=SLNQUOTE_ADAPTER&LS_snapshot=true&LS_t able=2&LS_req_phase=3&LS_win_phase=1&LS_op=add&LS_ unique=56&LS_session=S2b46c4dadb63a182T4922388& on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62657
    01-Dec-17 16:49:22,429|INFO |L.requests |SERVER POOLED THREAD 3 |Controlling session: S2b46c4dadb63a182T4922388 on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62657
    01-Dec-17 16:49:22,434|INFO |L.connections |SERVER POOLED THREAD 3 |Reused HTTP connection on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62657
    01-Dec-17 16:49:23,085|INFO |L.requests |SERVER POOLED THREAD 10 |Serving request: /lightstreamer/control.js --> LS_op=destroy&LS_session=S2b46c4dadb63a182T4922388 &LS_cause=api&LS_unique=57& on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62657
    01-Dec-17 16:49:23,086|INFO |L.requests |SERVER POOLED THREAD 10 |Destroying session: S2b46c4dadb63a182T4922388 on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62657
    01-Dec-17 16:49:23,089|INFO |L.connections |SERVER POOLED THREAD 10 |Asynchronous close for session S2b46c4dadb63a182T4922388 (31).
    01-Dec-17 16:49:23,090|INFO |L.connections |SERVER POOLED THREAD 10 |Reused HTTP connection on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62655
    01-Dec-17 16:49:23,090|INFO |L.requests |SERVER POOLED THREAD 10 |Closed session S2b46c4dadb63a182T4922388 with internal cause code: 31 (Destroy invoked by client).
    01-Dec-17 16:49:23,091|INFO |L.connections |SERVER POOLED THREAD 10 |Reused HTTP connection on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62657
    01-Dec-17 16:49:23,317|INFO |L.requests |SERVER POOLED THREAD 9 |Serving request: /lightstreamer/create_session.js --> LS_op2=create&LS_phase=4101&LS_cause=new.api&LS_po lling=true&LS_polling_millis=0&LS_idle_millis=0&LS _cid=pcYgxn8m8 feOojyA1T661j3g2.pz479h7m&LS_adapter_set=SLNSTOCKL ISTDEMO_REMOTE&LS_container=lsc& on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62657
    01-Dec-17 16:49:23,330|INFO |L.requests |SERVER POOLED THREAD 3 |Starting new session: Sf91791e8f40c0cecT4923329 (javascript_client 7.0.4 build 1721) on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62657
    01-Dec-17 16:49:23,333|INFO |L.connections |SERVER POOLED THREAD 3 |Reused HTTP connection on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62657
    01-Dec-17 16:49:23,350|INFO |L.requests |SERVER POOLED THREAD 10 |Serving request: /lightstreamer/bind_session.js --> LS_session=Sf91791e8f40c0cecT4923329&LS_phase=4104 &LS_cause=ws.notgood&LS_content_length=4000000&LS_ container=lsc& on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62657
    01-Dec-17 16:49:23,351|INFO |L.requests |SERVER POOLED THREAD 3 |Serving request: /lightstreamer/control.js --> LS_mode=COMMAND&LS_id=Item&LS_schema=key%20command %20desc%20bid%20ask%20high%20low%20order%20deliver y%20coin%20comweight%20comtype%20barqty%20marginty pe%20marginvalue%20comid&LS_data_adapter=SLNQUOTE_ ADAPTER&LS_snapshot=true&LS_table=1&LS_req_phase=2 &LS_win_phase=1&LS_op=add&LS_unique=58&LS_session= Sf91791e8f40c0cecT4923329& on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62655
    01-Dec-17 16:49:23,355|INFO |L.requests |SERVER POOLED THREAD 10 |Attaching session: Sf91791e8f40c0cecT4923329 on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62657
    01-Dec-17 16:49:23,355|INFO |L.requests |SERVER POOLED THREAD 9 |Controlling session: Sf91791e8f40c0cecT4923329 on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62655
    01-Dec-17 16:49:23,361|INFO |L.connections |SERVER POOLED THREAD 9 |Reused HTTP connection on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62655
    01-Dec-17 16:49:25,176|INFO |L.requests |SERVER POOLED THREAD 10 |Serving request: /lightstreamer/create_session.js --> LS_op2=create&LS_phase=5301&LS_cause=new.api&LS_po lling=true&LS_polling_millis=0&LS_idle_millis=0&LS _cid=pcYgxn8m8 feOojyA1T661j3g2.pz479h7m&LS_adapter_set=SLNSTOCKL ISTDEMO_REMOTE&LS_container=lsc& on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62655
    01-Dec-17 16:49:25,191|INFO |L.requests |SERVER POOLED THREAD 9 |Starting new session: Sa9f08ec3adfeabceT4925187 (javascript_client 7.0.4 build 1721) on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62655
    01-Dec-17 16:49:25,193|INFO |L.connections |SERVER POOLED THREAD 9 |Reused HTTP connection on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62655
    01-Dec-17 16:49:25,222|INFO |L.requests |SERVER POOLED THREAD 9 |Serving request: /lightstreamer/bind_session.js --> LS_session=Sa9f08ec3adfeabceT4925187&LS_phase=5304 &LS_cause=ws.notgood&LS_content_length=4000000&LS_ container=lsc& on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62655
    01-Dec-17 16:49:25,222|INFO |L.requests |SERVER POOLED THREAD 9 |Attaching session: Sa9f08ec3adfeabceT4925187 on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62655
    01-Dec-17 16:49:25,927|INFO |L.connections |SERVER POOLED THREAD 9 |Accepted HTTP connection on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62665
    01-Dec-17 16:49:25,930|INFO |L.requests |FOR PUMPS PARKING DESTROYER|Closed session Sa9f08ec3adfeabceT4925187 with internal cause code: 38/5 (Connection interrupted by client).
    01-Dec-17 16:49:25,930|INFO |L.connections |PUMP POOLED THREAD 3 |Closed HTTP connection with internal cause code: 7 (Obsolete) on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62655
    01-Dec-17 16:49:25,931|INFO |L.requests |SERVER POOLED THREAD 9 |Serving request: /lightstreamer/control.js --> LS_op=destroy&LS_session=Sa9f08ec3adfeabceT4925187 &LS_cause=api&LS_unique=60& on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62665
    01-Dec-17 16:49:25,933|INFO |L.connections |SERVER POOLED THREAD 9 |Reused HTTP connection on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62665
    01-Dec-17 16:49:26,154|INFO |L.requests |SERVER POOLED THREAD 10 |Serving request: /lightstreamer/create_session.js --> LS_op2=create&LS_phase=6001&LS_cause=new.api&LS_po lling=true&LS_polling_millis=0&LS_idle_millis=0&LS _cid=pcYgxn8m8 feOojyA1T661j3g2.pz479h7m&LS_adapter_set=SLNSTOCKL ISTDEMO_REMOTE&LS_container=lsc& on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62665
    01-Dec-17 16:49:26,174|INFO |L.requests |SERVER POOLED THREAD 10 |Starting new session: S2f22c8eebf99ef8cT4926159 (javascript_client 7.0.4 build 1721) on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62665
    01-Dec-17 16:49:26,176|INFO |L.connections |SERVER POOLED THREAD 10 |Reused HTTP connection on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62665
    01-Dec-17 16:49:26,183|INFO |L.requests |SERVER POOLED THREAD 9 |Serving request: /lightstreamer/bind_session.js --> LS_session=S2f22c8eebf99ef8cT4926159&LS_phase=6004 &LS_cause=ws.notgood&LS_content_length=4000000&LS_ container=lsc& on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62665
    01-Dec-17 16:49:26,189|INFO |L.requests |SERVER POOLED THREAD 9 |Attaching session: S2f22c8eebf99ef8cT4926159 on "Lightstreamer HTTP Server" from 0:0:0:0:0:0:0:1:62665
    01-Dec-17 16:50:07,519|INFO |streamerMonitorText|Timer-0 |Total threads = 111, Total heap = 81788928 (free = 46004944), Sessions = 6 (max = 6), New sessions = [+30, -25], Connections = 6 (max = 7), New connections = [+20, -16], In-pool threads = 28, Active threads = 0, Available threads = 28, Queued tasks = 0, Pool queue wait = 0, NIO write queue = 0, NIO write queue wait = 0, NIO write selectors = 4, NIO total selectors = 16, Subscribed items = 7 (for 11 subscriptions), Inbound throughput = 13.49 updates/s (pre-filtered = 13.49), Outbound throughput = 20.49 updates/s (22.4 kbit/s, max = 31.57), Lost updates = 0 (total = 0), Total bytes sent = 297838, Client messages throughput = 0 msgs/s (0 kbit/s, max = 0), Total messages handled = 0, Extra sleep = 0, Notify delay = 0

    Click image for larger version. 

Name:	connectionmsg.png 
Views:	1020 
Size:	23.2 KB 
ID:	233

  7. #7
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi rvkvino,

    Once again the log does not show any particular problem.
    Also, given that there is no evidence of the loop CONNECTING -> DISCONNECTED:WILL-RETRY in the server log, it is very likely that the create_session requests just can not reach the server.

    Regards,
    Giuseppe

  8. #8
    Power Member
    Join Date
    Sep 2013
    Location
    Coimbatore
    Posts
    121
    I have discussed with ionic team via forum regarding this limited connection pool. They are saying we don't have any restriction on Click image for larger version. 

Name:	disconnection.jpg 
Views:	1248 
Size:	44.9 KB 
ID:	234connection. Still we are facing this issue. Is there anyother solution or idea is there?
    Last edited by rvkvino; December 13th, 2017 at 01:43 PM.

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

    This puzzled me a lot.
    The attached client console snippet show the typical retry cycle that happens when the server is unreachable; ie. the server is down or the client network configurations do not allow to reach it.
    But in your case, these conditions do not hold since the same client can connect successfully several time before starting to fail.

    Unfortunately in the debug client logs provided previously in this thread not there is no precise evidence of the error case.
    So we really need the logs, both client and server, whit an issue case clearly highlighted.

    Alternatively, you could try to recover the previously explored solution, that try to use a single instance of LightstreamerClient for all the pages.

    Regards,
    Giuseppe

 

 

Similar Threads

  1. How to create 2 engines in one page?
    By dimitarn in forum Client SDKs
    Replies: 5
    Last Post: December 10th, 2009, 10:52 AM
  2. More tables in one page scenario
    By cbrogliato in forum Client SDKs
    Replies: 1
    Last Post: October 2nd, 2009, 02:13 PM
  3. Replies: 5
    Last Post: July 17th, 2008, 10:01 AM
  4. Problem connecting GI to LS server
    By camerone in forum Client SDKs
    Replies: 1
    Last Post: August 20th, 2007, 02:37 PM
  5. Replies: 1
    Last Post: March 15th, 2007, 02:44 PM

Tags for this Thread

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 06:12 PM.