Closed vinaypuranik closed 3 years ago
Are you behind a proxy?
I'm going to assume this is a connection or a proxy issue. If you are behind a proxy, you can configure an HTTP_PROXY
environment variable, as explained here:
Hardhat will automatically download the versions of
solc
that you set up. If you are behind an HTTP proxy, you may need to set theHTTP_PROXY
orHTTPS_PROXY
environment variable to the URL of your proxy.
Please use our Discord server if you have more questions.
@alcuadrado @fvictorio I checked with our network team they mentioned that we are not behind any proxy. Have Jenkins deployed on some server and trying to build the docker image. Below are the contents of Dockerfile.
Strange that if I build this docker image locally, it succeeds. But not on our Jenkins box.
curl binaries url
inside docker image on Jenkins box works fine as well.
Quick update: Workaround mentioned here https://github.com/fvictorio/hardhat-examples/tree/master/custom-solc works! Thanks @fvictorio @alcuadrado
Hi Folks,
Getting this below error . Any possible solution ? Hardhat v2.4.1