-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache warmup does not work #8461
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
@EvaSDK it looks like you've determined the exact problem. Please feel free to submit a PR with the solution! |
@willbarrett, is using requests a good option and it is better to stick to python 3 builtin modules ? |
@EvaSDK I think it would be better to stick with python 3 built-in modules. |
As a temporary workaround, I had to set |
👀 |
The cache warmup task does not work as it tries to access the webserver without a scheme.
In commit d65b039, use of requests was removed and replaced by urlopen. However at the same time, the
get_url
function was modified to not include HTTP scheme anymore. While this could make sense if the service is running behind a reverse proxy or if SSL is used, this is not currently configurableExpected results
Cache warmup task is performed.
Actual results
Cache warmup fails with a traceback.
Screenshots
How to reproduce the bug
Environment
Checklist
The text was updated successfully, but these errors were encountered: