gRpc CANCELLED while debugging

Hi,
Are there some settings to making debugging an Axon application easier?
When I’m on a breakpoint for a little while and step through code I receive the following error:
io.grpc.StatusRuntimeException: CANCELLED: HTTP/2 error code: CANCEL

Perhaps there is some configuration related to timeouts I can set?

Robert

Hi Robert,

as far as I know, grpc uses heartbeats to keep connections open. These heartbeats are sent by a specific thread, which may also be blocked when the debugger kicks in.
One thing you can try is to set the keep-alive-time to 0, which essentially disables keep-alive requests.
Add this to your application.properties (or better, to a application-dev.properties and enable a dev profile when running locally):
axon.axonserver.keep-alive-time=0

Cheers,