Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19
  1. #11
    Hi - I am using Java:

    jdk1.7.0_51.jdk

    Is there an issue with this version?

    Thanks.

  2. #12
    Hi

    We are using version jdk1.7.0_51.jdk?

    Do we need to change the version?

    Thanks.

  3. #13
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    543
    Yes, please can you try with the update 55 of Java 7?

  4. #14
    Hi Giuseppe,

    I have updated the version and tried again but the problem remains the same - you can see in the logs below that the Java version is now update 55.

    18-Apr-14 10:47:57,222|INFO |LightstreamerLogger.init |main |Events pool size set by default at 8.
    18-Apr-14 10:47:57,233|INFO |LightstreamerLogger.init |main |Pump pool size set by default at 8.
    18-Apr-14 10:47:57,251|INFO |LightstreamerLogger.init |main |Lightstreamer on Java Virtual Machine: Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM, 24.55-b03, 1.7.0_55-b13 on Mac OS X
    18-Apr-14 10:47:57,252|INFO |LightstreamerLogger.init |main |Lightstreamer Server 5.1.1 build 1623.2 starting...
    18-Apr-14 10:47:58,012|DEBUG|ghtstreamerLogger.connections.s sl|main |Allowed protocols for socket Lightstreamer HTTPS Server: [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
    18-Apr-14 10:47:58,012|DEBUG|ghtstreamerLogger.connections.s sl|main |Allowed cipher suites for socket Lightstreamer HTTPS Server: [TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_DSS_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, TLS_ECDHE_RSA_WITH_RC4_128_SHA, SSL_RSA_WITH_RC4_128_SHA, TLS_ECDH_ECDSA_WITH_RC4_128_SHA, TLS_ECDH_RSA_WITH_RC4_128_SHA, TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_RC4_128_MD5, TLS_EMPTY_RENEGOTIATION_INFO_SCSV]
    18-Apr-14 10:47:58,049|INFO |LightstreamerLogger.init |main |TLS/SSL Server "Lightstreamer HTTPS Server" listening to *:443 ...
    18-Apr-14 10:47:58,049|INFO |LightstreamerLogger.init |main |Handshake pool size set by default at 1.
    18-Apr-14 10:47:58,051|INFO |LightstreamerLogger.init |main |Server "Lightstreamer HTTP Server" listening to *:8080 ...
    18-Apr-14 10:47:58,144|INFO |LightstreamerMonitorText |Timer-0 |Total threads = 138, Total heap = 257425408 (free = 203701808), Sessions = 0 (max = 0), New sessions = [+0, -0], Connections = 0 (max = 0), New connections = [+0, -0], In-pool threads = 47, Active threads = 0, Available threads = 47, Queued tasks = 0, Pool queue wait = 0, NIO write queue = 0, NIO write queue wait = 0, NIO write selectors = 8, NIO total selectors = 64, Subscribed items = 0, Inbound throughput = 0 updates/s (pre-filtered = 0), Outbound throughput = 0 updates/s (0 kbit/s, max = 0), Lost updates = 0 (total = 0), Total bytes sent = 0, Client messages throughput = 0 msgs/s (0 kbit/s, max = 0), Total messages handled = 0, Extra sleep = 0, Notify delay = 0
    18-Apr-14 10:48:55,593|INFO |ghtstreamerLogger.connections.ssl|LS/SSL HANDSHAKE SELECTOR 1|Handshake failed on "Lightstreamer HTTPS Server" from 127.0.0.1:50427
    18-Apr-14 10:48:55,594|ERROR|ghtstreamerLogger.connections.s sl|LS/SSL HANDSHAKE SELECTOR 1|Handshake error on Lightstreamer HTTPS Server: Broken pipe on 127.0.0.1:50427.
    18-Apr-14 10:48:55,611|DEBUG|ghtstreamerLogger.connections.s sl|LS/SSL HANDSHAKE SELECTOR 1|Handshake error on Lightstreamer HTTPS Server
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcherImpl.write0(Native Method) ~[na:1.7.0_55]
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher .java:47) ~[na:1.7.0_55]
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.jav a:93) ~[na:1.7.0_55]
    at sun.nio.ch.IOUtil.write(IOUtil.java:65) ~[na:1.7.0_55]
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelIm pl.java:487) ~[na:1.7.0_55]
    at com.lightstreamer.j.a.b.s.a(s.java) ~[lightstreamer.jar:na]
    at com.lightstreamer.j.a.b.s.a(s.java) ~[lightstreamer.jar:na]
    at com.lightstreamer.j.a.b.q.a(q.java) ~[lightstreamer.jar:na]
    at com.lightstreamer.j.a.q.a(q.java) ~[lightstreamer.jar:na]
    at com.lightstreamer.j.a.a.i.b(i.java) [lightstreamer.jar:na]
    at com.lightstreamer.j.a.a.x.a(x.java) [lightstreamer.jar:na]
    at com.lightstreamer.j.a.a.w.run(w.java) [lightstreamer.jar:na]



    ...But we still have the Broken Pipe exception unfortunately.

  5. #15
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    543
    This puzzles me a lot.

    I did some further test and I noticed that I get the "Broken pipe" when I do not respond positively to the request of the browser to continue despite the certificate is not reliable.

    When you load the page the browser asks you to confirm if you want to continue despite the certificate is not safe?
    Otherwise, if you had added the exception to the self-signed certificate in the past can you remove it from the browser's cache and try again?

    Finally, please can you call from the browser the homepage of your Lightstreamer server in https (https://localhost:443) ? What you get?

    Thank you.

  6. #16
    Some progress!

    Now there is no exceptions in the logs anymore. I have now removed all of the previous certificates and added them again by, navigating to https://localhost:4433 (the main site address) and also https://localhost:443 (the lightstreamer https address).

    When I navigate to https://localhost:443 I get the prompt to add the exception and when I confirm I I see the LS demo page.

    However, now I do not get any data updates, in the logs I have:

    18-Apr-14 17:30:15,596|INFO |LightstreamerLogger.init |main |Events pool size set by default at 8.
    18-Apr-14 17:30:15,605|INFO |LightstreamerLogger.init |main |Pump pool size set by default at 8.
    18-Apr-14 17:30:15,615|INFO |LightstreamerLogger.init |main |Lightstreamer on Java Virtual Machine: Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM, 24.55-b03, 1.7.0_55-b13 on Mac OS X
    18-Apr-14 17:30:15,615|INFO |LightstreamerLogger.init |main |Lightstreamer Server 5.1.1 build 1623.2 starting...
    18-Apr-14 17:30:15,890|DEBUG|ghtstreamerLogger.connections.s sl|main |Allowed protocols for socket Lightstreamer HTTPS Server: [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
    18-Apr-14 17:30:15,890|DEBUG|ghtstreamerLogger.connections.s sl|main |Allowed cipher suites for socket Lightstreamer HTTPS Server: [TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_DSS_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, TLS_ECDHE_RSA_WITH_RC4_128_SHA, SSL_RSA_WITH_RC4_128_SHA, TLS_ECDH_ECDSA_WITH_RC4_128_SHA, TLS_ECDH_RSA_WITH_RC4_128_SHA, TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_RC4_128_MD5, TLS_EMPTY_RENEGOTIATION_INFO_SCSV]
    18-Apr-14 17:30:15,893|INFO |LightstreamerLogger.init |main |TLS/SSL Server "Lightstreamer HTTPS Server" listening to *:443 ...
    18-Apr-14 17:30:15,894|INFO |LightstreamerLogger.init |main |Handshake pool size set by default at 1.
    18-Apr-14 17:30:15,895|INFO |LightstreamerLogger.init |main |Server "Lightstreamer HTTP Server" listening to *:8080 ...
    18-Apr-14 17:30:17,303|INFO |LightstreamerMonitorText |Timer-0 |Total threads = 138, Total heap = 257425408 (free = 203708936), Sessions = 0 (max = 0), New sessions = [+0, -0], Connections = 0 (max = 0), New connections = [+0, -0], In-pool threads = 47, Active threads = 0, Available threads = 47, Queued tasks = 0, Pool queue wait = 0, NIO write queue = 0, NIO write queue wait = 0, NIO write selectors = 8, NIO total selectors = 64, Subscribed items = 0, Inbound throughput = 0 updates/s (pre-filtered = 0), Outbound throughput = 0 updates/s (0 kbit/s, max = 0), Lost updates = 0 (total = 0), Total bytes sent = 0, Client messages throughput = 0 msgs/s (0 kbit/s, max = 0), Total messages handled = 0, Extra sleep = 0, Notify delay = 0
    18-Apr-14 17:31:11,827|DEBUG|ghtstreamerLogger.connections.s sl|LS/SSL HANDSHAKE SELECTOR 1|Handshake completed on socket Lightstreamer HTTPS Server; selected cipher suite TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA on "Lightstreamer HTTPS Server"
    18-Apr-14 17:31:11,829|DEBUG|ghtstreamerLogger.connections.s sl|LS/SSL HANDSHAKE SELECTOR 1|Handshake completed on socket Lightstreamer HTTPS Server; selected cipher suite TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA on "Lightstreamer HTTPS Server"
    18-Apr-14 17:31:11,875|INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 7 |Serving request: /lightstreamer/create_session.js --> LS_phase=5301&LS_cause=new.api&LS_polling=true&LS_ polling_millis=0&LS_idle_millis=0&LS_client_versio n=6.1&LS_adapter_set=NODE_HELLOWORLD&LS_container= lsc& on "Lightstreamer HTTPS Server" from 127.0.0.1:57772
    18-Apr-14 17:31:11,919|INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 7 |Starting new session: S2a00d65413385794T3111906 on "Lightstreamer HTTPS Server" from 127.0.0.1:57772
    18-Apr-14 17:31:11,933|INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 1 |Serving request: bind_session -> LS_session=S2a00d65413385794T3111906&LS_phase=5303 &LS_cause=loop1&LS_container=lsc& on "Lightstreamer HTTPS Server" from 127.0.0.1:57773
    18-Apr-14 17:31:11,935|INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 10 |Serving request: control -> LS_mode=MERGE&LS_id=greetings&LS_schema=message&LS _snapshot=true&LS_table=1&LS_req_phase=552&LS_win_ phase=99&LS_op=add&LS_session=S2a00d65413385794T31 11906& on "Lightstreamer HTTPS Server" from 127.0.0.1:57773
    18-Apr-14 17:31:11,935|INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 1 |Attaching session: S2a00d65413385794T3111906 on "Lightstreamer HTTPS Server" from 127.0.0.1:57773
    18-Apr-14 17:31:11,944|INFO |LightstreamerLogger.requests |SERVER POOLED THREAD 8 |Controlling session: S2a00d65413385794T3111906 on "Lightstreamer HTTPS Server" from 127.0.0.1:57773
    18-Apr-14 17:32:17,383|INFO |LightstreamerMonitorText |Timer-0 |Total threads = 140, Total heap = 257425408 (free = 229445480), Sessions = 1 (max = 1), New sessions = [+1, -0], Connections = 1 (max = 2), New connections = [+2, -1], In-pool threads = 47, Active threads = 0, Available threads = 47, Queued tasks = 0, Pool queue wait = 0, NIO write queue = 0, NIO write queue wait = 0, NIO write selectors = 8, NIO total selectors = 64, Subscribed items = 1, Inbound throughput = 0 updates/s (pre-filtered = 0), Outbound throughput = 0 updates/s (0.32 kbit/s, max = 1.12), Lost updates = 0 (total = 0), Total bytes sent = 2512, Client messages throughput = 0 msgs/s (0 kbit/s, max = 0), Total messages handled = 0, Extra sleep = 0, Notify delay = 0



    Thanks.

  7. #17
    Here is some additional info about the LS version I am using that may be helpful:

    18-Apr-14 17:30:15,202|INFO |LightstreamerLogger.init |main |Lightstreamer Server 5.1.1 build 1623.2
    18-Apr-14 17:30:15,226|WARN |LightstreamerLogger.init |main |Lightstreamer is running with a Demo license, which has a limit of 20 concurrent users and can be used for evaluation, development, and testing, but not for production. If you need to evaluate Lightstreamer without this user limit, or need any information on the other license types, please contact info@lightstreamer.com

  8. #18
    Its now working!

    Thanks a lot for your help, the final issue was something on our side that had crept in whilst we were trying to solve the issue.

    Thanks again.

  9. #19
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    543
    Ok, good news.
    Thank you for the feedback.

 

 

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:27 AM.