Callback failing on first attempt

Hi All,

I am using a callback on my bridge to call into a .NET service I have hosted locally in a container. The issue I have is that the first callback after some time always fails. Subsequent callbacks then work, until what I’m guessing is the device goes back into sleep or something, and then the next request will fail.

The error I receive is:
Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Unexpected end of request content.

1 Like

Weirdly I changed my WebAPI to be written in Python/Flask and it works. I imagine .NET does some additional checks which was causing my issue.