Giter Club home page Giter Club logo

Comments (4)

singhniraj08 avatar singhniraj08 commented on July 1, 2024

@nhatleSummer22,

I tried building TF Serving from source in CentOS and it was running successfully. I was not able to complete the whole build since it's time consuming. Could you help us at which step of building did you faced this error?

Also, You can try building a container from Dockerfile as shown here. Please let us know if this helps.

Thank you!

from serving.

nhatleSummer22 avatar nhatleSummer22 commented on July 1, 2024

@singhniraj08
Thank you for your response. It seems that the build process is having trouble download the tar file from bazel_skylib repo. Here is the full error log:

WARNING: Download from https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz failed: class java.io.IOException connect timed out
ERROR: An error occurred during the fetch of repository 'bazel_skylib':
Traceback (most recent call last):
File "/tf_serving/serving/.cache/_bazel_nhatle/27779cb87963ffbbb27f83adfbb38cc1/external/bazel_tools/tools/build_defs/repo/http.bzl", line 132, column 45, in _http_archive_impl
download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz] to /tf_serving/serving/.cache/_bazel_nhatle/27779cb87963ffbbb27f83adfbb38cc1/external/bazel_skylib/temp10299663733471532390/bazel-skylib-1.3.0.tar.gz: connect timed out
ERROR: /localdisk2/nhatle/tf_serving/serving/WORKSPACE:36:21: fetching http_archive rule //external:bazel_skylib: Traceback (most recent call last):
File "/tf_serving/serving/.cache/_bazel_nhatle/27779cb87963ffbbb27f83adfbb38cc1/external/bazel_tools/tools/build_defs/repo/http.bzl", line 132, column 45, in _http_archive_impl
download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz] to /tf_serving/serving/.cache/_bazel_nhatle/27779cb87963ffbbb27f83adfbb38cc1/external/bazel_skylib/temp10299663733471532390/bazel-skylib-1.3.0.tar.gz: connect timed out
ERROR: Error computing the main repository mapping: no such package '@bazel_skylib//lib': java.io.IOException: Error downloading [https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz] to /tf_serving/serving/.cache/_bazel_nhatle/27779cb87963ffbbb27f83adfbb38cc1/external/bazel_skylib/temp10299663733471532390/bazel-skylib-1.3.0.tar.gz: connect timed out
Loading:

from serving.

nhatleSummer22 avatar nhatleSummer22 commented on July 1, 2024

Problem is due to http issue within docker. Got a fix. Thank you!

from serving.

google-ml-butler avatar google-ml-butler commented on July 1, 2024

Are you satisfied with the resolution of your issue?
Yes
No

from serving.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.