Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-2677

Infinispan extension is throwing a `ClosedChannelException` at start time when running with Infinispan 14

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Blocker Blocker
    • None
    • 2.13.3.ER3
    • team/eng
    • None
    • False
    • None
    • False
    • Hide
      git clone --branch poc_infispan_14 git@github.com:pjgg/quarkus-test-suite.git
      cd quarkus-test-suite
      
      mvn clean verify -Dall-modules -pl messaging/infinispan-grpc-kafka -Dit.test=InfinispanKafkaIT 
      Show
      git clone --branch poc_infispan_14 git@github.com:pjgg/quarkus-test-suite.git cd quarkus-test-suite mvn clean verify -Dall-modules -pl messaging/infinispan-grpc-kafka -Dit.test=InfinispanKafkaIT
    • ---

      Works over Infinispan 13.0

      After upgrade Infinispan to version 14.0 I am not able to start a Quarkus app with infinispan extension due to a Infinispan error

      Caused by: org.infinispan.commons.configuration.io.ConfigurationReaderException: Unexpected element 'endpoints' encountered[30,1] 

      If I remove the "endpoints" configuration property then I am getting the following error:

      09:55:54,111 INFO  [app] 09:55:51,499 ISPN004007: Exception encountered. Retry 10 out of 10: org.infinispan.client.hotrod.exceptions.TransportException:: java.nio.channels.ClosedChannelException
      09:55:54,111 INFO  [app]        at org.infinispan.client.hotrod.impl.transport.netty.ActivationHandler.exceptionCaught(ActivationHandler.java:52)
      09:55:54,111 INFO  [app]        at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:346)
      09:55:54,111 INFO  [app]        at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:325)
      09:55:54,111 INFO  [app]        at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:317)
      09:55:54,111 INFO  [app]        at org.infinispan.client.hotrod.impl.transport.netty.SslHandshakeExceptionHandler.userEventTriggered(SslHandshakeExceptionHandler.java:17)
      09:55:54,112 INFO  [app]        at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:400)
      09:55:54,112 INFO  [app]        at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:376)
      09:55:54,112 INFO  [app]        at io.netty.channel.AbstractChannelHandlerContext.fireUserEventTriggered(AbstractChannelHandlerContext.java:368)
      09:55:54,112 INFO  [app]        at io.netty.handler.ssl.SslUtils.handleHandshakeFailure(SslUtils.java:443)
      09:55:54,112 INFO  [app]        at io.netty.handler.ssl.SslHandler.setHandshakeFailure(SslHandler.java:1884)
      09:55:54,112 INFO  [app]        at io.netty.handler.ssl.SslHandler.channelInactive(SslHandler.java:1068)
      09:55:54,112 INFO  [app]        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:305)
      09:55:54,112 INFO  [app]        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:281)
      09:55:54,112 INFO  [app]        at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:274)
      09:55:54,113 INFO  [app]        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1405)
      09:55:54,113 INFO  [app]        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:301)
      09:55:54,113 INFO  [app]        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:281)
      09:55:54,113 INFO  [app]        at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:901)
      09:55:54,113 INFO  [app]        at io.netty.channel.AbstractChannel$AbstractUnsafe$7.run(AbstractChannel.java:813)
      09:55:54,113 INFO  [app]        at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174)
      09:55:54,113 INFO  [app]        at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167)
      09:55:54,113 INFO  [app]        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
      09:55:54,113 INFO  [app]        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:403)
      09:55:54,114 INFO  [app]        at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
      09:55:54,114 INFO  [app]        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
      09:55:54,114 INFO  [app]        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      09:55:54,114 INFO  [app]        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      09:55:54,114 INFO  [app]        at java.base/java.lang.Thread.run(Thread.java:833)
      09:55:54,114 INFO  [app] Caused by: java.nio.channels.ClosedChannelException
      09:55:54,114 INFO  [app]        at io.netty.handler.ssl.SslHandler.channelInactive(SslHandler.java:1065)
       
      io.netty.handler.ssl.SslHandler.channelInactive(SslHandler.java:1065)
      

      Note that the config file that we were using on Infinispan 13.0 is not valid on 14.0 and we had to rebuild the config from scratch, based on this documentation: https://infinispan.org/docs/14.0.x/titles/security/security.html#configuring-encryption

       

       

              karestig@redhat.com Katia Aresti
              rhn-support-pagonzal Pablo Gonzalez Granados (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: