Cocoapods: error: Connection reset by peer - SSL_connect

Created on 2 Sep 2019  Â·  4Comments  Â·  Source: CocoaPods/CocoaPods

I get an error after running the command
pod install --repo-update

[!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/deprecated_podspecs.txt, error: Connection reset by peer - SSL_connect

Xcode 10.3
version 1.8.0.beta.2

Most helpful comment

I found the reason of the problem for developers from Russia — it seems that something used in CocoaPods is blocked now by Roskomnadzor. I add to the ”/private/etc/hosts“ the line “142.93.108.123 cdn.cocoapods.org“, and it resolves the problem.

All 4 comments

Looks like a network issue on your part. I am sorry but this does not appear to be an issue with CocoaPods. You can also fallback to use git.

I have the same trouble after updating to 1.8

Got the same trouble:
image

Did the same as mentioned here for iOS & macOS

I found the reason of the problem for developers from Russia — it seems that something used in CocoaPods is blocked now by Roskomnadzor. I add to the ”/private/etc/hosts“ the line “142.93.108.123 cdn.cocoapods.org“, and it resolves the problem.

Was this page helpful?
0 / 5 - 0 ratings