Closed bobjana closed 7 years ago
That's interesting. Judging by those logs, the rabbitmq client connection is dropping on the photon side. It will reconnect, but the operation in flight will fail. I would suggest we try two approaches.
First off, track down why photon is disconnecting. Second, we can put a retry mechanism in newton to enable resilience when errors happen (which they will at times in any scenario).
I'll run through these.
This still happens more than would be expected.
Photon server is running, rabbitMq as well so there is no env related reason why a client app shouldn't be able to persist an event to eventstore.
This seems to happen on relatively bigger payloads - Device.updateEndpointDetails
Captured the following logs which correspond around the same time (app +2hrs time diff)
Photon Logs:
Application logs: