Apollo: Cannot do ./apollo.sh build

Created on 24 May 2018  Â·  7Comments  Â·  Source: ApolloAuto/apollo

Environment:
Ubuntu 17.10 with virtualbox 5.2.12
docker-ce 18.03.1

I can't solve the problem related proxy.

after do dev_into.sh,
I set the container's env about proxies like this:
http_proxy=http://userID:passwd@-----:--- (also set HTTP_PROXY)

in this container, I can do wget, curl, apt-get, and so on.
However, if try the command ".apollo.sh build", error messages are returned.

ERROR: /apollo/modules/tools/manual_traffic_light/BUILD:21:1: no such package '@google_styeguide//':
Error cloning repository: https://github.com/google/styleguide.git: 407 Proxy Authorization Required
caused by http://github.com/google/styleguide.git: 407 407 Proxy Authorization Required and referenced by '//modules/tools/manual_traffic_light:manual_traffic_light_cpplint'

i can't understand how to pass the proxy in buzel's enviroment.

please tell me the method to solve this.
Thank you.

waiting for response Build Help wanted

All 7 comments

Can you have a try without proxy?

Now, I try in my job, so i can't try without proxy.

I think because your connection to github is unstable. Apollo has provided the solution, check the tutorial in apollo/docs/howto/how_to_solve_slow_pull_from_github.cn

@kentasakurai were you able to resolve this issue? If not please let us know. Thanks!

Have you solved this problem? I meet it too, Please help.

I also meet this problem. Please help.

I also meet this problem. Please help.

My solution:
download package manually
copy package to container
modify the package path at WORKSPACE and WORKSPACE.in file

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JSnobody picture JSnobody  Â·  3Comments

YaoQii picture YaoQii  Â·  3Comments

maziqiqi picture maziqiqi  Â·  3Comments

chasingw picture chasingw  Â·  3Comments

c-xyli picture c-xyli  Â·  3Comments