Google-Edge-Cache: Invalid signed request
Error: 114
and on checking the logs I am getting the error legacy_signed_request_invalid, it’s very ambiguous and I have also verified the signature using the custom script and seems to be fine.
Media CDN returns an HTTP 403 error when clients attempt to connect using an IP address that isn’t included in the signed request. Please ensure all signature parameters are using a valid URL, the correct key name, and a properly encoded Base64 key. They must be grouped together otherwise, the values of the parameters will be case sensitive. You must also check the optional parameters; that may also lead to HTTP 403 error.
The following scenarios may lead to Media CDN rejecting clients with an HTTP 403 error:
Dual-stack (IPv4, IPv6) environments
Connection migration (WiFi to cellular, and cellular to WiFi)
Mobile networks that use Carrier Gateway NAT (CGNAT or CGN)