Rate This Document
Findability
Accuracy
Completeness
Readability

Failed to Access the BoringSSL Download Link During Compilation and Installation

Symptom

During compilation and installation, the download link of BoringSSL cannot be accessed, and the message "unable to access 'https://boringssl.googlesource.com/boring/'" is displayed.

Key Process and Cause Analysis

During the compilation, the boringssl-static module attempts to obtain the BoringSSL source code from https://boringssl.googlesource.com/boringssl by default. If the compilation environment cannot access the default BoringSSL resource, you need to modify the download address.

Conclusion and Solution

  1. Open the pom.xml file in the boringssl-static directory of the source code.
    vim /home/netty-tcnative-netty-tcnative-parent-2.0.28.Final/boringssl-static/pom.xml
  2. Press i to go to the insert mode and change the download address in line 82.
    https://github.com/google/boringssl

  3. Press Esc, type :wq!, and press Enter to save the file and exit.
  4. Run the compile command again.
    mvn clean install