Merge pull request #19519 from NeimadTL/add-common-curl-connectivity-issues-doc

Add possible curl issues
This commit is contained in:
Mike McQuaid 2025-03-18 12:20:15 +00:00 committed by GitHub
commit 3aaabf4b23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -259,3 +259,10 @@ Help us by [submitting a fix](https://github.com/Homebrew/homebrew-cask/blob/HEA
## Other local issues
If your Homebrew installation gets messed up (and fixing the issues found by `brew doctor` doesn't solve the problem), reinstalling Homebrew may help to reset to a normal state. To easily reinstall Homebrew, use [Homebrew Bundle](https://github.com/Homebrew/homebrew-bundle) to automatically restore your installed formulae and casks. To do so, run `brew bundle dump`, [uninstall](https://docs.brew.sh/FAQ#how-do-i-uninstall-homebrew), [reinstall](https://docs.brew.sh/Installation) and run `brew bundle install`.
## Possible `curl` issues
Sometimes, the user's computer, configuration or network connection may cause issues downloading with `curl` which are outside Homebrew's control. Homebrew requires good internet connectivity and correct configuration to function correctly. Here some links that could help you identify cURL issues based on `curl`'s and `libcurl`'s exit codes:
* https://everything.curl.dev/cmdline/exitcode.html
* https://curl.se/libcurl/c/libcurl-errors.html