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

composer update fail because of timeout when extracting archive aws/aws-sdk-php #3053

Open
1 task
mcharnayprimeo opened this issue Dec 19, 2024 · 0 comments
Open
1 task
Assignees
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@mcharnayprimeo
Copy link

Describe the bug

I am using the package aws/aws-sdk-php on a composer.json file inside a symfony project deployed on fargate container.
"require": {
"aws/aws-sdk-php": "^3.212",

When I try to launch "composer update" for this package on my fargate container, this command falied because dezipping and installing is to long and composer fall in timeout.
Of course I finally grow up the execution time of composer, and then it is ok, but it takes sometime more than 30 minutes !

Is there another way to use this package ? or another way to update it which takes less time ?

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

dezipping and installing this package with composer in less than 300 seconds (which is the default time for composer)

Current Behavior

Fargate service with php container, inside which we use "composer update" command, and dezipping aws/aws-sdk-php package is to long (do not depend of devices and network ability)

Reproduction Steps

try to launch any application in php 8.2 with composer.json containing a "require" line of this package, and wait for a version update (example pass from v3.334.0 to v3.336.0, but it is the same for any upgrading).

composer version : 2.8.3

Possible Solution

No response

Additional Information/Context

No response

SDK version used

up than 3.212

Environment details (Version of PHP (php -v)? OS name and version, etc.)

php 8.2

@mcharnayprimeo mcharnayprimeo added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Dec 19, 2024
@yenfryherrerafeliz yenfryherrerafeliz self-assigned this Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

2 participants