gRpc CANCELLED while debugging

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?


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 (or better, to a and enable a dev profile when running locally):