網(wǎng)站首頁 編程語言 正文
解決:curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443
作者:拾年一劍 更新時(shí)間: 2022-08-19 編程語言終端中執(zhí)行下面命令:
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install >> brew_install
錯(cuò)誤
如果遇到錯(cuò)誤:
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443
解決
手動(dòng)配置hosts
macOS
hosts文件位置:/etc/hosts。
macOS系統(tǒng)下修改需要按照如下方式:
1:首先,打開(訪達(dá))Finder。
2:使用組合鍵Shift+Command+G打開"前往文件夾",輸入框中輸入/etc/hosts。
3:然后就會(huì)跳轉(zhuǎn)到hosts文件位置。
復(fù)制hosts文件到桌面上,鼠標(biāo)右鍵右擊它,選擇「打開方式」—「文本編輯」,打開這個(gè)hosts文件,把前面的hosts內(nèi)容復(fù)制進(jìn)來。然后把你修改好的hosts文件替換掉:/etc/hosts 文件。
注意:如果你使用VS Code,可以直接用VS Code修改和保存,不需要復(fù)制文件。
在hosts文件后面添加一行:
185.199.108.133 raw.Githubusercontent.com
這里的ip可能會(huì)變,需要自己去查下,查詢地址。
注意: 如果彈出密碼輸入框,你需要輸入你當(dāng)前登錄賬號(hào)對應(yīng)的密碼。
最后刷新緩存:
sudo killall -HUP mDNSResponder
Windows
hosts文件位置:C:/windows/system32/drivers/etc/hosts。
將前面hosts內(nèi)容追加到hosts文件,然后刷新DNS緩存:
ipconfig /flushdns
原文鏈接:https://blog.csdn.net/u014163312/article/details/124783357
相關(guān)推薦
- 2023-03-01 C++?使用?new?創(chuàng)建二維數(shù)組實(shí)例_C 語言
- 2022-08-19 Python包中__init__.py文件的作用與用法實(shí)例詳解_python
- 2022-10-30 go語言reflect.Type?和?reflect.Value?應(yīng)用示例詳解_Golang
- 2022-10-02 Android?NTP?時(shí)間同步機(jī)制詳解_Android
- 2022-04-22 react useState ,useEfffect設(shè)置元素高度,注意加單位
- 2022-07-27 詳解Python中Addict模塊的使用方法_python
- 2022-03-23 C++控制權(quán)限關(guān)鍵字protected_C 語言
- 2023-11-21 NVIDIA jetson nano/ Linux/ Ubuntu18.0.4 配置固定IP靜態(tài)IP
- 最近更新
-
- window11 系統(tǒng)安裝 yarn
- 超詳細(xì)win安裝深度學(xué)習(xí)環(huán)境2025年最新版(
- Linux 中運(yùn)行的top命令 怎么退出?
- MySQL 中decimal 的用法? 存儲(chǔ)小
- get 、set 、toString 方法的使
- @Resource和 @Autowired注解
- Java基礎(chǔ)操作-- 運(yùn)算符,流程控制 Flo
- 1. Int 和Integer 的區(qū)別,Jav
- spring @retryable不生效的一種
- Spring Security之認(rèn)證信息的處理
- Spring Security之認(rèn)證過濾器
- Spring Security概述快速入門
- Spring Security之配置體系
- 【SpringBoot】SpringCache
- Spring Security之基于方法配置權(quán)
- redisson分布式鎖中waittime的設(shè)
- maven:解決release錯(cuò)誤:Artif
- restTemplate使用總結(jié)
- Spring Security之安全異常處理
- MybatisPlus優(yōu)雅實(shí)現(xiàn)加密?
- Spring ioc容器與Bean的生命周期。
- 【探索SpringCloud】服務(wù)發(fā)現(xiàn)-Nac
- Spring Security之基于HttpR
- Redis 底層數(shù)據(jù)結(jié)構(gòu)-簡單動(dòng)態(tài)字符串(SD
- arthas操作spring被代理目標(biāo)對象命令
- Spring中的單例模式應(yīng)用詳解
- 聊聊消息隊(duì)列,發(fā)送消息的4種方式
- bootspring第三方資源配置管理
- GIT同步修改后的遠(yuǎn)程分支