Skip to content

[Bug]: curl error 56 #43

@michaelw85

Description

@michaelw85

Description of the bug

Composer install fails when using PHP 8.5 + composer 2.9.x
I think this might be related to HTTP 3, which was introduced in composer 2.9.

curl error 56 while downloading https://api.wordpress.org/translations/plugins/1.0/?slug=xyz&version=6.0.5: ngtcp2_conn_writev_stream returned error: ERR_DRAINING

Some installations succeed, this seems to be random. Maybe a form of rate limiting?

Reproduction instructions

Given latest composer 2.9.5 and php 8.5 are installed
When run composer install
Then most installs will fail with curl error 56

Expected behavior

Composer install should download translations

Environment info

PHP 8.5.2
Composer 2.9.5
inpsyde/wp-translation-downloader 2.5 & 2.6

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions