[JBoss JIRA] (ISPN-12334) Fix configdocs
by Pedro Ruivo (Jira)
Pedro Ruivo created ISPN-12334:
----------------------------------
Summary: Fix configdocs
Key: ISPN-12334
URL: https://issues.redhat.com/browse/ISPN-12334
Project: Infinispan
Issue Type: Bug
Components: Build
Affects Versions: 11.0.3.Final, 12.0.0.Dev03
Reporter: Pedro Ruivo
Assignee: Pedro Ruivo
Fix For: 11.0.4.Final, 12.0.0.Dev04
The locks and counters modules are missing from the configdocs HTML. Also, the JPA schema use {{${JpaStore.batchSize}}} which doesn't exist.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years
[JBoss JIRA] (ISPN-12309) Creating cache with invalid configuration leaves inconsistent state
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-12309?page=com.atlassian.jira.plugi... ]
Gustavo Fernandes updated ISPN-12309:
-------------------------------------
Description:
When a cache is created using the EmbeddedCacheManagerAdmin with a configuration that prevents the cache from starting, it will throw an error but will persist the cache nonetheless.
Further operations involving cache manager can throw exceptions, for example, {{Health.getHealth()}} since it tries to access the invalid cache that cannot be started
was:
When a cache is created using the EmbeddedCacheManagerAdmin with a configuration that prevents the cache from starting, it will throw an error but will persist the cache nonetheless.
Further operations involving cache manager can throw exceptions, for example, {{Health.getHealth()}} since it tries to access invalid stored configurations
> Creating cache with invalid configuration leaves inconsistent state
> -------------------------------------------------------------------
>
> Key: ISPN-12309
> URL: https://issues.redhat.com/browse/ISPN-12309
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Reporter: Katia Aresti
> Priority: Critical
>
> When a cache is created using the EmbeddedCacheManagerAdmin with a configuration that prevents the cache from starting, it will throw an error but will persist the cache nonetheless.
> Further operations involving cache manager can throw exceptions, for example, {{Health.getHealth()}} since it tries to access the invalid cache that cannot be started
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years
[JBoss JIRA] (ISPN-12322) GetAllCommandNodeCrashTest.test random failures
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12322?page=com.atlassian.jira.plugi... ]
Katia Aresti updated ISPN-12322:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> GetAllCommandNodeCrashTest.test random failures
> -----------------------------------------------
>
> Key: ISPN-12322
> URL: https://issues.redhat.com/browse/ISPN-12322
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Test Suite
> Affects Versions: 12.0.0.Dev03
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Critical
> Labels: testsuite_stability
> Fix For: 12.0.0.Dev04
>
>
> E.g. https://ci.infinispan.org/job/Infinispan/job/master/2329/testReport/org.i...
> {noformat}
> org.infinispan.test.TestException: java.util.concurrent.ExecutionException: java.lang.AssertionError: Expecting a org.infinispan.commands.remote.ClusteredGetAllCommand, got StateTransferCancelCommand{topologyId=11, segments={23-33 80-81 85-95 99-101 130-152 211-244}, cacheName=defaultcache}
> at org.infinispan.util.ControlledRpcManager.uncheckedGet(ControlledRpcManager.java:264)
> at org.infinispan.util.ControlledRpcManager.expectCommand(ControlledRpcManager.java:130)
> at org.infinispan.commands.GetAllCommandNodeCrashTest.test(GetAllCommandNodeCrashTest.java:72)
> at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: java.util.concurrent.ExecutionException: java.lang.AssertionError: Expecting a org.infinispan.commands.remote.ClusteredGetAllCommand, got StateTransferCancelCommand{topologyId=11, segments={23-33 80-81 85-95 99-101 130-152 211-244}, cacheName=defaultcache}
> at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
> at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2022)
> at org.infinispan.util.ControlledRpcManager.uncheckedGet(ControlledRpcManager.java:262)
> ... 25 more
> Caused by: java.lang.AssertionError: Expecting a org.infinispan.commands.remote.ClusteredGetAllCommand, got StateTransferCancelCommand{topologyId=11, segments={23-33 80-81 85-95 99-101 130-152 211-244}, cacheName=defaultcache}
> at org.infinispan.util.ControlledRpcManager.lambda$expectCommandAsync$1(ControlledRpcManager.java:171)
> at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642)
> at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
> at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
> at org.infinispan.util.ControlledRpcManager.performRequest(ControlledRpcManager.java:212)
> at org.infinispan.util.ControlledRpcManager.performSend(ControlledRpcManager.java:243)
> at org.infinispan.util.AbstractDelegatingRpcManager.sendTo(AbstractDelegatingRpcManager.java:98)
> at org.infinispan.statetransfer.InboundTransferTask.sendCancelCommand(InboundTransferTask.java:239)
> at org.infinispan.statetransfer.InboundTransferTask.cancelSegments(InboundTransferTask.java:204)
> at org.infinispan.statetransfer.StateConsumerImpl.cancelTransfers(StateConsumerImpl.java:1036)
> at org.infinispan.statetransfer.StateConsumerImpl$MockitoMock$455640147.cancelTransfers$accessor$4IxlNJs7(Unknown Source)
> at org.infinispan.statetransfer.StateConsumerImpl$MockitoMock$455640147$auxiliary$27syg0jr.call(Unknown Source)
> at org.mockito.internal.invocation.RealMethod$FromCallable$1.call(RealMethod.java:40)
> at org.mockito.internal.invocation.RealMethod$FromBehavior.invoke(RealMethod.java:62)
> at org.mockito.internal.invocation.InterceptedInvocation.callRealMethod(InterceptedInvocation.java:152)
> at org.mockito.internal.stubbing.answers.CallsRealMethods.answer(CallsRealMethods.java:43)
> at org.mockito.Answers.answer(Answers.java:100)
> at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:103)
> at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
> at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:35)
> at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:61)
> at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:49)
> at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptSuperCallable(MockMethodInterceptor.java:108)
> at org.infinispan.statetransfer.StateConsumerImpl$MockitoMock$455640147.cancelTransfers(Unknown Source)
> at org.infinispan.statetransfer.StateConsumerImpl.lambda$onTopologyUpdate$2(StateConsumerImpl.java:389)
> at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1106)
> at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2235)
> at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:143)
> at org.infinispan.statetransfer.StateConsumerImpl.onTopologyUpdate(StateConsumerImpl.java:351)
> at org.infinispan.statetransfer.StateConsumerImpl$MockitoMock$455640147.onTopologyUpdate$accessor$4IxlNJs7(Unknown Source)
> at org.infinispan.statetransfer.StateConsumerImpl$MockitoMock$455640147$auxiliary$mQdvDkF4.call(Unknown Source)
> at org.mockito.internal.invocation.RealMethod$FromCallable$1.call(RealMethod.java:40)
> at org.mockito.internal.invocation.RealMethod$FromBehavior.invoke(RealMethod.java:62)
> at org.mockito.internal.invocation.InterceptedInvocation.callRealMethod(InterceptedInvocation.java:152)
> at org.infinispan.commands.GetAllCommandNodeCrashTest.lambda$test$0(GetAllCommandNodeCrashTest.java:52)
> at org.mockito.internal.stubbing.StubbedInvocationMatcher.answer(StubbedInvocationMatcher.java:39)
> at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:96)
> at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
> at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:35)
> at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:61)
> at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:49)
> at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptSuperCallable(MockMethodInterceptor.java:108)
> at org.infinispan.statetransfer.StateConsumerImpl$MockitoMock$455640147.onTopologyUpdate(Unknown Source)
> at org.infinispan.statetransfer.StateTransferManagerImpl.updateProviderAndConsumer(StateTransferManagerImpl.java:207)
> at org.infinispan.statetransfer.StateTransferManagerImpl.lambda$doTopologyUpdate$0(StateTransferManagerImpl.java:194)
> at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1106)
> at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2235)
> at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:143)
> at org.infinispan.statetransfer.StateTransferManagerImpl.doTopologyUpdate(StateTransferManagerImpl.java:193)
> at org.infinispan.statetransfer.StateTransferManagerImpl.access$000(StateTransferManagerImpl.java:69)
> at org.infinispan.statetransfer.StateTransferManagerImpl$1.updateConsistentHash(StateTransferManagerImpl.java:124)
> at org.infinispan.topology.LocalTopologyManagerImpl.lambda$doHandleTopologyUpdate$12(LocalTopologyManagerImpl.java:398)
> at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1106)
> at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2235)
> at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:143)
> at org.infinispan.topology.LocalTopologyManagerImpl.doHandleTopologyUpdate(LocalTopologyManagerImpl.java:387)
> at org.infinispan.topology.LocalTopologyManagerImpl.lambda$handleTopologyUpdate$8(LocalTopologyManagerImpl.java:311)
> at org.infinispan.topology.LocalTopologyManagerImpl.lambda$orderOnCache$24(LocalTopologyManagerImpl.java:736)
> at org.infinispan.util.concurrent.ActionSequencer.safeNonBlockingCall(ActionSequencer.java:57)
> at org.infinispan.util.concurrent.ActionSequencer.access$400(ActionSequencer.java:32)
> at org.infinispan.util.concurrent.ActionSequencer$SequenceEntry.run(ActionSequencer.java:226)
> ... 3 more
> ... Removed 20 stack frames
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years
[JBoss JIRA] (ISPN-12333) Infinispan v9.4.18 is giving ISPN005003: Exception reported: org.infinispan.server.hotrod.InvalidMagicIdException when accessing Hotrod console at http://127.0.0.1:11222
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-12333?page=com.atlassian.jira.plugi... ]
Tristan Tarrant closed ISPN-12333.
----------------------------------
Resolution: Not a Bug
> Infinispan v9.4.18 is giving ISPN005003: Exception reported: org.infinispan.server.hotrod.InvalidMagicIdException when accessing Hotrod console at http://127.0.0.1:11222
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-12333
> URL: https://issues.redhat.com/browse/ISPN-12333
> Project: Infinispan
> Issue Type: Bug
> Components: Cross-Site Replication, Hot Rod
> Affects Versions: 9.4.18.Final
> Reporter: Jameel Khan
> Priority: Major
> Fix For: 11.0.1.Final
>
>
> I am trying to setup remote cache by externalising the Infinispan server from Keycloak using the Cross-Datacenter Replication Mode. I am following the Keycloak official documentation here
> https://www.keycloak.org/docs/latest/server_installation/#crossdc-mode
> As per the documentation, the Keycloak and Infinispan version being used as as follows (I am hoping these versions are compatible to each other since this information is coming from Keycloak’s official. site) -
> Keycloak Version - 11.0.2
> Infinispan Version - 9.4.18
> To my surprise, I have found a bug into Infinispan V9.4.18. Below exception is being constantly reported from infinispan server.
> I downloaded Infinispan server (version infinispan-server-9.4.18) from their official site https://downloads.jboss.org/infinispan/9.4.18.Final/infinispan-server-9.4...
> Without making any changes into any of the infinispan config file, when I boot up the Infinispan server, it starts without any issue but when I try to bring up the Hotrod console at http://127.0.0.1:11222
> (11222 is the port where hotrod listens on my localhost), it does not load. I get the issue as shown below :
> ¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 71¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 69¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 84¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 32¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 47¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 32¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 72¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 84¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 84¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 80¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 47¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 46¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 13¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 10¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 72¡�P�aorg.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 111¡�P�aorg.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 115¡�P�aorg.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 116¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 58¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 32¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 50¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 55¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 46¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 48¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 46¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 48¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 46¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 58¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 50¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id:
> While on the server’s console, the exception is as follows :
> 18:41:28,551 ERROR [org.infinispan.server.hotrod.BaseRequestProcessor] (HotRod-ServerIO-4-1) ISPN005003: Exception reported: org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 71
> at org.infinispan.server.hotrod.HotRodDecoder.switch0(HotRodDecoder.java:208)
> at org.infinispan.server.hotrod.HotRodDecoder.switch1_0(HotRodDecoder.java:153)
> at org.infinispan.server.hotrod.HotRodDecoder.decode(HotRodDecoder.java:143)
> at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:498)
> at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:437)
> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
> at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355)
> at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
> at org.infinispan.server.core.transport.StatsChannelHandler.channelRead(StatsChannelHandler.java:26)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
> at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355)
> at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
> at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
> at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
> at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
> at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
> at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
> at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
> at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.lang.Thread.run(Thread.java:748)
> 18:41:28,593 ERROR [org.infinispan.server.hotrod.BaseRequestProcessor] (HotRod-ServerIO-4-1) ISPN005003: Exception reported: org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 69
> at org.infinispan.server.hotrod.HotRodDecoder.switch0(HotRodDecoder.java:208)
> at org.infinispan.server.hotrod.HotRodDecoder.switch1_0(HotRodDecoder.java:153)
> I tried with multiple versions of Infinispan servers (e.g. 9.4.18, 9.4.20, 10.0.1, 11.0.3) but the Infinispan versions 9.4.x gives me the issue while 10.x.x and 11.x.x) does not and I can load the Hotrod console . without any problem (with versions 10.x.x and 11.x.x).
>
> Keycloak documentation I am following ( https://www.keycloak.org/docs/latest/server_installation/#crossdc-mode ) for integrating Keycloak with external remote Infinispan , is based on Infinispan version v9.4.18 which differs quite a bit on architectural front from versions v10.0.1 or v11.0.3
> I see one solution suggested by Redhat here https://access.redhat.com/solutions/3920921 around this issue which sounds like a hotrod client's protocol version issue (probably not being compatible with hotrod server etc) but in my case I am trying to load the hotrod server console thru browser. I don't have any hotrod client application per se), so the solution isn't of much use.
> Has any one ever come across or have any idea/pointers around the below infinispan issue i am facing and how to overcome this??
> Appreciate pointers/suggestions here.
>
> Thanks much
> Jameel
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years
[JBoss JIRA] (ISPN-12333) Infinispan v9.4.18 is giving ISPN005003: Exception reported: org.infinispan.server.hotrod.InvalidMagicIdException when accessing Hotrod console at http://127.0.0.1:11222
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-12333?page=com.atlassian.jira.plugi... ]
Tristan Tarrant commented on ISPN-12333:
----------------------------------------
Infinispan 10 and onwards uses a single-port design whereby you can access both Hot Rod and HTTP over the same port (11222).
Infinispan 9 and older are based on WildFly. The console is at port 9990.
> Infinispan v9.4.18 is giving ISPN005003: Exception reported: org.infinispan.server.hotrod.InvalidMagicIdException when accessing Hotrod console at http://127.0.0.1:11222
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-12333
> URL: https://issues.redhat.com/browse/ISPN-12333
> Project: Infinispan
> Issue Type: Bug
> Components: Cross-Site Replication, Hot Rod
> Affects Versions: 9.4.18.Final
> Reporter: Jameel Khan
> Priority: Major
> Fix For: 11.0.1.Final
>
>
> I am trying to setup remote cache by externalising the Infinispan server from Keycloak using the Cross-Datacenter Replication Mode. I am following the Keycloak official documentation here
> https://www.keycloak.org/docs/latest/server_installation/#crossdc-mode
> As per the documentation, the Keycloak and Infinispan version being used as as follows (I am hoping these versions are compatible to each other since this information is coming from Keycloak’s official. site) -
> Keycloak Version - 11.0.2
> Infinispan Version - 9.4.18
> To my surprise, I have found a bug into Infinispan V9.4.18. Below exception is being constantly reported from infinispan server.
> I downloaded Infinispan server (version infinispan-server-9.4.18) from their official site https://downloads.jboss.org/infinispan/9.4.18.Final/infinispan-server-9.4...
> Without making any changes into any of the infinispan config file, when I boot up the Infinispan server, it starts without any issue but when I try to bring up the Hotrod console at http://127.0.0.1:11222
> (11222 is the port where hotrod listens on my localhost), it does not load. I get the issue as shown below :
> ¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 71¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 69¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 84¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 32¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 47¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 32¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 72¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 84¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 84¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 80¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 47¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 46¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 13¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 10¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 72¡�P�aorg.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 111¡�P�aorg.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 115¡�P�aorg.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 116¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 58¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 32¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 50¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 55¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 46¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 48¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 46¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 48¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 46¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 58¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 50¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id:
> While on the server’s console, the exception is as follows :
> 18:41:28,551 ERROR [org.infinispan.server.hotrod.BaseRequestProcessor] (HotRod-ServerIO-4-1) ISPN005003: Exception reported: org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 71
> at org.infinispan.server.hotrod.HotRodDecoder.switch0(HotRodDecoder.java:208)
> at org.infinispan.server.hotrod.HotRodDecoder.switch1_0(HotRodDecoder.java:153)
> at org.infinispan.server.hotrod.HotRodDecoder.decode(HotRodDecoder.java:143)
> at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:498)
> at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:437)
> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
> at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355)
> at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
> at org.infinispan.server.core.transport.StatsChannelHandler.channelRead(StatsChannelHandler.java:26)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
> at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355)
> at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
> at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
> at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
> at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
> at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
> at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
> at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
> at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.lang.Thread.run(Thread.java:748)
> 18:41:28,593 ERROR [org.infinispan.server.hotrod.BaseRequestProcessor] (HotRod-ServerIO-4-1) ISPN005003: Exception reported: org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 69
> at org.infinispan.server.hotrod.HotRodDecoder.switch0(HotRodDecoder.java:208)
> at org.infinispan.server.hotrod.HotRodDecoder.switch1_0(HotRodDecoder.java:153)
> I tried with multiple versions of Infinispan servers (e.g. 9.4.18, 9.4.20, 10.0.1, 11.0.3) but the Infinispan versions 9.4.x gives me the issue while 10.x.x and 11.x.x) does not and I can load the Hotrod console . without any problem (with versions 10.x.x and 11.x.x).
>
> Keycloak documentation I am following ( https://www.keycloak.org/docs/latest/server_installation/#crossdc-mode ) for integrating Keycloak with external remote Infinispan , is based on Infinispan version v9.4.18 which differs quite a bit on architectural front from versions v10.0.1 or v11.0.3
> I see one solution suggested by Redhat here https://access.redhat.com/solutions/3920921 around this issue which sounds like a hotrod client's protocol version issue (probably not being compatible with hotrod server etc) but in my case I am trying to load the hotrod server console thru browser. I don't have any hotrod client application per se), so the solution isn't of much use.
> Has any one ever come across or have any idea/pointers around the below infinispan issue i am facing and how to overcome this??
> Appreciate pointers/suggestions here.
>
> Thanks much
> Jameel
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years
[JBoss JIRA] (ISPN-12333) Infinispan v9.4.18 is giving ISPN005003: Exception reported: org.infinispan.server.hotrod.InvalidMagicIdException when accessing Hotrod console at http://127.0.0.1:11222
by Jameel Khan (Jira)
[ https://issues.redhat.com/browse/ISPN-12333?page=com.atlassian.jira.plugi... ]
Jameel Khan updated ISPN-12333:
-------------------------------
Description:
I am trying to setup remote cache by externalising the Infinispan server from Keycloak using the Cross-Datacenter Replication Mode. I am following the Keycloak official documentation here
https://www.keycloak.org/docs/latest/server_installation/#crossdc-mode
As per the documentation, the Keycloak and Infinispan version being used as as follows (I am hoping these versions are compatible to each other since this information is coming from Keycloak’s official. site) -
Keycloak Version - 11.0.2
Infinispan Version - 9.4.18
To my surprise, I have found a bug into Infinispan V9.4.18. Below exception is being constantly reported from infinispan server.
I downloaded Infinispan server (version infinispan-server-9.4.18) from their official site https://downloads.jboss.org/infinispan/9.4.18.Final/infinispan-server-9.4...
Without making any changes into any of the infinispan config file, when I boot up the Infinispan server, it starts without any issue but when I try to bring up the Hotrod console at http://127.0.0.1:11222
(11222 is the port where hotrod listens on my localhost), it does not load. I get the issue as shown below :
¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 71¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 69¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 84¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 32¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 47¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 32¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 72¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 84¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 84¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 80¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 47¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 46¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 13¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 10¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 72¡�P�aorg.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 111¡�P�aorg.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 115¡�P�aorg.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 116¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 58¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 32¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 50¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 55¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 46¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 48¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 46¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 48¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 46¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 58¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 50¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id:
While on the server’s console, the exception is as follows :
18:41:28,551 ERROR [org.infinispan.server.hotrod.BaseRequestProcessor] (HotRod-ServerIO-4-1) ISPN005003: Exception reported: org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 71
at org.infinispan.server.hotrod.HotRodDecoder.switch0(HotRodDecoder.java:208)
at org.infinispan.server.hotrod.HotRodDecoder.switch1_0(HotRodDecoder.java:153)
at org.infinispan.server.hotrod.HotRodDecoder.decode(HotRodDecoder.java:143)
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:498)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:437)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355)
at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
at org.infinispan.server.core.transport.StatsChannelHandler.channelRead(StatsChannelHandler.java:26)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
18:41:28,593 ERROR [org.infinispan.server.hotrod.BaseRequestProcessor] (HotRod-ServerIO-4-1) ISPN005003: Exception reported: org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 69
at org.infinispan.server.hotrod.HotRodDecoder.switch0(HotRodDecoder.java:208)
at org.infinispan.server.hotrod.HotRodDecoder.switch1_0(HotRodDecoder.java:153)
I tried with multiple versions of Infinispan servers (e.g. 9.4.18, 9.4.20, 10.0.1, 11.0.3) but the Infinispan versions 9.4.x gives me the issue while 10.x.x and 11.x.x) does not and I can load the Hotrod console . without any problem (with versions 10.x.x and 11.x.x).
Keycloak documentation I am following ( https://www.keycloak.org/docs/latest/server_installation/#crossdc-mode ) for integrating Keycloak with external remote Infinispan , is based on Infinispan version v9.4.18 which differs quite a bit on architectural front from versions v10.0.1 or v11.0.3
I see one solution suggested by Redhat here https://access.redhat.com/solutions/3920921 around this issue which sounds like a hotrod client's protocol version issue (probably not being compatible with hotrod server etc) but in my case I am trying to load the hotrod server console thru browser. I don't have any hotrod client application per se), so the solution isn't of much use.
Has any one ever come across or have any idea/pointers around the below infinispan issue i am facing and how to overcome this??
Appreciate pointers/suggestions here.
Thanks much
Jameel
> Infinispan v9.4.18 is giving ISPN005003: Exception reported: org.infinispan.server.hotrod.InvalidMagicIdException when accessing Hotrod console at http://127.0.0.1:11222
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-12333
> URL: https://issues.redhat.com/browse/ISPN-12333
> Project: Infinispan
> Issue Type: Bug
> Components: Cross-Site Replication, Hot Rod
> Affects Versions: 9.4.18.Final
> Reporter: Jameel Khan
> Priority: Major
> Fix For: 11.0.1.Final
>
>
> I am trying to setup remote cache by externalising the Infinispan server from Keycloak using the Cross-Datacenter Replication Mode. I am following the Keycloak official documentation here
> https://www.keycloak.org/docs/latest/server_installation/#crossdc-mode
> As per the documentation, the Keycloak and Infinispan version being used as as follows (I am hoping these versions are compatible to each other since this information is coming from Keycloak’s official. site) -
> Keycloak Version - 11.0.2
> Infinispan Version - 9.4.18
> To my surprise, I have found a bug into Infinispan V9.4.18. Below exception is being constantly reported from infinispan server.
> I downloaded Infinispan server (version infinispan-server-9.4.18) from their official site https://downloads.jboss.org/infinispan/9.4.18.Final/infinispan-server-9.4...
> Without making any changes into any of the infinispan config file, when I boot up the Infinispan server, it starts without any issue but when I try to bring up the Hotrod console at http://127.0.0.1:11222
> (11222 is the port where hotrod listens on my localhost), it does not load. I get the issue as shown below :
> ¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 71¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 69¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 84¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 32¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 47¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 32¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 72¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 84¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 84¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 80¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 47¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 46¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 13¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 10¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 72¡�P�aorg.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 111¡�P�aorg.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 115¡�P�aorg.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 116¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 58¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 32¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 50¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 55¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 46¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 48¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 46¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 48¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 46¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 58¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 49¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 50¡�P�`org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id:
> While on the server’s console, the exception is as follows :
> 18:41:28,551 ERROR [org.infinispan.server.hotrod.BaseRequestProcessor] (HotRod-ServerIO-4-1) ISPN005003: Exception reported: org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 71
> at org.infinispan.server.hotrod.HotRodDecoder.switch0(HotRodDecoder.java:208)
> at org.infinispan.server.hotrod.HotRodDecoder.switch1_0(HotRodDecoder.java:153)
> at org.infinispan.server.hotrod.HotRodDecoder.decode(HotRodDecoder.java:143)
> at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:498)
> at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:437)
> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
> at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355)
> at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
> at org.infinispan.server.core.transport.StatsChannelHandler.channelRead(StatsChannelHandler.java:26)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
> at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355)
> at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
> at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
> at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
> at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
> at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
> at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
> at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
> at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.lang.Thread.run(Thread.java:748)
> 18:41:28,593 ERROR [org.infinispan.server.hotrod.BaseRequestProcessor] (HotRod-ServerIO-4-1) ISPN005003: Exception reported: org.infinispan.server.hotrod.InvalidMagicIdException: Error reading magic byte or message id: 69
> at org.infinispan.server.hotrod.HotRodDecoder.switch0(HotRodDecoder.java:208)
> at org.infinispan.server.hotrod.HotRodDecoder.switch1_0(HotRodDecoder.java:153)
> I tried with multiple versions of Infinispan servers (e.g. 9.4.18, 9.4.20, 10.0.1, 11.0.3) but the Infinispan versions 9.4.x gives me the issue while 10.x.x and 11.x.x) does not and I can load the Hotrod console . without any problem (with versions 10.x.x and 11.x.x).
>
> Keycloak documentation I am following ( https://www.keycloak.org/docs/latest/server_installation/#crossdc-mode ) for integrating Keycloak with external remote Infinispan , is based on Infinispan version v9.4.18 which differs quite a bit on architectural front from versions v10.0.1 or v11.0.3
> I see one solution suggested by Redhat here https://access.redhat.com/solutions/3920921 around this issue which sounds like a hotrod client's protocol version issue (probably not being compatible with hotrod server etc) but in my case I am trying to load the hotrod server console thru browser. I don't have any hotrod client application per se), so the solution isn't of much use.
> Has any one ever come across or have any idea/pointers around the below infinispan issue i am facing and how to overcome this??
> Appreciate pointers/suggestions here.
>
> Thanks much
> Jameel
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years