cdn-proxy
cdn-proxy copied to clipboard
Setup fails on IndexError
Currently the PyPi version is not the latest, to fix this try installing/updating directly from the GitHub repo:
pip install -U git+https://github.com/RyanJarv/cdn-proxy.git@main
This was fixed in https://github.com/RyanJarv/cdn-proxy/commit/f033d24224ef1fb65075bd80f179cbcfdbcf2663.
You can likely work around it by creating an arbitrary custom cloudfront origin request policy as well. The issue seems to be the CloudFront API doesn't return an Items key in the response when there's no origin request policies in the account.