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

Build: Create a PR to Cmake to fix ExternalProject download error code 35 #7500

Closed
xavisolesoft opened this issue Apr 24, 2024 · 1 comment
Closed
Assignees

Comments

@xavisolesoft
Copy link
Contributor

xavisolesoft commented Apr 24, 2024

Sometimes, cmake FetchContent and ExternalProject downloads fail due the next error code:

status_code: 35
status_string: "SSL connect error"

This error happens specially with StreetMap repo.

Cmake is not detecting internally this error as retriable, so retry policy is not applied and this causes the build to fail.
Seems a common retriable error for github repo .zip download, so we should fork Cmake for now while we create a PR to Cmake to fix it.

The fix consists on adding 35 to the retry codes list in this file:
Modules/ExternalProject/download.cmake.in

@xavisolesoft xavisolesoft self-assigned this Apr 24, 2024
@xavisolesoft
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants