{"id":362013,"date":"2021-02-23T08:07:36","date_gmt":"2021-02-23T00:07:36","guid":{"rendered":"http:\/\/4563.org\/?p=362013"},"modified":"2021-02-23T08:07:36","modified_gmt":"2021-02-23T00:07:36","slug":"%e5%b0%8f%e7%99%bd%e6%b1%82%e5%8a%a9gunicorn-%e9%83%a8%e7%bd%b2-flask-%e6%9c%8d%e5%8a%a1gunicorn-%e7%9a%84%e6%97%a5%e5%bf%97%e7%bb%8f%e5%b8%b8%e6%8a%a5-socket-%e7%9a%84%e9%94%99%e8%af%af","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=362013","title":{"rendered":"\u5c0f\u767d\u6c42\u52a9,gunicorn \u90e8\u7f72 Flask \u670d\u52a1,gunicorn \u7684\u65e5\u5fd7\u7ecf\u5e38\u62a5 socket \u7684\u9519\u8bef"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5c0f\u767d\u6c42\u52a9,gunicorn \u90e8\u7f72 Flask \u670d\u52a1,gunicorn \u7684\u65e5\u5fd7\u7ecf\u5e38\u62a5 socket \u7684\u9519\u8bef               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dafuyang <\/span>  <span><i><\/i> 7<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>[2021-03-02 14:23:21 +0800] [22921] [ERROR] Socket error processing request. Traceback (most recent call last): File &#8220;\/usr\/bin\/python3\/lib\/python3.7\/site-packages\/gunicorn\/workers\/base_async.py&#8221;, line 65, in handle util.reraise(*sys.exc_info()) File &#8220;\/usr\/bin\/python3\/lib\/python3.7\/site-packages\/gunicorn\/util.py&#8221;, line 625, in reraise raise value File &#8220;\/usr\/bin\/python3\/lib\/python3.7\/site-packages\/gunicorn\/workers\/base_async.py&#8221;, line 48, in handle req = next(parser) File &#8220;\/usr\/bin\/python3\/lib\/python3.7\/site-packages\/gunicorn\/http\/parser.py&#8221;, line 41, in <strong>next<\/strong> self.mesg = self.mesg_class(self.cfg, self.unreader, self.req_count) File &#8220;\/usr\/bin\/python3\/lib\/python3.7\/site-packages\/gunicorn\/http\/message.py&#8221;, line 186, in <strong>init<\/strong> super().<strong>init<\/strong>(cfg, unreader) File &#8220;\/usr\/bin\/python3\/lib\/python3.7\/site-packages\/gunicorn\/http\/message.py&#8221;, line 53, in <strong>init<\/strong> unused = self.parse(self.unreader) File &#8220;\/usr\/bin\/python3\/lib\/python3.7\/site-packages\/gunicorn\/http\/message.py&#8221;, line 235, in parse self.headers = self.parse_headers(data[:idx]) File &#8220;\/usr\/bin\/python3\/lib\/python3.7\/site-packages\/gunicorn\/http\/message.py&#8221;, line 73, in parse_headers remote_addr = self.unreader.sock.getpeername() OSError: [Errno 107] Transport endpoint is not connected<\/p>\n<p>\u4f46\u662f\u4e1a\u52a1\u53c8\u6ca1\u5f71\u54cd\uff0c\u8bf7\u95ee\u662f\u4ec0\u4e48\u95ee\u9898\u5462\uff1f\u5f3a\u8feb\u75c7\u770b\u7740\u5f88\u4e0d\u723d\u3002\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>0<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5c0f\u767d\u6c42\u52a9,gunicorn \u90e8\u7f72 &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\/362013"}],"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=362013"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/362013\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=362013"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=362013"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=362013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}