Connecting to AxonServer node [192.168.99.100:8124] failed: INTERNAL: Panic! This is a bug

149
September 01, 2021, at 2:30 PM

I use the axon server as a remote server in spring boot. not in the localhost. but when the spring boot application connects to the server it fails and show the following error.

Connecting to AxonServer node [192.168.99.100:8124] failed: INTERNAL: Panic! This is a bug!
Failed to get connection to AxonServer. Scheduling a reconnect in 2000ms
[Channel<29>: (192.168.99.100:8124)] Uncaught exception in the SynchronizationContext. Panic!
java.lang.NoClassDefFoundError: Could not initialize class io.grpc.netty.Utils$ByteBufAllocatorPreferDirectHolder
    at io.grpc.netty.Utils.getByteBufAllocator(Utils.java:140) ~[grpc-netty-1.36.1.jar:1.36.1]
    at io.grpc.netty.NettyClientTransport.start(NettyClientTransport.java:245) ~[grpc-netty-1.36.1.jar:1.36.1]
    at io.grpc.internal.ForwardingConnectionClientTransport.start(ForwardingConnectionClientTransport.java:33) ~[grpc-core-1.36.1.jar:1.36.1]
    at io.grpc.internal.ForwardingConnectionClientTransport.start(ForwardingConnectionClientTransport.java:33) ~[grpc-core-1.36.1.jar:1.36.1]
    at io.grpc.internal.InternalSubchannel.startNewTransport(InternalSubchannel.java:258) ~[grpc-core-1.36.1.jar:1.36.1]
    at io.grpc.internal.InternalSubchannel.access$400(InternalSubchannel.java:65) ~[grpc-core-1.36.1.jar:1.36.1]
    at io.grpc.internal.InternalSubchannel$2.run(InternalSubchannel.java:200) ~[grpc-core-1.36.1.jar:1.36.1]
    at io.grpc.SynchronizationContext.drain(SynchronizationContext.java:95) ~[grpc-api-1.36.1.jar:1.36.1]
    at io.grpc.SynchronizationContext.execute(SynchronizationContext.java:127) ~[grpc-api-1.36.1.jar:1.36.1]
    at io.grpc.internal.ManagedChannelImpl$NameResolverListener.onResult(ManagedChannelImpl.java:1815) ~[grpc-core-1.36.1.jar:1.36.1]
    at io.grpc.internal.DnsNameResolver$Resolve.run(DnsNameResolver.java:333) ~[grpc-core-1.36.1.jar:1.36.1]
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]
    at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]

application.yml

axon:
  axonserver:
    servers: 192.168.99.100:8124
Answer 1

it looks like your Spring Boot app misses some dependencies. Perhaps you could include the Axon Framework BOM or use the Axon Initializr? That should make sure you have everything configured as needed.

Rent Charter Buses Company
READ ALSO
Keyring apparently not installed correctly with pip macos

Keyring apparently not installed correctly with pip macos

I want to use the Python package keyring to avoid exposing passwords in my Python scriptsAccording to what I've read, all you need to do is pip install keyring and then start storing and retrieving credentials

157
Jetpack Compose transparent NavBackStackEntry

Jetpack Compose transparent NavBackStackEntry

When I use Compose Navigation library, even if I set my root view and NavHost to have transparent background color, I see white background

143
How do I make my bot automatically create the channels and roles required for my bot to work as soon as it joins a server?

How do I make my bot automatically create the channels and roles required for my bot to work as soon as it joins a server?

So I do know how to make my bot create a role and a channelBut what is the event called when my bot is added to a server? thats all I want to know (the event name when my bot joins a server) I tried searching up in the documentations of discord

144