Skip to content

PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target #129

@jiang910622

Description

@jiang910622

I am trying to install visqol on a server. There is a firewall. I have set proxy in the envrionment. However, I meet the following problem. Anyone can help?

(pytorch2.3_codec) samsung@samsung-Precision-7920-Tower:~/nan.jiang/pkgs/visqol$ bazel build :visqol -c opt
INFO: Repository pybind11_bazel instantiated at:
/home/samsung/nan.jiang/pkgs/visqol/WORKSPACE:18:13: in
Repository rule http_archive defined at:
/home/samsung/.cache/bazel/_bazel_samsung/47a892f204f833f4342df370a6aa95a1/external/bazel_tools/tools/build_defs/repo/http.bzl:355:31: in
WARNING: Download from https://github.com/pybind/pybind11_bazel/archive/72cbbf1fbc830e487e3012862b7b720001b70672.tar.gz failed: class javax.net.ssl.SSLHandshakeException PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
ERROR: An error occurred during the fetch of repository 'pybind11_bazel':
Traceback (most recent call last):
File "/home/samsung/.cache/bazel/_bazel_samsung/47a892f204f833f4342df370a6aa95a1/external/bazel_tools/tools/build_defs/repo/http.bzl", line 125, 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/pybind/pybind11_bazel/archive/72cbbf1fbc830e487e3012862b7b720001b70672.tar.gz] to /home/samsung/.cache/bazel/_bazel_samsung/47a892f204f833f4342df370a6aa95a1/external/pybind11_bazel/temp3162701722728519984/72cbbf1fbc830e487e3012862b7b720001b70672.tar.gz: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
ERROR: /home/samsung/nan.jiang/pkgs/visqol/WORKSPACE:18:13: fetching http_archive rule //external:pybind11_bazel: Traceback (most recent call last):
File "/home/samsung/.cache/bazel/_bazel_samsung/47a892f204f833f4342df370a6aa95a1/external/bazel_tools/tools/build_defs/repo/http.bzl", line 125, 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/pybind/pybind11_bazel/archive/72cbbf1fbc830e487e3012862b7b720001b70672.tar.gz] to /home/samsung/.cache/bazel/_bazel_samsung/47a892f204f833f4342df370a6aa95a1/external/pybind11_bazel/temp3162701722728519984/72cbbf1fbc830e487e3012862b7b720001b70672.tar.gz: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
ERROR: no such package '@pybind11_bazel//': java.io.IOException: Error downloading [https://github.com/pybind/pybind11_bazel/archive/72cbbf1fbc830e487e3012862b7b720001b70672.tar.gz] to /home/samsung/.cache/bazel/_bazel_samsung/47a892f204f833f4342df370a6aa95a1/external/pybind11_bazel/temp3162701722728519984/72cbbf1fbc830e487e3012862b7b720001b70672.tar.gz: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
INFO: Elapsed time: 14.393s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions