Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-5881

[Operator] Docs should state that Route connections via Hot Rod are not supported without TLS

XMLWordPrintable

      In order to connect to an Openshift Route via Hot Rod it's necessary for Encryption to be enabled as we rely on TLS and SNI to correctly forward requests to the server pods. Without TLS the user will encounter an error such as:

      Caused by: org.infinispan.client.hotrod.exceptions.TransportException: ISPN004077: Closing channel [id: 0x993ed821, L:/192.168.130.1:59290 - R:infinispan-test-external-dgtest.apps-crc.testing/192.168.130.11:80] due to error in unknown operation.
          at org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder.exceptionCaught(HeaderDecoder.java:208) ~[infinispan-client-hotrod-13.0.10.Final-redhat-00001.jar:13.0.10.Final-redhat-00001]
          ... 20 common frames omitted
      Caused by: io.netty.handler.codec.DecoderException: org.infinispan.client.hotrod.exceptions.InvalidResponseException:: ISPN004003: Invalid magic number. Expected 0xa1 and received 0x48
          at org.infinispan.client.hotrod.impl.transport.netty.HintedReplayingDecoder.callDecode(HintedReplayingDecoder.java:125) ~[infinispan-client-hotrod-13.0.10.Final-redhat-00001.jar:13.0.10.Final-redhat-00001]
          at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279) ~[netty-codec-4.1.79.Final.jar:4.1.79.Final]
          at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.79.Final.jar:4.1.79.Final]
          ... 18 common frames omitted
      Caused by: org.infinispan.client.hotrod.exceptions.InvalidResponseException: ISPN004003: Invalid magic number. Expected 0xa1 and received 0x48
          at org.infinispan.client.hotrod.impl.protocol.Codec20.readMessageId(Codec20.java:146) ~[infinispan-client-hotrod-13.0.10.Final-redhat-00001.jar:13.0.10.Final-redhat-00001]
          at org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder.decode(HeaderDecoder.java:85) ~[infinispan-client-hotrod-13.0.10.Final-redhat-00001.jar:13.0.10.Final-redhat-00001]
          at org.infinispan.client.hotrod.impl.transport.netty.HintedReplayingDecoder.callDecode(HintedReplayingDecoder.java:94) ~[infinispan-client-hotrod-13.0.10.Final-redhat-00001.jar:13.0.10.Final-redhat-00001]
          ... 20 common frames omitted
      

      We should add a note to the following section of the docs so the user is aware of this limitation.

              dvagnero@redhat.com Dominika Borges
              remerson@redhat.com Ryan Emerson
              Pavel Drobek Pavel Drobek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: