| Summary: | HotRod client throwing InvalidResponseException:: Invalid magic number. Expected 0xa1 and received 0x85 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Data Grid 6 | Reporter: | Martin Gencur <mgencur> | ||||||||
| Component: | Infinispan | Assignee: | Tristan Tarrant <ttarrant> | ||||||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | |||||||||
| Severity: | high | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | unspecified | CC: | galder.zamarreno, jdg-bugs, msurtani | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2011-11-25 14:18:11 UTC | Type: | Bug | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Attachments: |
|
||||||||||
|
Description
Martin Gencur
2011-11-07 14:29:47 UTC
Created attachment 532052 [details]
Server TRACE log
This is probably related to https://issues.jboss.org/browse/ISPN-1506 so Galder should now more what's going on. Created attachment 532053 [details]
HotRod client exception
ISPN-1506 is now closed and released in Infinispan 5.1.0.BETA4. Could you pls test this again? I tried a combination of HotRod client 5.1.0.BETA4 and EDG snapshot with Infinispan 5.1.0.BETA4 and the bug is still there. Does this mean that ISPN-1506 isn't fixed, or does this mean that this bug isn't related to ISPN-1506 after all? Hmm, I was not able to reproduce the bug with standalone infinispan 5.1.0.BETA4. I used my sample application to verify this: https://github.com/mgencur/edg-examples/tree/master/endpoints/hotrod-endpoint (there's a readme file in the location about how to run it) With EDG containing Infinispan 5.1.0.BETA4 I was getting the exception while with standalone infinispan I was not. I'll attach the config file for standalone infinspan (a config file for EDG is available directly in that example). Created attachment 532852 [details]
Sample config file hotrod-endpoint example for standalone ispn
Why isn't there a link to this Bugzilla issue in JIRA? Martin, if it's not working, it'd be very helpful to produce logs with TRACE on org.infinispan on both the client and the server, that might help speed up resolution :) The TRACE log from server is already attached, I'll provide also client TRACE log Also, I'm a bit surprised that these examples, and other tests/examples/...etc, are not included in the EDG codebase (https://github.com/infinispan/edg) as test or integrations tests that are run when EDG builds. This would reduce the turnaround time fixing issues like this. Martin, I meant TRACE logs having tested with BETA4 which is supposed to have fixed the issue :) Whenever there're messages like this, it's normally cos the server did not finish reading the request in an odd way. This is exceptional circumstances and the actual issue is in the server.log: 17:13:35,468 WARNING [org.jboss.netty.channel.DefaultChannelPipeline] (HotRodServerWorker-2-1) An exception was thrown by a user handler while handling an exception event ([id: 0x02916ab8, /127.0.0.1:58211 => /127.0.0.1:11222] EXCEPTION: java.lang.IllegalAccessError: tried to access class org.jboss.netty.handler.codec.replay.UnsafeDynamicChannelBuffer from class org.jboss.netty.handler.codec.replay.CustomReplayingDecoder): java.lang.NullPointerException at org.jboss.netty.handler.codec.replay.CustomReplayingDecoder.slimDownBuffer(CustomReplayingDecoder.java:178) [infinispan-server-core-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT] I actually spotted this already last week (http://community.jboss.org/message/634090) and I asked the guy to open a JIRA but don't think this was done, and being in the middle of JUDCon, forgot about it. The weird thing is the IllegalAccessError that did not appear in the forums. I'll address this asap. Thanks The root cause is https://issues.jboss.org/browse/ISPN-1520 - This affects all Netty based Infinispan servers Root cause fixed, alongside providing more meaningful errors to clients in these situations. Pull request sent and issue should be fixed in BETA5. Excelent. I'll try with BETA5 when it's released. |