Skip to content

[5.x]: Not able to update craft or run composer update #15978

@pnpaes

Description

@pnpaes

What happened?

Description

I am not able to run composer update or php craft update all commands

Steps to reproduce

  1. If I type composer update in the terminal i get this error:
In CurlDownloader.php line 389:
                                                                                                                                        
curl error 28 while downloading https://api.github.com/repos/symfony/mime/zipball/caa1e521edb2650b8470918dfe51708c237f0598: Connection timeout after 10006 ms

  1. If I type php craft update all i get this error:
Fetching available updates ...
Exception 'GuzzleHttp\Exception\ConnectException' with message 'cURL error 28: SSL connection timeout (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.craftcms.com/v1/updates'

in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:275

I tried to delete composer.lock and vendor folder and run composer install again.
Got the same error that i had with composer update

Any ideas?

Craft CMS version

Craft Pro 5.4.8

PHP version

8.3.3

Operating system and version

Linux 6.6.32-linuxkit

Database type and version

MariaDB 10.7.8

Image driver and version

Imagick 3.7.0 (ImageMagick 6.9.11-60)

Installed plugins and versions

CKEditor: 4.2.0
Cookie Manager: 2.0.1
Image Resizer: 4.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions