google-deepmind / code_contests

Apache License 2.0
2.04k stars 200 forks source link

Error downloading com_google_riegeli #6

Closed Symbolk closed 2 years ago

Symbolk commented 2 years ago

Hi, it seems to be a network error since I am behind a system level proxy, should and how can I configure bazel to work with a proxy?

ERROR: An error occurred during the fetch of repository 'com_google_riegeli':

Error in download_and_extract: java.io.IOException: Error downloading [https://github.com/google/riegeli/archive/587c7921700a58f53fbd2b47fcf9c6dc38477a32.tar.gz]
davidhchoi commented 2 years ago

I'm not sure exactly, and can't test it, but I think that there are more general instructions about how to use bazel with proxies that should hopefully work here, like using dist_dir or env variables. Do either of these work?

Symbolk commented 2 years ago

Thanks for the response, I have tried env but it failed, but I successfully bypass this via working on Colab.