cdn-proxy icon indicating copy to clipboard operation
cdn-proxy copied to clipboard

Setup fails on IndexError

Open RyanJarv opened this issue 3 years ago • 1 comments

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

RyanJarv avatar Apr 24 '22 20:04 RyanJarv

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.

RyanJarv avatar Apr 24 '22 20:04 RyanJarv