App Deployment Issue - Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/main/binary-amd64/Packages Connection failed [IP: xxx 80]

I’m trying to deploy my application. I have added the required apt packages in apt-packages file. I’m getting this error and the deployment is failing.

-----> Building app from herokuish…
-----> Rebuilding extended app image due to dpkg-packages usage
-----> Creating extended app image with custom system packages
-----> Updating package list
remote: E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/main/binary-amd64/Packages Connection failed [IP: xxx 80]
remote: E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-security/main/binary-amd64/Packages Connection failed [IP: xxx 80]
remote: E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/universe/binary-amd64/Packages Connection failed [IP: xxx 80]
remote: E: Some index files failed to download. They have been ignored, or old ones used instead.

Any help on how to resolve this issue is appreciated.

Thank you

Hi,

Are you using the python buildpack? Do you need extra apt-packages?

Hi, I’m using extra apt-packages, like iputils-ping, chromium-browser, libgtk-3-0.

Ok. I never used the apt buildpack, and I don’t have any idea of what the problem could be…

It might be easier to find an answer in a Heroku forum, as this does not seem a Dash specific issue.