Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bazel --host_jvm_args "-DsocksProxyHost=proxy.neusoft.com -DsocksProxyPort=8080" run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world #835

Closed
chenti2x opened this issue Jun 23, 2020 · 2 comments

Comments

@chenti2x
Copy link

chenti2x commented Jun 23, 2020

I am in ubuntu(cpu)

option:
bazel --host_jvm_args "-DsocksProxyHost=proxy.neusoft.com -DsocksProxyPort=8080" run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world

error:
INFO: Repository bazel_skylib instantiated at:
no stack (--record_rule_instantiation_callstack not enabled)
Repository rule http_archive defined at:
/home/ctt/.cache/bazel/_bazel_ctt/1fabb8f99ae892e3c1f6b539c83c35e9/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
WARNING: Download from https://github.com/bazelbuild/bazel-skylib/releases/download/0.9.0/bazel_skylib-0.9.0.tar.gz failed: class java.io.IOException Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authorization Required"
ERROR: An error occurred during the fetch of repository 'bazel_skylib':
java.io.IOException: Error downloading [https://github.com/bazelbuild/bazel-skylib/releases/download/0.9.0/bazel_skylib-0.9.0.tar.gz] to /home/ctt/.cache/bazel/_bazel_ctt/1fabb8f99ae892e3c1f6b539c83c35e9/external/bazel_skylib/bazel_skylib-0.9.0.tar.gz: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authorization Required"
ERROR: no such package '@bazel_skylib//lib': java.io.IOException: Error downloading [https://github.com/bazelbuild/bazel-skylib/releases/download/0.9.0/bazel_skylib-0.9.0.tar.gz] to /home/ctt/.cache/bazel/_bazel_ctt/1fabb8f99ae892e3c1f6b539c83c35e9/external/bazel_skylib/bazel_skylib-0.9.0.tar.gz: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authorization Required"
INFO: Elapsed time: 12.980s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)

why???
remove --host_jvm_args "-DsocksProxyHost=proxy.neusoft.com -DsocksProxyPort=8080"
the error is same

@jiuqiant
Copy link
Collaborator

Hi, it's a Bazel build system question related to your proxy setting. I feel sorry that MediaPipe owners don't have a good answer for this as well. You can take a look at bazelbuild/bazel#5185 and bazelbuild/bazel#6196 to see if there is an solution for this. You may also file an issue to the Bazel project: https://github.com/bazelbuild/bazel.

@chenti2x
Copy link
Author

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants