Closed
Description
Description:
When using the php:8.3-apache-bookworm
Docker image behind a corporate proxy, I encountered an issue with curl
during composer install
. The error indicates a problem with the connection, and it didn't occur when using the php:8.2-apache-bookworm
image. The error appears to be related to libcurl
in the new PHP 8.3 image.
Here is the error log:
Failed to download symfony/var-dumper from dist: curl error 2 while downloading https://api.github.com/repos/symfony/var-dumper/zipball/ee14c8254a480913268b1e3b1cba8045ed122694: [CONN-1-0] send: no filter connected Now trying to download from source
Syncing symfony/http-kernel (v6.4.12) into cache Failed to download symfony/serializer from dist: curl error 2 while downloading https://codeload.github.com/symfony/serializer/legacy.zip/10ae9c1b90f4809ccb7277cc8fe8d80b3af4412c: [CONN-9-0] send: no filter connected Now trying to download from source
Steps to reproduce the issue:
- Use the
php:8.3-apache-bookworm
image behind a corporate proxy. - Run
composer install
with any project that requires dependencies from GitHub.
Expected behavior:
The dependencies should be downloaded without connection issues, as they were with php:8.2-apache-bookworm
php:8.2-apache-bullseye
.
Additional information:
- PHP version:
8.3.12
(cli) - Curl version:
7.88.1-10+deb12u7
- Proxy environment: Corporate proxy (configured with
http_proxy
andhttps_proxy
environment variables) - This issue does not occur with the
php:8.2-apache-bookworm
image, suggesting it may be related to the upgrade to PHP 8.3 and/or the version oflibcurl
.
Please advise if any additional information is required to assist in debugging this issue.
Metadata
Metadata
Assignees
Labels
No labels