Skip to content

cURL error 56: OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0. #269

@gRoberts84

Description

@gRoberts84

Bug Report

Describe the current, buggy behavior
When trying to download Wordpress (wp core download --locale=en_GB) it fails with the following:

Error: Failed to get url 'https://downloads.wordpress.org/release/wordpress-6.6.2.tar.gz': cURL error 56: OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0.

Describe how other contributors can replicate this bug
Not sure it's replicable but run wp core download --locale=en_GB.

Describe what you would expect as the correct outcome
Download and extract the tar.gz mentioned in the error.

Let us know what environment you are running this on

OS:	Darwin 21.6.0 Darwin Kernel Version 21.6.0: Mon Feb 19 20:24:34 PST 2024; root:xnu-8020.240.18.707.4~1/RELEASE_X86_64 x86_64
Shell:	/bin/zsh
PHP binary:	/usr/local/Cellar/php/8.3.11/bin/php
PHP version:	8.3.11
php.ini used:	/usr/local/etc/php/8.3/php.ini
MySQL binary:	/usr/local/opt/mysql@5.7/bin/mysql
MySQL version:	mysql  Ver 14.14 Distrib 5.7.44, for osx10.17 (x86_64) using  EditLine wrapper
SQL modes:	NO_ENGINE_SUBSTITUTION
WP-CLI root dir:	phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir:	phar://wp-cli.phar/vendor
WP_CLI phar path:	/Users/gavinroberts/Projects/TeamValleyWeb/infinity
WP-CLI packages dir:	
WP-CLI cache dir:	/Users/gavinroberts/.wp-cli/cache
WP-CLI global config:	
WP-CLI project config:	
WP-CLI version:	2.11.0

Provide additional context/Screenshots
I am able to successfully run curl -O https://downloads.wordpress.org/release/wordpress-6.6.2.tar.gz and curl -LO https://downloads.wordpress.org/release/wordpress-6.6.2.tar.gz without any issues.

I have ran brew update and brew upgrade and curl is curl 8.4.0 (x86_64-apple-darwin21.0) libcurl/8.4.0 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.45.1

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions