In my case, my corporation has a bad connection to AWS server. please follow http_proxy and https_proxy, thanks and this issue may need to transfer to libherokubuildpack repo which I can't see.