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
curl error 23 when updating custom repository #11913
Comments
I've encountered the same problem today, and I'm also using MacOS.
|
I'm also getting the same error on a new Mac M3 Pro. Satis repositories are not affected, tho, and install just fine. My |
I've the same error on one of my computers. When I compare the Works with |
After running |
Disappeared for me as well after |
|
Ok then looks like it's a curl or brew bug. I'll leave the issue open for now so people find it more easily, but I don't think we should act on it. |
I'm thankful I've found this - same issue for me today! Cheers for leaving open Jordi. |
I've been having this problem for a week and I couldn't solve it. |
In our case we were able to downgrade cURL and after that we were able to use our satis repos but I would prefer a fix where we would not need to do this. |
issue is still there with reinstall curl |
i'm using laravel herd btw. for awhile i'm isolated to php8.2 which use curl 8.6.0 then run |
I also use Herd. No idea how to downgrade cUrl on a mac. Anyway, downgrading to version 3..6.6 is working. Then it is downloading... |
@plompd version 3.6.6 of what software? |
Sorry, I thought I was on a specific package repo... |
Same problem here, on a M1 macbook with macports. Works with curl 8.6.0, fails with curl 8.7.1 |
I had the same error on Windows 11, here's how I fixed it. Run Change Herd to php8.1 (cURL 8.4.0) & run Then you should be fine, to change it back once all the installing is done, atleast I was. If you don't have Herd just use a php version that uses the older curl versions. |
thats not really a solution as some packages on our project need 8.2 or 8.3 |
For me it worked since all the packages with the error didn't need it, but ig you're right tough. 👍 |
For those of you who are curious why a |
@mpociot Is there also a fix when using |
This is a curl regression in curl/curl@463472a meaning curl 8.7.0 and 8.7.1 are affected. 8.7.2 is planned to be released on May 22, 2024. As that's kinda far off, and it seems to affect a bunch of people.. I tried to publish a workaround. Can someone affected please try if Once confirmed I'll try to get a release out.. |
Since reinstalling curl fixed this, I don't think I can test this 🙈 |
This solved the issue for me, while reinstalling curl didn't work. Thanks @Seldaek |
This worked for me as well. Not like the curl reinstall. |
Om |
Edit: How to Fix
Run
brew reinstall curl
to get the latest curl and fix this issueHi,
from yesterday composer started giving me this error when I'm using a custom repository:
After many tries to fix this problem, I found that removing this line from
CurlDownloader
fixes the problem:I encountered this problem only on my mac, I tried with docker and it works.
Output of
composer diagnose
:When I run this command:
I get the following output:
The text was updated successfully, but these errors were encountered: