Skip to content

Requested runtime 'python-3.X.Y' is not available for this stack due to hitting curl connection timeouts on Dokku #1436

@DavraYoung

Description

@DavraYoung

We faced issue while using this buildpack on our dokku server

remote: =====> Detected Framework: Python        
remote: -----> Using Python version specified in runtime.txt        
remote:        !     Requested runtime 'python-3.10.11' is not available for this stack (heroku-20).        
remote:        !     For supported versions, see: https://devcenter.heroku.com/articles/python-support        
remote:        !     https://heroku-buildpack-python.s3.us-east-1.amazonaws.com/heroku-20/runtimes/python-3.10.10.tar.gz        
remote:  !     Failure during app build        

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions