Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-10490

camel-jetty9 with https does not work on IBM java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • fuse-7.3
    • Camel
    • None
    • Fuse 7.5 Sprint 52 - Bug fix

      Run attached reproducer on IBM java. You will see following output:

      019-04-12 02:37:53.183  WARN 890 --- [           main] o.a.c.c.jetty.JettyHttpComponent         : You use localhost interface! It means that no external connections will be available. Don't you want to use 0.0.0.0 instead (all network interfaces)? jetty:https://localhost:8089/sslContextParameters
      2019-04-12 02:37:53.205  INFO 890 --- [           main] org.eclipse.jetty.server.Server          : jetty-9.4.12.v20180830; built: 2018-08-30T13:59:14.071Z; git: 27208684755d94a92186989f695db2d7b21ebc51; jvm 8.0.5.31 - pxa6480sr5fp31-20190311_03(SR5 FP31)
      2019-04-12 02:37:53.228  INFO 890 --- [           main] o.e.jetty.server.handler.ContextHandler  : Started o.e.j.s.ServletContextHandler@18bccb0a{/,null,AVAILABLE}
      2019-04-12 02:37:53.234  WARN 890 --- [           main] o.e.jetty.util.ssl.SslContextFactory     : No supported ciphers from [SSL_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, SSL_ECDHE_RSA_WITH_AES_256_CBC_SHA384, SSL_RSA_WITH_AES_256_CBC_SHA256, SSL_ECDH_ECDSA_WITH_AES_256_CBC_SHA384, SSL_ECDH_RSA_WITH_AES_256_CBC_SHA384, SSL_DHE_RSA_WITH_AES_256_CBC_SHA256, SSL_DHE_DSS_WITH_AES_256_CBC_SHA256, SSL_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, SSL_ECDHE_RSA_WITH_AES_256_CBC_SHA, SSL_RSA_WITH_AES_256_CBC_SHA, SSL_ECDH_ECDSA_WITH_AES_256_CBC_SHA, SSL_ECDH_RSA_WITH_AES_256_CBC_SHA, SSL_DHE_RSA_WITH_AES_256_CBC_SHA, SSL_DHE_DSS_WITH_AES_256_CBC_SHA, SSL_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, SSL_ECDHE_RSA_WITH_AES_128_CBC_SHA256, SSL_RSA_WITH_AES_128_CBC_SHA256, SSL_ECDH_ECDSA_WITH_AES_128_CBC_SHA256, SSL_ECDH_RSA_WITH_AES_128_CBC_SHA256, SSL_DHE_RSA_WITH_AES_128_CBC_SHA256, SSL_DHE_DSS_WITH_AES_128_CBC_SHA256, SSL_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, SSL_ECDHE_RSA_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_AES_128_CBC_SHA, SSL_ECDH_ECDSA_WITH_AES_128_CBC_SHA, SSL_ECDH_RSA_WITH_AES_128_CBC_SHA, SSL_DHE_RSA_WITH_AES_128_CBC_SHA, SSL_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, SSL_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, SSL_ECDHE_RSA_WITH_AES_256_GCM_SHA384, SSL_RSA_WITH_AES_256_GCM_SHA384, SSL_ECDH_ECDSA_WITH_AES_256_GCM_SHA384, SSL_ECDH_RSA_WITH_AES_256_GCM_SHA384, SSL_DHE_DSS_WITH_AES_256_GCM_SHA384, SSL_DHE_RSA_WITH_AES_256_GCM_SHA384, SSL_ECDHE_RSA_WITH_AES_128_GCM_SHA256, SSL_RSA_WITH_AES_128_GCM_SHA256, SSL_ECDH_ECDSA_WITH_AES_128_GCM_SHA256, SSL_ECDH_RSA_WITH_AES_128_GCM_SHA256, SSL_DHE_RSA_WITH_AES_128_GCM_SHA256, SSL_DHE_DSS_WITH_AES_128_GCM_SHA256]
      2019-04-12 02:37:53.239  INFO 890 --- [           main] o.e.jetty.server.AbstractConnector       : Started ServerConnector@a7224134{ssl,[ssl, http/1.1]}{localhost:8089}
      2019-04-12 02:37:53.239  INFO 890 --- [           main] org.eclipse.jetty.server.Server          : Started @12301ms
      2019-04-12 02:37:53.242  INFO 890 --- [           main] o.a.camel.spring.SpringCamelContext      : Route: route1 started and consuming from: jetty:https://localhost:8089/sslContextParameters
      2019-04-12 02:37:53.243  INFO 890 --- [           main] o.a.camel.spring.SpringCamelContext      : Route: route2 started and consuming from: timer://x
      2019-04-12 02:37:53.244  INFO 890 --- [           main] o.a.camel.spring.SpringCamelContext      : Total 2 routes, of which 2 are started
      2019-04-12 02:37:53.245  INFO 890 --- [           main] o.a.camel.spring.SpringCamelContext      : Apache Camel 2.21.0.fuse-730074-redhat-00001 (CamelContext: camel-1) started in 1.181 seconds
      2019-04-12 02:37:53.249  INFO 890 --- [           main] o.a.c.c.s.reproducer.Application         : Started Application in 4.586 seconds (JVM running for 12.311)
      2019-04-12 02:37:54.386  WARN 890 --- [(0x3b4b55b7)-31] o.a.camel.component.timer.TimerConsumer  : Error processing exchange. Exchange[ID-jbouska-test-1555051070648-0-1]. Caused by: [org.apache.camel.CamelExchangeException - JettyClient failed cause by: HttpConnectionOverHTTP@b0d3c6b7::DecryptedEndPoint@ee7200d8{localhost/127.0.0.1:8089<->/127.0.0.1:37926,CLOSED,fill=-,flush=W,to=28/0}. Exchange[ID-jbouska-test-1555051070648-0-1]. Caused by: [java.io.EOFException - HttpConnectionOverHTTP@b0d3c6b7::DecryptedEndPoint@ee7200d8{localhost/127.0.0.1:8089<->/127.0.0.1:37926,CLOSED,fill=-,flush=W,to=28/0}]]
      
      org.apache.camel.CamelExchangeException: JettyClient failed cause by: HttpConnectionOverHTTP@b0d3c6b7::DecryptedEndPoint@ee7200d8{localhost/127.0.0.1:8089<->/127.0.0.1:37926,CLOSED,fill=-,flush=W,to=28/0}. Exchange[ID-jbouska-test-1555051070648-0-1]. Caused by: [java.io.EOFException - HttpConnectionOverHTTP@b0d3c6b7::DecryptedEndPoint@ee7200d8{localhost/127.0.0.1:8089<->/127.0.0.1:37926,CLOSED,fill=-,flush=W,to=28/0}]
      	at org.apache.camel.component.jetty9.JettyContentExchange9.doTaskCompleted(JettyContentExchange9.java:164) [camel-jetty9-2.21.0.fuse-730074-redhat-00001.jar:2.21.0.fuse-730074-redhat-00001]
      	at org.apache.camel.component.jetty9.JettyContentExchange9.onConnectionFailed(JettyContentExchange9.java:130) [camel-jetty9-2.21.0.fuse-730074-redhat-00001.jar:2.21.0.fuse-730074-redhat-00001]
      	at org.apache.camel.component.jetty9.JettyContentExchange9$1.onFailure(JettyContentExchange9.java:225) [camel-jetty9-2.21.0.fuse-730074-redhat-00001.jar:2.21.0.fuse-730074-redhat-00001]
      	at org.eclipse.jetty.client.RequestNotifier.notifyFailure(RequestNotifier.java:253) [jetty-client-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.client.RequestNotifier.notifyFailure(RequestNotifier.java:239) [jetty-client-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.client.HttpSender.abort(HttpSender.java:559) [jetty-client-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.client.HttpChannel.abort(HttpChannel.java:145) [jetty-client-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.client.HttpExchange.abort(HttpExchange.java:257) [jetty-client-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.client.HttpConversation.abort(HttpConversation.java:141) [jetty-client-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.client.HttpRequest.abort(HttpRequest.java:767) [jetty-client-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.abort(HttpConnectionOverHTTP.java:204) [jetty-client-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.close(HttpConnectionOverHTTP.java:190) [jetty-client-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.failAndClose(HttpReceiverOverHTTP.java:370) [jetty-client-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.earlyEOF(HttpReceiverOverHTTP.java:338) [jetty-client-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1551) [jetty-http-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.shutdown(HttpReceiverOverHTTP.java:209) [jetty-client-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process(HttpReceiverOverHTTP.java:147) [jetty-client-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive(HttpReceiverOverHTTP.java:73) [jetty-client-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.client.http.HttpChannelOverHTTP.receive(HttpChannelOverHTTP.java:133) [jetty-client-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.onFillable(HttpConnectionOverHTTP.java:155) [jetty-client-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) [jetty-io-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [jetty-io-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:411) [jetty-io-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:305) [jetty-io-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:159) [jetty-io-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [jetty-io-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) [jetty-io-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) [jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) [jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830]
      	at java.lang.Thread.run(Thread.java:812) [na:2.9 (03-06-2019)]
      Caused by: java.io.EOFException: HttpConnectionOverHTTP@b0d3c6b7::DecryptedEndPoint@ee7200d8{localhost/127.0.0.1:8089<->/127.0.0.1:37926,CLOSED,fill=-,flush=W,to=28/0}
      	... 17 common frames omitted
      

            jondruse@redhat.com Jiri Ondrusek
            jbouska@redhat.com Jan Bouska
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: