Maximys opened a new issue, #11958:
URL: https://github.com/apache/ignite/issues/11958

   I tried to figure out how to use Apache Ignite with a .NET application. I 
created a solution for this 
[here](https://github.com/Maximys/reports/tree/dev/HTC/Redis/src/RedisForDummies).
 But for some reason, when I try to get data from Apache Ignite , I get the 
following error:
   ```
   Apache.Ignite.IgniteClientConnectionException
     HResult=0x80131500
     Message=Failed to connect to endpoint: 172.18.0.3:47100
     Source=Apache.Ignite
     StackTrace:
      at Apache.Ignite.Internal.ClientSocket.<ConnectAsync>d__26.MoveNext()
      at 
Apache.Ignite.Internal.ClientFailoverSocket.<ConnectAsync>d__38.MoveNext()
      at System.Threading.Tasks.ValueTask`1.get_Result() in 
/_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/ValueTask.cs:line
 812
      at 
Apache.Ignite.Internal.ClientFailoverSocket.<GetNextSocketAsync>d__36.MoveNext()
      at System.Threading.Tasks.ValueTask`1.get_Result() in 
/_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/ValueTask.cs:line
 812
      at 
Apache.Ignite.Internal.ClientFailoverSocket.<ConnectAsync>d__24.MoveNext()
      at Apache.Ignite.IgniteClient.<StartAsync>d__0.MoveNext()
      at Apache.Ignite.IgniteClientGroup.<CreateClientAsync>d__14.MoveNext()
      at Apache.Ignite.IgniteClientGroup.<GetIgniteAsync>d__10.MoveNext()
      at System.Threading.Tasks.ValueTask`1.get_Result() in 
/_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/ValueTask.cs:line
 812
      at 
Apache.Extensions.Caching.Ignite.IgniteDistributedCache.<GetViewAsync>d__20.MoveNext()
      at 
Apache.Extensions.Caching.Ignite.IgniteDistributedCache.<GetAsync>d__10.MoveNext()
      at 
Microsoft.Extensions.Caching.Distributed.DistributedCacheExtensions.<GetStringAsync>d__7.MoveNext()
      at 
RedisForDummies.Infrastructure.Providers.Counters.CounterService.<GetAsync>d__7.MoveNext()
 in 
D:\repos\reports\HTC\Redis\src\RedisForDummies\RedisForDummies.Infrastructure\Providers\Counters\CounterService.cs:line
 38
   
     This exception was originally thrown at this call stack:
       [External Code]
   
   Inner Exception 1:
   IgniteClientConnectionException: Invalid magic bytes returned from the 
server: FF-FF-57-86-00-00-00-00-00-00-00-00-00-00-00-00
   ```
   
   In the logs of the ignite_instance container, I see the following messages:
   ```
   2025-03-21 15:36:45 WARNING: package jdk.internal.access not in java.base
   2025-03-21 15:36:45 WARNING: An illegal reflective access operation has 
occurred
   2025-03-21 15:36:45 WARNING: Illegal reflective access by 
org.apache.ignite.internal.util.GridUnsafe$2 
(file:/opt/ignite/apache-ignite/libs/ignite-core-2.17.0.jar) to field 
java.nio.Buffer.address
   2025-03-21 15:36:45 WARNING: Please consider reporting this to the 
maintainers of org.apache.ignite.internal.util.GridUnsafe$2
   ```
   Could you please tell me what I'm doing wrong?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to