how to login this website

166 views
Skip to first unread message

b...@geekzone.cn

unread,
Mar 1, 2014, 12:15:18 PM3/1/14
to httpar...@googlegroups.com
https://account.xiaomi.com/pass/serviceLogin


# encoding: utf-8
require 'httparty'



C:/Ruby200/lib/ruby/2.0.0/net/http.rb:918:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
from C:/Ruby200/lib/ruby/2.0.0/net/http.rb:918:in `block in connect'
from C:/Ruby200/lib/ruby/2.0.0/timeout.rb:52:in `timeout'
from C:/Ruby200/lib/ruby/2.0.0/net/http.rb:918:in `connect'
from C:/Ruby200/lib/ruby/2.0.0/net/http.rb:862:in `do_start'
from C:/Ruby200/lib/ruby/2.0.0/net/http.rb:851:in `start'
from C:/Ruby200/lib/ruby/2.0.0/net/http.rb:1367:in `request'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/httparty-0.13.0/lib/httparty/request.rb:93:in `perform'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/httparty-0.13.0/lib/httparty.rb:499:in `perform_request'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/httparty-0.13.0/lib/httparty.rb:435:in `get'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/httparty-0.13.0/lib/httparty.rb:537:in `get'
from D:/qxiaomi/httparty_test.rb:4:in `<main>'
[Finished in 2.6s with exit code 1]
Reply all
Reply to author
Forward
0 new messages