I'm playing around with observe and I'm experiencing context cancellation when sending replies to the client. Since I'm running locally I did not expect there to be a deadline for observe notifications. I this the intended behavior and is there a way to configure this?
To reproduce this one can change the sleep time in the example code to something like 30 seconds. The server will then report an error on the second transmission.
I'm playing around with observe and I'm experiencing context cancellation when sending replies to the client. Since I'm running locally I did not expect there to be a deadline for observe notifications. I this the intended behavior and is there a way to configure this?
To reproduce this one can change the sleep time in the example code to something like 30 seconds. The server will then report an error on the second transmission.
Server log:
Client log:
EDIT 1
server.go:
client.go:
Setting
context.Background()
inAquireMessage
yields similar results, except that the second message is sent before the error is returned:server.go:
server log:
client log:
Packet capture: