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 build helloworld with a '404 Not Found' error #533

Closed
teafff opened this issue Mar 18, 2020 · 2 comments
Closed

Bazel build helloworld with a '404 Not Found' error #533

teafff opened this issue Mar 18, 2020 · 2 comments
Assignees

Comments

@teafff
Copy link

teafff commented Mar 18, 2020

Please help me.when i tried to bazel run helloworld,I wait a long time to download some dependencies.And then,it makes error.
So i hope someone can give me some advice.

bazel build -c opt mediapipe/examples/desktop/hello_world:hello_world

INFO: Call stack for the definition of repository 'org_tensorflow' which is a http_archive (rule definition at /home/yu/.cache/bazel/_bazel_yu/04f3bfb84c6a6907e978f30a60ac4394/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):

  • /home/yu/mediapipe/WORKSPACE:124:1
    WARNING: Download from https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
    WARNING: Download from https://github.com/tensorflow/tensorflow/archive/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz failed: class java.io.IOException Tried to reconnect at offset 6,681,882 but server didn't support it
    ERROR: An error occurred during the fetch of repository 'org_tensorflow':
    java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz, https://github.com/tensorflow/tensorflow/archive/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz] to /home/yu/.cache/bazel/_bazel_yu/04f3bfb84c6a6907e978f30a60ac4394/external/org_tensorflow/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz: Tried to reconnect at offset 6,681,882 but server didn't support it
    ERROR: no such package '@org_tensorflow//tensorflow': java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz, https://github.com/tensorflow/tensorflow/archive/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz] to /home/yu/.cache/bazel/_bazel_yu/04f3bfb84c6a6907e978f30a60ac4394/external/org_tensorflow/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz: Tried to reconnect at offset 6,681,882 but server didn't support it
    ERROR: no such package '@org_tensorflow//tensorflow': java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz, https://github.com/tensorflow/tensorflow/archive/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz] to /home/yu/.cache/bazel/_bazel_yu/04f3bfb84c6a6907e978f30a60ac4394/external/org_tensorflow/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz: Tried to reconnect at offset 6,681,882 but server didn't support it
    INFO: Elapsed time: 538.786s
    INFO: 0 processes.
    FAILED: Build did NOT complete successfully (0 packages loaded)
@jiuqiant
Copy link
Contributor

jiuqiant commented Mar 18, 2020

class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found

The error is a 404 Not Found issue during downloading the external dependencies. Please check your network connection and retry. VPN is preferred if you are in mainland China. See #3 for more detail.

@jiuqiant jiuqiant changed the title bazel helloworld error bazel helloworld error with a '404 Not Found' error Mar 18, 2020
@jiuqiant jiuqiant changed the title bazel helloworld error with a '404 Not Found' error Bazel build helloworld with a '404 Not Found' error Mar 18, 2020
@jiuqiant jiuqiant self-assigned this Mar 18, 2020
@teafff teafff closed this as completed Mar 18, 2020
@teafff teafff reopened this Mar 18, 2020
@teafff
Copy link
Author

teafff commented Mar 18, 2020

class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found

The error is a 404 Not Found issue during downloading the external dependencies. Please check your network conntection and retry. VPN is preferred if you are in mainland China. See #3 for more detail.

ok i will try it again

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

3 participants