{"id":155467,"date":"2020-09-01T17:27:23","date_gmt":"2020-09-01T09:27:23","guid":{"rendered":"http:\/\/4563.org\/?p=155467"},"modified":"2020-09-01T17:27:23","modified_gmt":"2020-09-01T09:27:23","slug":"%e4%b8%80%e4%b8%aa%e7%a5%9e%e5%a5%87%e7%9a%84%e7%8e%b0%e8%b1%a1%ef%bc%8c-gank-io-v2-%e7%9a%84-api-ssl-%e6%8f%a1%e6%89%8b%e5%a4%b1%e8%b4%a5","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=155467","title":{"rendered":"\u4e00\u4e2a\u795e\u5947\u7684\u73b0\u8c61\uff0c Gank.io v2 \u7684 API SSL \u63e1\u624b\u5931\u8d25"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u4e00\u4e2a\u795e\u5947\u7684\u73b0\u8c61\uff0c Gank.io v2 \u7684 API SSL \u63e1\u624b\u5931\u8d25               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : b1iy <\/span>  <span><i><\/i> 6<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u8bbe\u5907\uff1a\u5c0f\u7c73 8Se\uff0cMIUI11\uff0cAndroid 10<\/p>\n<p>\u5c1d\u8bd5\u7528\u8fd9\u6b3e\u624b\u673a\u5b89\u88c5\u5176\u4ed6\u4eba\u5f00\u6e90\u7684 App\uff0c\u53ea\u8981\u662f\u8c03\u7528 v2 API ( https:\/\/gank.io\/api\/v2\/banners )\u90fd\u65e0\u6cd5\u6b63\u5e38\u83b7\u53d6\u6570\u636e\u3002 \u6781\u5c11\u6570\u60c5\u51b5\u4e0b\u6b63\u5e38\u8bbf\u95ee\u3002WiFi \u3001\u8702\u7a9d\u6570\u636e\u5df2\u6392\u9664\u3002\u767e\u5ea6\u7b49\u4e00\u5207\u90fd\u6b63\u5e38\u8bbf\u95ee\u3002 \u5c1d\u8bd5\u8bbe\u7f6e\u4e86 okHttp \u7684<code>connectionSpecs<\/code>\uff0c\u4e5f\u65e0\u6cd5\u6b63\u5e38\u8bbf\u95ee\u3002 \u7528 MIUI11 \u7cfb\u7edf\u6d4f\u89c8\u5668\uff0c\u4e5f\u65e0\u6cd5\u6b63\u5e38\u6253\u5f00\u3002\u5c06\u7cfb\u7edf\u6062\u590d\u51fa\u5382\u8bbe\u7f6e\uff0c\u4f9d\u7136\u9519\u8bef\u3002 \u6362\u7528\u6a21\u62df\u5668\uff0c\u4e00\u5207\u6b63\u5e38\u3002<\/p>\n<p>\u9519\u8bef\uff1a<\/p>\n<pre><code>javax.net.ssl.SSLHandshakeException: SSL handshake aborted: ssl=0x7a95df7ec8: I\/O error during system call, Connection reset by peer <\/code><\/pre>\n<p>\u5927\u4f6c\u4eec\u77e5\u9053\u662f\u5565\u95ee\u9898\u4e0d\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>1<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3293611\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zagfai <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5c31\u662f Connection reset by peer \u5427 \u5177\u4f53\u6293\u5305\u770b\u770b\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u4e2a\u795e\u5947\u7684\u73b0\u8c61\uff0c Gank.io &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/155467"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=155467"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/155467\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=155467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=155467"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=155467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}