{"id":489,"date":"2018-12-07T14:24:08","date_gmt":"2018-12-07T06:24:08","guid":{"rendered":"http:\/\/localhost\/?p=489"},"modified":"2019-01-04T10:01:13","modified_gmt":"2019-01-04T02:01:13","slug":"ssl-routinesconnect_cr_srvr_hellowrong-version-number%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/www.ahomer.cn\/?p=489","title":{"rendered":"SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number\u95ee\u9898"},"content":{"rendered":"<p>\u6700\u8fd1\u5c1d\u8bd5\u4f7f\u7528crf++ \u8fdb\u884cNER\u8bad\u7ec3\uff0c\u5728mac\u73af\u5883\u4e0b\uff0c\u91c7\u7528brew\u5b89\u88c5<\/p>\n<pre><code>brew install crf++\n\u51fa\u73b0\u4ee5\u4e0b\u9519\u8bef\uff1a\nSSL routines:CONNECT_CR_SRVR_HELLO:wrong version number\n<\/code><\/pre>\n<p><strong>\u89e3\u51b3\u65b9\u6848\uff1a<\/strong><br \/>\n\u5728\u516c\u53f8\u4ee3\u7406\u73af\u5883\u4e0b\uff0c\u914d\u7f6e\u7684https\u4ee3\u7406\u662f\u6ca1\u5fc5\u8981\u7684\uff0c\u53ea\u9700\u8981 http\u4ee3\u7406\u5373\u53ef\uff0c\u76f8\u5173\u8bf4\u660e\uff1a<\/p>\n<p>Uses proxy env variable httpproxy == 'https:\/\/proxy.in.tum.de:8080'<br \/>\n                                         ^^^^^<br \/>\nThe https:\/\/ is wrong, it should be http:\/\/. The proxy itself should be accessed by HTTP and not HTTPS even though the target URL is HTTPS. The proxy will nevertheless properly handle HTTPS connection and keep the end-to-end encryption. See HTTP CONNECT method for details how this is done.<\/p>\n<p>https:\/\/stackoverflow.com\/questions\/50840101\/curl-35-error1408f10bssl-routinesssl3-get-recordwrong-version-number<\/p>\n<p><strong>But<\/strong><br \/>\nmac\u5b9e\u9a8c\uff0cterminal\u4e2d\u4f7f\u7528pip\u5b89\u88c5python\u7a0b\u5e8f\uff0chttps proxy\u8bbe\u7f6e\u8fd8\u662f\u5fc5\u8981\u7684\uff0c\u6240\u4ee5\u80af\u5b9a\u662f\u54ea\u91cc\u8bbe\u7f6e\u6709\u95ee\u9898\uff0c\u5bf9\u4e8ehttps\uff0c\u5176\u5b9e\u53ef\u4ee5\u8fd9\u4e48\u8bbe\u7f6e\uff1a<br \/>\nhttps_proxy='<strong>http:\/\/<\/strong>proxy.in.tum.de:8080'<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u5c1d\u8bd5\u4f7f\u7528crf++ \u8fdb\u884cNER\u8bad\u7ec3\uff0c\u5728mac\u73af\u5883\u4e0b\uff0c\u91c7\u7528brew\u5b89\u88c5 brew install crf++ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-489","post","type-post","status-publish","format-standard","hentry","category-program"],"_links":{"self":[{"href":"http:\/\/www.ahomer.cn\/index.php?rest_route=\/wp\/v2\/posts\/489","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.ahomer.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.ahomer.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.ahomer.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.ahomer.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=489"}],"version-history":[{"count":5,"href":"http:\/\/www.ahomer.cn\/index.php?rest_route=\/wp\/v2\/posts\/489\/revisions"}],"predecessor-version":[{"id":503,"href":"http:\/\/www.ahomer.cn\/index.php?rest_route=\/wp\/v2\/posts\/489\/revisions\/503"}],"wp:attachment":[{"href":"http:\/\/www.ahomer.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.ahomer.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=489"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.ahomer.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}