Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Another Newbie having problems - Error occurred during the fetch of repository 'io_bazel_rules_appengine #113

@KenPtaszynski

Description

@KenPtaszynski

Expected Behaviour

I'm at the bash deployments/deploy.sh web prod step when an error is returned

Actual Behaviour

INFO: Initiating the build of the python deployment script...
INFO: Call stack for the definition of repository 'io_bazel_rules_appengine' which is a http_archive (rule definition at /home/kptaszynski/.cache/bazel/_bazel_kptaszynski/ab919c8017980a550c83bdfe4ab02a75/external/bazel_tools/tools/build_defs/repo/http.bzl:229:16):

  • /home/kptaszynski/Loaner/WORKSPACE:311:1
    ERROR: An error occurred during the fetch of repository 'io_bazel_rules_appengine':
    java.io.IOException: Error downloading [https://github.com/bazelbuild/rules_appengine/archive/0.0.9.tar.gz] to /home/kptaszynski/.cache/bazel/_bazel_kptaszynski/ab919c8017980a550c83bdfe4ab02a75/external/io_bazel_rules_appengine/0.0.9.tar.gz: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    ERROR: error loading package '': Encountered error while reading extension file 'appengine/sdk.bzl': no such package '@io_bazel_rules_appengine//appengine': java.io.IOException: Error downloading [https://github.com/bazelbuild/rules_appengine/archive/0.0.9.tar.gz] to /home/kptaszynski/.cache/bazel/_bazel_kptaszynski/ab919c8017980a550c83bdfe4ab02a75/external/io_bazel_rules_appengine/0.0.9.tar.gz: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    ERROR: error loading package '': Encountered error while reading extension file 'appengine/sdk.bzl': no such package '@io_bazel_rules_appengine//appengine': java.io.IOException: Error downloading [https://github.com/bazelbuild/rules_appengine/archive/0.0.9.tar.gz] to /home/kptaszynski/.cache/bazel/_bazel_kptaszynski/ab919c8017980a550c83bdfe4ab02a75/external/io_bazel_rules_appengine/0.0.9.tar.gz: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    INFO: Elapsed time: 14.288s
    INFO: 0 processes.
    FAILED: Build did NOT complete successfully (0 packages loaded)

I tried creating a .bazelrc file in my $HOME Directory with the lines

startup --host_jvm_args=-Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts
--host_jvm_args=-Djavax.net.ssl.trustStorePassword=changeit

No joy - error is still presented.

I'm running Ubunto 20.04.3 LTS on WSL2

I've been asked to "Chanel my Inner Developer" to roll out the Loaner app for a Pilot at my company. I cut my teeth on VB 6 and progressed to .NET but have very little experience in Linux.

Thanks

Ken Ptaszynski, PMP

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