Unable to download data from https://gems.ruby-china.org/ - bad response Not Found 404
問題:
升級Cocospod的時候,報錯。
環境
os: Mojave10.14.4
cocospod:1.6.0beta
報錯:
ERROR: Could not find a valid gem 'cocoapods' (= 1.6.1), here is why:
Unable to download data from https://gems.ruby-china.org/ - bad response Not Found 404 (https://gems.ruby-china.org/specs.4.8.gz)
原因:
https://gems.ruby-china.org 映象404了,不提供服務。
嘗試:
嘗試(更換淘寶映象),發現淘寶映象2018.12停止服務。
下面試錯誤過程:
NvrdeiMac:ValidateSwift nvr$ gem sources --remove https://gems.ruby-china.org/
https://gems.ruby-china.org/ removed from sources
NvrdeiMac:ValidateSwift nvr$ gem source -l
*** CURRENT SOURCES ***
NvrdeiMac:ValidateSwift nvr$ gem sources -a https://ruby.taobao.org/
ERROR: SSL verification error at depth 0: certificate has expired (10)
ERROR: Certificate /C=CN/ST=ZheJiang/L=HangZhou/O=Alibaba (China) Technology Co., Ltd./CN=*.taobao.org expired at 2018-12-05T03:16:02Z
Error fetching https://ruby.taobao.org/:
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://ruby.taobao.org/specs.4.8.gz)
解決:
gem sources -a https://rubygems.org/
新增源來的ruby映象,感覺速度不慢了。畢竟ruby-china也關了。
相關文章
- 設定Ruby報錯bad response Not Found 404
- sublime出現 unable download.......
- docker image rm發生錯誤 Error response from daemon: conflict: unable to remove repository referenceDockerErrorREM
- 解決Unable to download https://packagecontrol.io/channel_v3.json after 3 attemptsHTTPPackageJSON
- 解決angular安裝 unable to access 'https:github...' Empty reply from serverAngularHTTPGithubServer
- Vue腳手架建立專案出現 (Failed to download repo vuejs-templates/webpack: Response code 404)VueAIJSWeb
- response()->download();下載中途終止
- Error response from daemon: Get "https://registry-1.docker.io/v2/": netErrorHTTPDocker
- axios response data 返回空字串iOS字串
- 解決docker: Error response from daemon故障DockerError
- get_data_from_yml
- Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.dockerErrorHTTPDockerTCP
- ORA-00923: FROM keyword not found where expected
- docker無法拉取(pull)映象Error response from daemonDockerError
- ORACLE SELECT INTO NO_DATA_FOUND問題Oracle
- 安裝網站出現404 not found如何解決?網站
- OAF export data from VO in xlsx formatExportORM
- NO_DATA_FOUND和%NOTFOUND的區別
- 【等待事件】SQL*Net more data from dblink事件SQL
- [wget] HTTP request sent, awaiting response... No data received.wgetHTTPAI
- Unable to read TLD "META-INF/c.tld" from JAR fileJAR
- Failed: error reading separator after document # 1: bad JSON array format - found no opening brackAIErrorJSONORM
- 解決Cannot download “https://github.com/sass/node-sass/releases/download/binding.nod的問題HTTPGithub
- 解決docker啟動映象報錯:docker: Error response from daemonDockerError
- 如何讓Spring MVC顯示自定義的404 Not Found頁面SpringMVC
- 解決nltk_data LookupError: Resource punkt not found.Error
- Unable to execute SonarScanner analysis: Fail to get bootstrap index from server: Host is unreachable(Host unreachable)AIbootIndexServer
- Unable to unwrap data, invalid status [CLOSED]-服務端webSocket報錯服務端Web
- yii2 Unable to verify your data submission錯誤解決
- 奇怪了,nginx環境下安裝第3部提示404 Not FoundNginx
- MySQL主從複製報錯:Got fatal error 1236 from master when reading data fromMySqlGoErrorAST
- 【轉載】使用 BAPI_BUPA_CREATE_FROM_DATA 建立BPAPI
- [20180918]等待事件SQL/Net more data from client.txt事件SQLclient
- [20180925]等待事件SQLNet more data from client 6.txt事件SQLclient
- [20180922]等待事件SQLNet more data from client 4.txt事件SQLclient
- [20180920]等待事件SQLNet more data from client 3.txt事件SQLclient
- [20180926]等待事件SQLNet more data from client 7.txt事件SQLclient
- How To Replicate Data from Oracle to Postgres Using GoldenGate (Doc ID 1544137.1OracleGo