New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish貌似SSL证书报错 #122

Closed
smilelu opened this Issue Mar 22, 2017 · 8 comments

Comments

Projects
None yet
7 participants
@smilelu
Copy link

smilelu commented Mar 22, 2017

I, [2017-03-22T14:52:22.941812 #5523] INFO -- : Publishing app via xxxxx@xxxxx.com.......
I, [2017-03-22T14:52:22.941874 #5523] INFO -- : ✈ -------------------------------------------- ✈
security: SecPolicySetValue: One or more parameters passed to a function were not valid.
I, [2017-03-22T14:52:24.235641 #5523] INFO -- : Fetching xxxxxxxxxxx@fir.im uploading info......
I, [2017-03-22T14:52:24.235690 #5523] INFO -- : Uploading app: xxxxx-1.8.0(Build 21)
warning: Overriding "Content-Type" header "application/json" with "application/x-www-form-urlencoded" due to payload
I, [2017-03-22T14:52:24.391240 #5523] INFO -- : Uploading app icon......
I, [2017-03-22T14:52:24.391307 #5523] INFO -- : Converting app's icon......
warning: Overriding "Content-Type" header "application/json" with "multipart/form-data; boundary=----RubyFormBoundary5Nrkzv6mD2WBtbun" due to payload
E, [2017-03-22T14:52:26.290432 #5523] ERROR -- : SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
I, [2017-03-22T14:52:26.290474 #5523] INFO -- : Retry 1 times......
E, [2017-03-22T14:52:28.292145 #5523] ERROR -- : closed stream
I, [2017-03-22T14:52:28.292181 #5523] INFO -- : Retry 2 times......
E, [2017-03-22T14:52:30.297601 #5523] ERROR -- : closed stream
I, [2017-03-22T14:52:30.297640 #5523] INFO -- : Retry 3 times......
E, [2017-03-22T14:52:32.302348 #5523] ERROR -- : closed stream
I, [2017-03-22T14:52:32.302380 #5523] INFO -- : Retry 4 times......
E, [2017-03-22T14:52:34.305253 #5523] ERROR -- : closed stream
I, [2017-03-22T14:52:34.305285 #5523] INFO -- : Retry 5 times......
E, [2017-03-22T14:52:36.309235 #5523] ERROR -- : closed stream

@newbdez33

This comment has been minimized.

Copy link

newbdez33 commented Mar 23, 2017

same here

@JesseZhu

This comment has been minimized.

Copy link

JesseZhu commented Mar 28, 2017

SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

@newbdez33

This comment has been minimized.

Copy link

newbdez33 commented Apr 5, 2017

应该是用了系统的ruby版本导致的,换个rvm环境就可以,比如:
rvm use ruby-2.2.3

@zhaochangwu

This comment has been minimized.

Copy link

zhaochangwu commented Apr 6, 2017

我又出现了相同的问题, 问题解决了吗, 换了rvm环境 也没用

@youyisx

This comment has been minimized.

Copy link

youyisx commented May 18, 2017

这个问题怎么解啊,我也遇到了,切ruby环境也没有

@smilelu

This comment has been minimized.

Copy link
Author

smilelu commented May 18, 2017

到现在也没解决,😭,换ruby版本没用

@youyisx

This comment has been minimized.

Copy link

youyisx commented May 18, 2017

Install Homebrew:

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install RVM:

$ \curl -sSL https://get.rvm.io | bash -s stable --ruby

$ gem install fir-cli
$ export PATH=/usr/local/bin:$PATH;gem install -n /usr/local/bin fir-cli
$ echo 'gem: --bindir /usr/local/bin' >> ~/.gemrc
$ gem install fir-cli

重新按这个流程走了一次,然后重启,就好了....

@mengxianliang

This comment has been minimized.

Copy link

mengxianliang commented Jun 6, 2017

我也遇到了这样的情况,最后在RubyChina (https://gems.ruby-china.org) 上找到了解决办法。原文是:如果遇到 SSL 证书问题,你又无法解决,请直接用 http://gems.ruby-china.org 避免 SSL 的问题。
1、先看一下自己使用的ruby源地址
$ gem source -l
如果是 https://gems.ruby-china.org
执行下一步
2、删除这个原地址
$ gem source -r https://gems.ruby-china.org
3、添加新地址
$ gem source -a http://gems.ruby-china.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment