網站首頁 編程語言 正文
解決:curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443
作者:拾年一劍 更新時間: 2022-08-19 編程語言終端中執行下面命令:
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install >> brew_install
錯誤
如果遇到錯誤:
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443
解決
手動配置hosts
macOS
hosts文件位置:/etc/hosts。
macOS系統下修改需要按照如下方式:
1:首先,打開(訪達)Finder。
2:使用組合鍵Shift+Command+G打開"前往文件夾",輸入框中輸入/etc/hosts。
3:然后就會跳轉到hosts文件位置。
復制hosts文件到桌面上,鼠標右鍵右擊它,選擇「打開方式」—「文本編輯」,打開這個hosts文件,把前面的hosts內容復制進來。然后把你修改好的hosts文件替換掉:/etc/hosts 文件。
注意:如果你使用VS Code,可以直接用VS Code修改和保存,不需要復制文件。
在hosts文件后面添加一行:
185.199.108.133 raw.Githubusercontent.com
這里的ip可能會變,需要自己去查下,查詢地址。
注意: 如果彈出密碼輸入框,你需要輸入你當前登錄賬號對應的密碼。
最后刷新緩存:
sudo killall -HUP mDNSResponder
Windows
hosts文件位置:C:/windows/system32/drivers/etc/hosts。
將前面hosts內容追加到hosts文件,然后刷新DNS緩存:
ipconfig /flushdns
原文鏈接:https://blog.csdn.net/u014163312/article/details/124783357
相關推薦
- 2022-04-27 C++的指針,引用和STL詳解_C 語言
- 2022-10-12 docker配置阿里云鏡像倉庫的實現_docker
- 2022-07-14 Oracle中nvl()和nvl2()函數實例詳解_oracle
- 2022-04-28 教你如何在Centos8-stream安裝PostgreSQL13_PostgreSQL
- 2024-03-14 AOP切面編程,以及自定義注解實現切面
- 2022-04-14 Qt自定義控件實現儀表盤_C 語言
- 2022-03-16 詳解c#中Array,ArrayList與List<T>的區別、共性與相互轉換_C#教程
- 2022-08-18 Linux阿里云服務器中安裝Nginx命令的詳細過程_服務器其它
- 最近更新
-
- window11 系統安裝 yarn
- 超詳細win安裝深度學習環境2025年最新版(
- Linux 中運行的top命令 怎么退出?
- MySQL 中decimal 的用法? 存儲小
- get 、set 、toString 方法的使
- @Resource和 @Autowired注解
- Java基礎操作-- 運算符,流程控制 Flo
- 1. Int 和Integer 的區別,Jav
- spring @retryable不生效的一種
- Spring Security之認證信息的處理
- Spring Security之認證過濾器
- Spring Security概述快速入門
- Spring Security之配置體系
- 【SpringBoot】SpringCache
- Spring Security之基于方法配置權
- redisson分布式鎖中waittime的設
- maven:解決release錯誤:Artif
- restTemplate使用總結
- Spring Security之安全異常處理
- MybatisPlus優雅實現加密?
- Spring ioc容器與Bean的生命周期。
- 【探索SpringCloud】服務發現-Nac
- Spring Security之基于HttpR
- Redis 底層數據結構-簡單動態字符串(SD
- arthas操作spring被代理目標對象命令
- Spring中的單例模式應用詳解
- 聊聊消息隊列,發送消息的4種方式
- bootspring第三方資源配置管理
- GIT同步修改后的遠程分支