From 115473d5d60ec2c614251878f0d56e20aab2430a Mon Sep 17 00:00:00 2001 From: Shivani Kumar Date: Mon, 2 Dec 2024 16:58:21 -0500 Subject: [PATCH] Fix Connection Error --- bin/steps/python | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/bin/steps/python b/bin/steps/python index 316bb19ab..3cb483402 100755 --- a/bin/steps/python +++ b/bin/steps/python @@ -17,12 +17,9 @@ PYTHON_URL="${S3_BASE_URL}/python-${python_full_version}-ubuntu-${UBUNTU_VERSION # TODO: Update this message to be more specific once Python 3.8 support is dropped. if ! curl --output /dev/null --silent --head --fail --retry 3 --retry-connrefused --connect-timeout 10 "${PYTHON_URL}"; then output::error <<-EOF - Error: Python ${python_full_version} isn't available for this stack (${STACK}). - - For a list of the supported Python versions, see: - https://devcenter.heroku.com/articles/python-support#supported-runtimes + Error: Python Connection timeout EOF - meta_set "failure_reason" "python-version-not-found" + meta_set "failure_reason" "connection-timeout" exit 1 fi