Errors when sending HTTP requestsCompleted
We have configured to send HTTP requests (https://support.networkoptix.com/hc/en-us/articles/4412098842135-How-to-Use-Do-HTTP-Requests) to a URL upon motion detected on a camera, but we're seeing errors like this on the logs (third-party url masked for privacy):
2022-07-07 09:26:09.688 1378 WARNING QMessageLogContext(0x1a33aa70ef8): Failed to execute HTTP action for url *** osErrorCode: 10054 HTTP result: 200 message: ""
We just send a GET request and we pass an ID via querystring. The third-party is receiving the requests successfully and responding with a success code 200, so what's the reason for the error message?
Are we doing something wrong? Is there a way to prevent that error?
Could you please enable DEBUG logging on the mediaserver and show me debug log? DEBUG log will include more data and will help us to understand the issue.
You can follow step from this article to collect and enable DEBUG logging on your server.
Thanks Anton, unfortunately the system that was getting those error messages belongs to a customer and they decided to not to go that route.
I also thought it could be an issue with GET vs POST requests, but I confirmed that the endpoint support both.
Anyway, I'll keep this in mind if this reoccurs. Will use these instructions to get more detailed logs and I'll open another ticket with more details if that's the case.
Please sign in to leave a comment.