502 Error When Accessing a Resource
When accessing a CDN resource, the 502 Bad Gateway error occurs.
This error means that the CDN server could not get a correct response from your origin.
- Check the availability of the origin from the internet. Make sure that the origin does not restrict access from the IP addresses of the VK Cloud CDN servers. Contact technical support to get the actual list of IP addresses.
- Make sure that the correct IP address or origin domain is specified in the CDN settings.
- Check the Host header settings (it must match what your web server expects).
- Check the firewall on the origin.
If the problem persists, contact technical support.
Was this article helpful?