apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Could not download ros-indigo-apollo-1.0.0.x86_64.tar.gz

Open gengqx opened this issue 9 years ago • 2 comments

I use shadowsocks and polipo,after I install the docker,I run this code

bash apollo.sh build

I get like this:

System check passed. Build continue ... [WARNING] ESD CAN library supplied by ESD Electronics does not exist. If you need ESD CAN, please refer to third_party/can_card_library/esd_can/README.md. Start building, please wait ... WARNING: ignoring http_proxy in environment. ____Loading package: modules/common/vehicle_state ____Loading package: @eigen// ____Loading package: @google_styleguide// ____Loading package: @gtest// ____Timeout connecting to https://github.com/ApolloAuto/apollo-platform/releases/download/1.0.0/ros-indigo-apollo-1.0.0.x86_64.tar.gz ____Lost connection for https://github.com/ApolloAuto/apollo-platform/releases/download/1.0.0/ros-indigo-apollo-1.0.0.x86_64.tar.gz due to java.net.SocketTimeoutException: Read timed out ____Timeout connecting to https://github-production-release-asset-2e65be.s3.amazonaws.com/95915580/8c73f32a-60d4-11e7-977c-7b194abf6427?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170711T145744Z&X-Amz-Expires=300&X-Amz-Signature=509f51b857227747c5620a35672236a49e0ea0d9b65b19d1cb05d04deb343618&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dros-indigo-apollo-1.0.0.x86_64.tar.gz&response-content-type=application%2Foctet-stream ____Timeout connecting to https://github-production-release-asset-2e65be.s3.amazonaws.com/95915580/8c73f32a-60d4-11e7-977c-7b194abf6427?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170711T145744Z&X-Amz-Expires=300&X-Amz-Signature=509f51b857227747c5620a35672236a49e0ea0d9b65b19d1cb05d04deb343618&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dros-indigo-apollo-1.0.0.x86_64.tar.gz&response-content-type=application%2Foctet-stream ____Timeout connecting to https://github-production-release-asset-2e65be.s3.amazonaws.com/95915580/8c73f32a-60d4-11e7-977c-7b194abf6427?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170711T145744Z&X-Amz-Expires=300&X-Amz-Signature=509f51b857227747c5620a35672236a49e0ea0d9b65b19d1cb05d04deb343618&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dros-indigo-apollo-1.0.0.x86_64.tar.gz&response-content-type=application%2Foctet-stream ____Timeout connecting to https://github-production-release-asset-2e65be.s3.amazonaws.com/95915580/8c73f32a-60d4-11e7-977c-7b194abf6427?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170711T145744Z&X-Amz-Expires=300&X-Amz-Signature=509f51b857227747c5620a35672236a49e0ea0d9b65b19d1cb05d04deb343618&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dros-indigo-apollo-1.0.0.x86_64.tar.gz&response-content-type=application%2Foctet-stream ____Timeout connecting to https://github-production-release-asset-2e65be.s3.amazonaws.com/95915580/8c73f32a-60d4-11e7-977c-7b194abf6427?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170711T145744Z&X-Amz-Expires=300&X-Amz-Signature=509f51b857227747c5620a35672236a49e0ea0d9b65b19d1cb05d04deb343618&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dros-indigo-apollo-1.0.0.x86_64.tar.gz&response-content-type=application%2Foctet-stream ____Timeout connecting to https://github-production-release-asset-2e65be.s3.amazonaws.com/95915580/8c73f32a-60d4-11e7-977c-7b194abf6427?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170711T145744Z&X-Amz-Expires=300&X-Amz-Signature=509f51b857227747c5620a35672236a49e0ea0d9b65b19d1cb05d04deb343618&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dros-indigo-apollo-1.0.0.x86_64.tar.gz&response-content-type=application%2Foctet-stream ____Timeout connecting to https://github-production-release-asset-2e65be.s3.amazonaws.com/95915580/8c73f32a-60d4-11e7-977c-7b194abf6427?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170711T145744Z&X-Amz-Expires=300&X-Amz-Signature=509f51b857227747c5620a35672236a49e0ea0d9b65b19d1cb05d04deb343618&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dros-indigo-apollo-1.0.0.x86_64.tar.gz&response-content-type=application%2Foctet-stream ros-indigo-apollo-1.0.0.x86_64.tar.gz____Timeout connecting to https://github-production-release-asset-2e65be.s3.amazonaws.com/95915580/8c73f32a-60d4-11e7-977c-7b194abf6427?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170711T145744Z&X-Amz-Expires=300&X-Amz-Signature=509f51b857227747c5620a35672236a49e0ea0d9b65b19d1cb05d04deb343618&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dros-indigo-apollo-1.0.0.x86_64.tar.gz&response-content-type=application%2Foctet-stream

I noticed that bazel did not using http_proxy If i run this code in docker

curl ip.gs

I would get like this:

Current IP / 当前 IP: 54.238.186.122 ISP / 运营商: amazon.com City / 城市: Tokyo Tokyo Country / 国家: Japan

Are there any solutions?

gengqx avatar Jul 11 '17 15:07 gengqx

It is related to network connection and proxy problem. One related discussion is at https://github.com/bazelbuild/bazel/issues/587

In short, bazel looks for either HTTP_PROXY or HTTPS_PROXY env variables.

Duplicate with #59

ycool avatar Jul 11 '17 17:07 ycool

@ycool Thanks! By run this code I could download the files.

export HTTPS_PROXY=http://localhost:8123

gengqx avatar Jul 12 '17 04:07 gengqx