I have:
My server and my home webcam. I want to perform requests from the server to the camera and copy all video files. The ISP at home is not letting traffic through on certain Traceroute for some reason. A Timeout error occurs. If I reboot the router at home and in case the traceroute path changes, there is no problem with the connection. Of course constant reboots do not suit me, so I wanted to solve the issue by proxying the traffic.
Receiving video on the Chinese Dahua camera is done in 3 steps:
- Receiving the id of the request.
- Setting video search parameters (date from and date to)
- Getting the list of videos
At the moment I have a “normal” trace and requests from the server are executed. I added my domain to cloudflare and in DNS specified the ip address of my camera. The first query runs without error (getting the ID), but the second query returns an error “Error Invalid Authority!” for some reason.
I can’t choose another authorization method (for example Basic). Only Digest is available to me. It seems to me that the problem is in the authorization method.
I tried to change all the settings that were available to me in Cloudflare. The only setting that cleared the error “Error Invalid Authority!” - was to disable proxying. Once I reverted back to my native ip, there was no error.
Maybe you can suggest some settings to solve this problem?