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
- response from oracleOracle
- SpringMVC 404:Bad requestSpringMVC
- .woff HTTP GET 404 (Not Found)HTTP
- Vue腳手架建立專案出現 (Failed to download repo vuejs-templates/webpack: Response code 404)VueAIJSWeb
- 解決angular安裝 unable to access 'https:github...' Empty reply from serverAngularHTTPGithubServer
- 404 not found 怎麼翻譯?
- Error response from daemon: Get "https://registry-1.docker.io/v2/": netErrorHTTPDocker
- docker image rm發生錯誤 Error response from daemon: conflict: unable to remove repository referenceDockerErrorREM
- Export data from a data blockExportBloC
- data server manager download pageServer
- 解決Unable to download https://packagecontrol.io/channel_v3.json after 3 attemptsHTTPPackageJSON
- 解決docker: Error response from daemon故障DockerError
- bad JSON array format - found no opening bracketJSONORMRacket
- 你的 .svg 檔案是否也 404 Not Found ?SVG
- axios response data 返回空字串iOS字串
- No Response from the Server, Does it Hang or Spin? (Doc ID 68738.1)Server
- Get data style from ExcelExcel
- Unload data from oracleOracle
- get_data_from_yml
- GPG key retrieval failed: [Errno 14] HTTP Error 404: Not FoundAIHTTPError
- 安裝網站出現404 not found如何解決?網站
- Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.dockerErrorHTTPDockerTCP
- 高手sos!!! Unable to load document from file...
- docker無法拉取(pull)映象Error response from daemonDockerError
- SQL*Net more data from clientSQLclient
- 404 not found是什麼意思?該怎麼解決?
- How to migrate data from Oracle to MSSQLSERVEROracleSQLServer
- OAF export data from VO in xlsx formatExportORM
- ORACLE SELECT INTO NO_DATA_FOUND問題Oracle
- NO_DATA_FOUND和%NOTFOUND的區別
- nginx: 400 Bad Request | The plain HTTP request was sent to HTTPS portNginxAIHTTP
- How to get ORACLE_HOME from data dictionaryOracle
- Unload data to a flat file from Oracle databaseOracleDatabase
- 解決docker啟動映象報錯:docker: Error response from daemonDockerError
- Docker 啟動 Centos 映象 提示"Error response from daemon: No command specified"DockerCentOSError
- 奇怪了,nginx環境下安裝第3部提示404 Not FoundNginx
- 如何讓Spring MVC顯示自定義的404 Not Found頁面SpringMVC