发送统计失败:SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: sslv3 alert handshake failure

Failed to send stats: SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: sslv3 alert handshake failure

我的开发环境是gem --version(2.0.14)pod --version(0.38.2)。使用CocoaPods安装第三方库时,

pod install --verbose --no-update

我收到如下错误:

  Preparing

Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods`: (``)

Finding Podfile changes
  - AFNetworking
  - Masonry
  - NIMSDK

Resolving dependencies of `Podfile`

Comparing resolved specification to the sandbox manifest
  - AFNetworking
  - Masonry
  - NIMSDK

Downloading dependencies

-> Using AFNetworking (2.5.4)

-> Using Masonry (0.6.2)

-> Using NIMSDK (1.2.0)
  - Running pre install hooks

Generating Pods project
  - Creating Pods project
  - Adding source files to Pods project
  - Adding frameworks to Pods project
  - Adding libraries to Pods project
  - Adding resources to Pods project
  - Linking headers
  - Installing targets
    - Installing target `AFNetworking` iOS 7.0
    - Installing target `Masonry` iOS 7.0
    - Installing target `Pods` iOS 7.0
  - Running post install hooks
  - Writing Xcode project file to `Pods/Pods.xcodeproj`
  - Writing Lockfile in `Podfile.lock`
  - Writing Manifest in `Pods/Manifest.lock`

Integrating client project

Integrating target `Pods` (`XXXX.xcodeproj` project)
  - Running post install hooks
    - cocoapods-stats from `/Library/Ruby/Gems/2.0.0/gems/cocoapods-stats-0.5.3/lib/cocoapods_plugin.rb`

Sending stats
      - AFNetworking, 2.5.4
      - Masonry, 0.6.2
      - NIMSDK, 1.2.0
      Failed to send stats:  SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: sslv3 alert handshake failure

我试过重新安装CocoaPods,但是没用。而且我也在网上搜索过,试图找到解决错误的方法,但没有合适的答案。有没有人知道如何解决这个问题?提前致谢。

就我而言(我使用的是 0.38.2),升级到 0.39.beta 可以解决问题。

cocoaPods 版本 0.38.x 似乎有错误。当您执行 pod install 时,您将始终收到此消息“发送统计失败:SSL_connect 返回=1 errno=0 状态=SSLv2/v3 读取服务器问候 A:sslv3 警报握手失败”提示.

当我使用pod install --verbose --no-update时,当我使用pod install[时发送stats.But失败,成功了。