Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jun 2011
    Location
    ldn
    Posts
    5

    LS4 with SSL, html client problem

    I just sent this to Dario as a private message, but thought I'd ask here as well.

    We have been experiencing the same problems as another user from this thread http://www.lightstreamer.com/vb/showthread.php?t=967

    The symptoms are the same as he was describing. Some connections are successful, others not.

    Our application is an html client making ~5 new tables on startup and un/subscribing to different groups while running. On the affected machines one or more tables do not load on startup and we get the connection errors. However, after some time (10s to >1min) those tables will be loaded. Other subscriptions intermittently fail to start, some are immediately successful.

    Here's an example section of the log

    Code:
    04-Aug-11 10:33:38,141|INFO |LightstreamerLogger.requests     |SERVER POOLED THREAD 4     |Serving request: /lightstreamer/create_session.js --> LS_phase=1801&LS_domain=marketspreads.ie&LS_polling=true&LS_polling_millis=0&LS_idle_millis=0&LS_client_version=5.0&LS_adapter_set=TradingPlatformAdapterSet&LS_user=ALBIRO&LS_password=[...]& from [my ip]:60433
    04-Aug-11 10:33:38,141|INFO |LightstreamerLogger.requests     |SERVER POOLED THREAD 4     |Starting new session: S144c98bfd9fe7d26T3338141 from [my ip]:60433
    04-Aug-11 10:33:38,173|INFO |LightstreamerLogger.requests     |SERVER POOLED THREAD 13    |Serving request: /lightstreamer/bind_session.js --> LS_session=S144c98bfd9fe7d26T3338141&LS_phase=1803&LS_domain=marketspreads.ie& from [my ip]:60433
    04-Aug-11 10:33:38,173|INFO |LightstreamerLogger.requests     |SERVER POOLED THREAD 13    |Attaching session: S144c98bfd9fe7d26T3338141 from [my ip]:60433
    04-Aug-11 10:33:38,687|DEBUG|ghtstreamerLogger.connections.ssl|O SSL HANDSHAKE SELECTOR 10|Handshake completed on socket Lightstreamer HTTPS Server; selected cipher suite TLS_DHE_RSA_WITH_AES_128_CBC_SHA
    04-Aug-11 10:33:38,687|INFO |LightstreamerLogger.requests     |SERVER POOLED THREAD 10    |Serving request: /lightstreamer/control.js --> LS_session=S144c98bfd9fe7d26T3338141&LS_table=1&LS_win_phase=69&LS_req_phase=148&LS_op=add&LS_mode=COMMAND&LS_id=MKN1&LS_schema=key%20command%20n%20c%20p%20s%20l%20w&LS_data_adapter=MarketNavigation&LS_snapshot=true&LS_requested_max_frequency=1&LS_unique=1& from [my ip]:60434
    04-Aug-11 10:33:38,687|INFO |LightstreamerLogger.requests     |SERVER POOLED THREAD 10    |Controlling session: S144c98bfd9fe7d26T3338141 from [my ip]:60434
    04-Aug-11 10:33:38,765|WARN |ghtstreamerLogger.connections.ssl|NIO READ SELECTOR 4        |SSL read error: Input SSL/TLS record too big: max = 33049 len = 38523
    04-Aug-11 10:33:38,765|DEBUG|ghtstreamerLogger.connections.ssl|NIO READ SELECTOR 4        |SSL read error
    javax.net.ssl.SSLProtocolException: Input SSL/TLS record too big: max = 33049 len = 38523
    	at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:803) ~[na:1.6]
    	at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:713) ~[na:1.6]
    	at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:607) ~[na:1.6]
    	at com.lightstreamer.f.a.s.a(s.java) ~[lightstreamer.jar:na]
    	at com.lightstreamer.f.a.gb.a(gb.java) ~[lightstreamer.jar:na]
    	at com.lightstreamer.f.a.gb.a(gb.java) ~[lightstreamer.jar:na]
    	at com.lightstreamer.f.a.p.a(p.java) [lightstreamer.jar:na]
    	at com.lightstreamer.f.a.o.a(o.java) [lightstreamer.jar:na]
    	at com.lightstreamer.f.a.nb.b(nb.java) [lightstreamer.jar:na]
    	at com.lightstreamer.f.a.a.x.a(x.java) [lightstreamer.jar:na]
    	at com.lightstreamer.f.a.a.p.c(p.java) [lightstreamer.jar:na]
    	at com.lightstreamer.f.a.a.n.run(n.java) [lightstreamer.jar:na]
    It sounds to us like a problem with java's ssl libraries, perhaps due to client machines sending too large a chunk of data, but I can't find anything conclusive.

    I can reproduce this behaviour on a windows xp virtual machine here with several browsers, while our office desktops on win7 have no problems. Some external machines also exhibit this behaviour on win2008 and win7. The server is not on our office network. The only difference we can think of is greater network latency from the affected machines than our office ones.

    If there's any more info I can give please let me know. I can host the full log somewhere.

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    972
    The issue turned out to be a bug introduced in Lightstreamer Server 4.0.
    We have already fixed it and made available a patch a few weeks ago;
    you may have received our alert through our newsletter.

    Version 4.0.1 currently available on our download page is then fixed.
    We apologize for the hassle.

  3. #3
    Member
    Join Date
    Jun 2011
    Location
    ldn
    Posts
    5
    Ah, thanks very much Dario. I must have ignored this patch newsletter, even though I got a previous one

    updating our sever now

 

 

Similar Threads

  1. Replies: 1
    Last Post: July 15th, 2011, 11:08 AM
  2. Silverlight Client Connection problem in IE
    By kkrisjoy in forum Client APIs
    Replies: 7
    Last Post: December 17th, 2010, 09:30 AM
  3. Multiple control.html requests
    By riwang in forum Client APIs
    Replies: 3
    Last Post: August 13th, 2009, 09:43 AM
  4. HTML Data
    By pyuvienco in forum Client APIs
    Replies: 1
    Last Post: July 2nd, 2008, 08:20 AM
  5. Sorce code to connect LS page from HTML
    By indrajit in forum Client APIs
    Replies: 1
    Last Post: February 22nd, 2008, 08:57 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 02:07 PM.