{"action":"created","issue":{"url":"https://api.github.com/repos/scrapy/scrapy/issues/3437","repository_url":"https://api.github.com/repos/scrapy/scrapy","labels_url":"https://api.github.com/repos/scrapy/scrapy/issues/3437/labels{/name}","comments_url":"https://api.github.com/repos/scrapy/scrapy/issues/3437/comments","events_url":"https://api.github.com/repos/scrapy/scrapy/issues/3437/events","html_url":"https://github.com/scrapy/scrapy/issues/3437","id":365184680,"node_id":"MDU6SXNzdWUzNjUxODQ2ODA=","number":3437,"title":"TLS handshake failure","user":{"login":"mikesxf","id":20496884,"node_id":"MDQ6VXNlcjIwNDk2ODg0","avatar_url":"https://avatars3.githubusercontent.com/u/20496884?v=4","gravatar_id":"","url":"https://api.github.com/users/mikesxf","html_url":"https://github.com/mikesxf","followers_url":"https://api.github.com/users/mikesxf/followers","following_url":"https://api.github.com/users/mikesxf/following{/other_user}","gists_url":"https://api.github.com/users/mikesxf/gists{/gist_id}","starred_url":"https://api.github.com/users/mikesxf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikesxf/subscriptions","organizations_url":"https://api.github.com/users/mikesxf/orgs","repos_url":"https://api.github.com/users/mikesxf/repos","events_url":"https://api.github.com/users/mikesxf/events{/privacy}","received_events_url":"https://api.github.com/users/mikesxf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-30T02:29:41Z","updated_at":"2018-09-30T02:51:06Z","closed_at":null,"author_association":"NONE","body":"Hi\r\nI'm getting a handshake failure when running:\r\n`scrapy shell https://androidappsapk.co`\r\n\r\nand the results:\r\n`Traceback (most recent call last):\r\n  File \"/usr/local/bin/scrapy\", line 11, in <module>\r\n    sys.exit(execute())\r\n  File \"/usr/local/lib/python2.7/dist-packages/scrapy/cmdline.py\", line 149, in execute\r\n    _run_print_help(parser, _run_command, cmd, args, opts)\r\n  File \"/usr/local/lib/python2.7/dist-packages/scrapy/cmdline.py\", line 89, in _run_print_help\r\n    func(*a, **kw)\r\n  File \"/usr/local/lib/python2.7/dist-packages/scrapy/cmdline.py\", line 156, in _run_command\r\n    cmd.run(args, opts)\r\n  File \"/usr/local/lib/python2.7/dist-packages/scrapy/commands/shell.py\", line 73, in run\r\n    shell.start(url=url, redirect=not opts.no_redirect)\r\n  File \"/usr/local/lib/python2.7/dist-packages/scrapy/shell.py\", line 48, in start\r\n    self.fetch(url, spider, redirect=redirect)\r\n  File \"/usr/local/lib/python2.7/dist-packages/scrapy/shell.py\", line 115, in fetch\r\n    reactor, self._schedule, request, spider)\r\n  File \"/usr/lib/python2.7/dist-packages/twisted/internet/threads.py\", line 122, in blockingCallFromThread\r\n    result.raiseException()\r\n  File \"<string>\", line 2, in raiseException\r\ntwisted.web._newclient.ResponseNeverReceived: [<twisted.python.failure.Failure <class 'OpenSSL.SSL.Error'>>]`\r\n\r\nI have read many issues about this problem, but I am sorry that I can't get the point on how to solve it. And I wonder whether it can be solved by updating `scrapy` or `openssl` as I am using old version of `scrapy` and `openssl`. My environment:\r\n`Scrapy    : 1.4.0\r\nlxml      : 3.3.3.0\r\nlibxml2   : 2.9.1\r\ncssselect : 1.0.1\r\nparsel    : 1.2.0\r\nw3lib     : 1.17.0\r\nTwisted   : 13.2.0\r\nPython    : 2.7.6 (default, Oct 26 2016, 20:30:19) - [GCC 4.8.4]\r\npyOpenSSL : 0.13 (OpenSSL 1.0.1f 6 Jan 2014)\r\nPlatform  : Linux-3.13.0-144-generic-x86_64-with-Ubuntu-14.04-trusty`\r\n\r\nWhen I use wireshark to capture the traffic, it shows that after `client hello`, server return\r\n`TLSv1 Record Layer: Alert (Level: Fatal, Description: Handshake Failure)`"},"comment":{"url":"https://api.github.com/repos/scrapy/scrapy/issues/comments/425689837","html_url":"https://github.com/scrapy/scrapy/issues/3437#issuecomment-425689837","issue_url":"https://api.github.com/repos/scrapy/scrapy/issues/3437","id":425689837,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTY4OTgzNw==","user":{"login":"mikesxf","id":20496884,"node_id":"MDQ6VXNlcjIwNDk2ODg0","avatar_url":"https://avatars3.githubusercontent.com/u/20496884?v=4","gravatar_id":"","url":"https://api.github.com/users/mikesxf","html_url":"https://github.com/mikesxf","followers_url":"https://api.github.com/users/mikesxf/followers","following_url":"https://api.github.com/users/mikesxf/following{/other_user}","gists_url":"https://api.github.com/users/mikesxf/gists{/gist_id}","starred_url":"https://api.github.com/users/mikesxf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikesxf/subscriptions","organizations_url":"https://api.github.com/users/mikesxf/orgs","repos_url":"https://api.github.com/users/mikesxf/repos","events_url":"https://api.github.com/users/mikesxf/events{/privacy}","received_events_url":"https://api.github.com/users/mikesxf/received_events","type":"User","site_admin":false},"created_at":"2018-09-30T02:51:06Z","updated_at":"2018-09-30T02:51:06Z","author_association":"NONE","body":"I wonder why it shows in one line?"}}
{"actor":{"display_login":"mikesxf"}}