-
March 9th, 2023, 09:30 AM
#1
The Adapter-side logs regard custom code and we aren't able to find clues about the update flow.
Until we have a clear identification of the problem as the user perceives it, I don't think that we can proceed further.
If you confirm that the issue affects only a few clients and doesn't affect the other ones, it is more likely that the problem is related with the client application's ability to keep the pace of the incoming updates while trying to process them.
Please clarify if the client application's job is to visualize the data or to elaborate it internally.
BTW, the client log regards February 27, that is, the day before the Server and Adapter logs.
Could it be a mistake and perhaps the issue was observed on February 28 and never on February 27 ?
The refusals don't seem to affect the performance. Only in case a client application gets several refusals before succeeding, this may be seen by the user as a delay. Until we have a clear identification of the problem as the user perceives it, this is also a possibility.
Or perhaps this is just the evidence of another issue to be investigated.
-
April 4th, 2023, 12:16 PM
#2
Dear Dario,
I have the following scenario on the server:
Line 267015: 04-Apr-23 13:38:08,273|INFO |L.requests |SERVER POOLED THREAD 3380 |Serving request: /lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0 --> LS_polling=true&LS_cause=new.api&LS_polling_millis =0&LS_idle_millis=0&LS_cid=pcYgxptg4pkpW39AN3R4hwL ri8L7R7q&LS_adapter_set=STOCKLISTDEMO&LS_user=2050 21&LS_password=[...]& on "Lightstreamer HTTP Server" from 10.244.210.1:22410
Line 267016: 04-Apr-23 13:38:08,461|INFO |L.requests |SERVER POOLED THREAD 3379 |Serving request: /lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0 --> LS_polling=true&LS_cause=new.api&LS_polling_millis =0&LS_idle_millis=0&LS_cid=pcYgxptg4pkpW39AN3R4hwL ri8L7R7q&LS_adapter_set=STOCKLISTDEMO&LS_user=2050 21&LS_password=[...]& on "Lightstreamer HTTP Server" from 10.244.210.1:57570
Line 267023: 04-Apr-23 13:38:12,195|INFO |L.requests |SERVER POOLED THREAD 3428 |Serving request: /lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0 --> LS_polling=true&LS_cause=new.create.timeout&LS_pol ling_millis=0&LS_idle_millis=0&LS_cid=pcYgxptg4pkp W39AN3R4hwLri8L7R7q&LS_adapter_set=STOCKLISTDEMO&L S_user=205021&LS_password=[...]&LS_old_session=& on "Lightstreamer HTTP Server" from 10.244.210.1:26519
Line 267024: 04-Apr-23 13:38:12,430|INFO |L.requests |SERVER POOLED THREAD 3427 |Serving request: /lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0 --> LS_polling=true&LS_cause=new.create.timeout&LS_pol ling_millis=0&LS_idle_millis=0&LS_cid=pcYgxptg4pkp W39AN3R4hwLri8L7R7q&LS_adapter_set=STOCKLISTDEMO&L S_user=205021&LS_password=[...]&LS_old_session=& on "Lightstreamer HTTP Server" from 10.244.210.1:48389
Line 267035: 04-Apr-23 13:38:16,195|INFO |L.requests |SERVER POOLED THREAD 3433 |Serving request: /lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0 --> LS_polling=true&LS_cause=new.create.timeout&LS_pol ling_millis=0&LS_idle_millis=0&LS_cid=pcYgxptg4pkp W39AN3R4hwLri8L7R7q&LS_adapter_set=STOCKLISTDEMO&L S_user=205021&LS_password=[...]&LS_old_session=& on "Lightstreamer HTTP Server" from 10.244.210.1:51146
Line 267036: 04-Apr-23 13:38:16,430|INFO |L.requests |SERVER POOLED THREAD 3433 |Serving request: /lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0 --> LS_polling=true&LS_cause=new.create.timeout&LS_pol ling_millis=0&LS_idle_millis=0&LS_cid=pcYgxptg4pkp W39AN3R4hwLri8L7R7q&LS_adapter_set=STOCKLISTDEMO&L S_user=205021&LS_password=[...]&LS_old_session=& on "Lightstreamer HTTP Server" from 10.244.210.1:9642
Line 267044: 04-Apr-23 13:38:20,195|INFO |L.requests |SERVER POOLED THREAD 3433 |Serving request: /lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0 --> LS_polling=true&LS_cause=new.create.timeout&LS_pol ling_millis=0&LS_idle_millis=0&LS_cid=pcYgxptg4pkp W39AN3R4hwLri8L7R7q&LS_adapter_set=STOCKLISTDEMO&L S_user=205021&LS_password=[...]&LS_old_session=& on "Lightstreamer HTTP Server" from 10.244.210.1:16613
Line 267051: 04-Apr-23 13:38:20,430|INFO |L.requests |SERVER POOLED THREAD 3395 |Serving request: /lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0 --> LS_polling=true&LS_cause=new.create.timeout&LS_pol ling_millis=0&LS_idle_millis=0&LS_cid=pcYgxptg4pkp W39AN3R4hwLri8L7R7q&LS_adapter_set=STOCKLISTDEMO&L S_user=205021&LS_password=[...]&LS_old_session=& on "Lightstreamer HTTP Server" from 10.244.210.1:61370
Line 267107: 04-Apr-23 13:38:24,211|INFO |L.requests |SERVER POOLED THREAD 3410 |Serving request: /lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0 --> LS_polling=true&LS_cause=new.create.timeout&LS_pol ling_millis=0&LS_idle_millis=0&LS_cid=pcYgxptg4pkp W39AN3R4hwLri8L7R7q&LS_adapter_set=STOCKLISTDEMO&L S_user=205021&LS_password=[...]&LS_old_session=& on "Lightstreamer HTTP Server" from 10.244.210.1:20579
Line 267108: 04-Apr-23 13:38:24,445|INFO |L.requests |SERVER POOLED THREAD 3408 |Serving request: /lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0 --> LS_polling=true&LS_cause=new.create.timeout&LS_pol ling_millis=0&LS_idle_millis=0&LS_cid=pcYgxptg4pkp W39AN3R4hwLri8L7R7q&LS_adapter_set=STOCKLISTDEMO&L S_user=205021&LS_password=[...]&LS_old_session=& on "Lightstreamer HTTP Server" from 10.244.210.1:13569
Line 267117: 04-Apr-23 13:38:28,227|INFO |L.requests |SERVER POOLED THREAD 3297 |Serving request: /lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0 --> LS_polling=true&LS_cause=new.create.timeout&LS_pol ling_millis=0&LS_idle_millis=0&LS_cid=pcYgxptg4pkp W39AN3R4hwLri8L7R7q&LS_adapter_set=STOCKLISTDEMO&L S_user=205021&LS_password=[...]&LS_old_session=& on "Lightstreamer HTTP Server" from 10.244.210.1:15778
Line 267118: 04-Apr-23 13:38:28,477|INFO |L.requests |SERVER POOLED THREAD 3411 |Serving request: /lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0 --> LS_polling=true&LS_cause=new.create.timeout&LS_pol ling_millis=0&LS_idle_millis=0&LS_cid=pcYgxptg4pkp W39AN3R4hwLri8L7R7q&LS_adapter_set=STOCKLISTDEMO&L S_user=205021&LS_password=[...]&LS_old_session=& on "Lightstreamer HTTP Server" from 10.244.210.1:7935
Line 267138: 04-Apr-23 13:38:32,227|INFO |L.requests |SERVER POOLED THREAD 3445 |Serving request: /lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0 --> LS_polling=true&LS_cause=new.create.timeout&LS_pol ling_millis=0&LS_idle_millis=0&LS_cid=pcYgxptg4pkp W39AN3R4hwLri8L7R7q&LS_adapter_set=STOCKLISTDEMO&L S_user=205021&LS_password=[...]&LS_old_session=& on "Lightstreamer HTTP Server" from 10.244.210.1:28391
Line 267139: 04-Apr-23 13:38:32,461|INFO |L.requests |SERVER POOLED THREAD 3445 |Serving request: /lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0 --> LS_polling=true&LS_cause=new.create.timeout&LS_pol ling_millis=0&LS_idle_millis=0&LS_cid=pcYgxptg4pkp W39AN3R4hwLri8L7R7q&LS_adapter_set=STOCKLISTDEMO&L S_user=205021&LS_password=[...]&LS_old_session=& on "Lightstreamer HTTP Server" from 10.244.210.1:54842
Line 267552: 04-Apr-23 13:39:31,764|INFO |L.requests |SERVER POOLED THREAD 3375 |Serving request: /lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0 --> LS_polling=true&LS_cause=new.api&LS_polling_millis =0&LS_idle_millis=0&LS_cid=pcYgxptg4pkpW39AN3R4hwL ri8L7R7q&LS_adapter_set=STOCKLISTDEMO&LS_user=2050 21&LS_password=[...]& on "Lightstreamer HTTP Server" from 10.244.210.1:47873
Line 267554: 04-Apr-23 13:39:31,795|INFO |L.requests |SERVER POOLED THREAD 3375 |Serving request: /lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0 --> LS_polling=true&LS_cause=new.api&LS_polling_millis =0&LS_idle_millis=0&LS_cid=pcYgxptg4pkpW39AN3R4hwL ri8L7R7q&LS_adapter_set=STOCKLISTDEMO&LS_user=2050 21&LS_password=[...]& on "Lightstreamer HTTP Server" from 10.244.210.1:29280
Line 267574: 04-Apr-23 13:39:32,686|INFO |L.requests |SERVER POOLED THREAD 3377 |Serving request: /lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0 --> LS_polling=true&LS_cause=new.api&LS_polling_millis =0&LS_idle_millis=0&LS_cid=pcYgxptg4pkpW39AN3R4hwL ri8L7R7q&LS_adapter_set=STOCKLISTDEMO&LS_user=2050 21&LS_password=[...]& on "Lightstreamer HTTP Server" from 10.244.210.1:9975
Why do I receive multiple requests ? the client request one connection, so why do I receive this number of requests?
-
April 4th, 2023, 04:48 PM
#3
Hi ManKeer,
If you are expecting only one client session, there are two strange things that can be inferred from this request list:
1) It seems that there are two streams of parallel requests separated by about 200 milliseconds.
Look for example at the first two, both of them with LS_cause=new.ap, that means that both are triggered by an explicit call of the connect method of the API.
2) Then new attempts are noted every 4 seconds. This means that the client library fails to establish the session within the defined timeout, precisely 4 seconds, and then proceeds with a new attempt.
Understanding why it fails is difficult with just this log excerpt, but it may be that the client is not receiving at all the create_request reply or the next attempt to bind is unsuccessful.
Are you targeting a single instance of Lightstreamer server or a cluster of two or more instances? Because in the latter case maybe there are addressing problems, i.e. two requests from the same client end up at two different instances.
Regards,
Giuseppe
-
April 5th, 2023, 01:49 PM
#4
why do I receive this message " Unexpected update for item xxxx" ?
Similar Threads
-
By ahmedsmart4tech in forum Adapter SDKs
Replies: 7
Last Post: August 19th, 2014, 02:11 PM
-
By New Soft in forum Client SDKs
Replies: 3
Last Post: July 7th, 2014, 09:57 AM
-
By faa666 in forum General
Replies: 1
Last Post: February 15th, 2012, 08:54 AM
-
By omidqrose in forum General
Replies: 2
Last Post: May 23rd, 2011, 12:44 PM
-
By brianjohnson in forum Adapter SDKs
Replies: 2
Last Post: April 5th, 2010, 12:02 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 08:52 AM.
Bookmarks