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

Problem with composer installer signature when using ubuntu:24.04 image #86

Open
flying-giraffe opened this issue Jul 1, 2024 · 1 comment
Labels

Comments

@flying-giraffe
Copy link

Using the official ubuntu:24.04 image and php8.3 installed, there is a problem with getting the installer signature when trying to install composer:

1:03:18 PM PLAY [composer task] *********************************************************** 1:03:18 PM [WARNING]: An error occurred while calling 1:03:18 PM ansible.utils.display.initialize_locale (unsupported locale setting). This may 1:03:18 PM result in incorrectly calculated text widths that can cause Display to print 1:03:18 PM incorrect line lengths 1:03:18 PM 1:03:18 PM TASK [Gathering Facts] ********************************************************* 1:03:19 PM ok: [127.0.0.1] 1:03:19 PM 1:03:19 PM TASK [geerlingguy.composer : Check if requested version parameters are valid] *** 1:03:19 PM skipping: [127.0.0.1] 1:03:19 PM 1:03:19 PM TASK [geerlingguy.composer : Set php_executable variable to a default if not defined.] *** 1:03:19 PM ok: [127.0.0.1] 1:03:19 PM 1:03:19 PM TASK [geerlingguy.composer : Check if Composer is installed.] ****************** 1:03:19 PM ok: [127.0.0.1] 1:03:19 PM 1:03:19 PM TASK [geerlingguy.composer : Get Composer installer signature.] **************** 1:03:20 PM An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'CustomHTTPSConnection' object has no attribute 'cert_file' 1:03:20 PM fatal: [127.0.0.1]: FAILED! => changed=false 1:03:20 PM content: '' 1:03:20 PM elapsed: 0 1:03:20 PM msg: 'Status code was -1 and not [200]: An unknown error occurred: ''CustomHTTPSConnection'' object has no attribute ''cert_file''' 1:03:20 PM redirected: false 1:03:20 PM status: -1 1:03:20 PM url: https://composer.github.io/installer.sig 1:03:20 PM 1:03:20 PM PLAY RECAP ********************************************************************* 1:03:20 PM 127.0.0.1 : ok=3 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0 1:03:20 PM 1:03:20 PM Running playbook failed: exit status 2

Copy link

github-actions bot commented Nov 4, 2024

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@github-actions github-actions bot added the stale label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant