-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Requested runtime 'python-3.X.Y' is not available for this stack
due to hitting curl connection timeouts on Dokku
#1436
Comments
Hi! Curl's The reason we have the timeouts in place is to stop hangs and force a retry when the initial S3 instance being connected to has issues. We were seeing a bunch of connection issues at one point in CI. At the moment with our classic buildpacks, the primary use-case is using them remotely on Heroku (rather than locally, or on Dokku). Longer term we're migrating to CNBs (Cloud Native Buildpacks), which can more easily be run locally (by both Heroku customers and others), at which point we'll need to consider slow networking scenarios specifically (one option might be for us to start fronting S3 with a CDN etc). |
@edmorley Thank you for taking the time to respond. Our server is stuck in Tashkent due to project constraints, so we can't change its location. We are trying to resolve the network issue on our side If the resources allow, please consider at least 5 seconds increase in those values(putting 10 seconds timeout is fine), that will effectively solve our problem |
Requested runtime 'python-3.X.Y' is not available for this stack
due to hitting curl connection timeouts on Dokku
Sure - I've opened #1439 to raise the limits from 5 to 10 seconds :-) |
To support environments where it takes longer than 5 seconds to establish the HTTPS connection (such as Dokku). Fixes #1436. GUS-W-13013203.
We faced issue while using this buildpack on our dokku server
After some research we found that this happens because of small timeout window set in the curl commands.
For anyone struggling with same issue, you can fork the buildpack and increase the timeout window like I did here
Let me know if PR required
The text was updated successfully, but these errors were encountered: