{"action":"created","issue":{"url":"https://api.github.com/repos/Yelp/osxcollector/issues/99","labels_url":"https://api.github.com/repos/Yelp/osxcollector/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/Yelp/osxcollector/issues/99/comments","events_url":"https://api.github.com/repos/Yelp/osxcollector/issues/99/events","html_url":"https://github.com/Yelp/osxcollector/issues/99","id":102221855,"number":99,"title":"SSL errors when running analyze filter","user":{"login":"megancarney","id":10427988,"avatar_url":"https://avatars.githubusercontent.com/u/10427988?v=3","gravatar_id":"","url":"https://api.github.com/users/megancarney","html_url":"https://github.com/megancarney","followers_url":"https://api.github.com/users/megancarney/followers","following_url":"https://api.github.com/users/megancarney/following{/other_user}","gists_url":"https://api.github.com/users/megancarney/gists{/gist_id}","starred_url":"https://api.github.com/users/megancarney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megancarney/subscriptions","organizations_url":"https://api.github.com/users/megancarney/orgs","repos_url":"https://api.github.com/users/megancarney/repos","events_url":"https://api.github.com/users/megancarney/events{/privacy}","received_events_url":"https://api.github.com/users/megancarney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-08-20T19:50:19Z","updated_at":"2015-09-04T17:18:36Z","closed_at":null,"body":"Getting this when I run the analyze filter on my machine. I get the same errors on a fresh install of OS X (in a VM) with a fresh clone of osxcollector.\r\n```\r\n[ERROR] url[https://www.virustotal.com/vtapi/v2/file/report] status_code[<UNKNOWN>]\r\n[ERROR] url[https://www.virustotal.com/vtapi/v2/file/report] status_code[<UNKNOWN>]\r\n[ERROR] url[https://www.virustotal.com/vtapi/v2/file/report] status_code[<UNKNOWN>]\r\n[ERROR] url[https://www.virustotal.com/vtapi/v2/file/report] status_code[<UNKNOWN>]\r\n[ERROR] url[https://www.virustotal.com/vtapi/v2/file/report] status_code[<UNKNOWN>]\r\n[ERROR] url[https://www.virustotal.com/vtapi/v2/file/report] status_code[<UNKNOWN>]\r\n[ERROR] url[https://www.virustotal.com/vtapi/v2/file/report] status_code[<UNKNOWN>]\r\n[ERROR] url[https://www.virustotal.com/vtapi/v2/file/report] status_code[<UNKNOWN>]\r\n[ERROR] url[https://www.virustotal.com/vtapi/v2/file/report] status_code[<UNKNOWN>]\r\n[ERROR] url[https://www.virustotal.com/vtapi/v2/file/report] status_code[<UNKNOWN>]\r\n[ERROR] url[https://www.virustotal.com/vtapi/v2/file/report] status_code[<UNKNOWN>]\r\n[ERROR] url[https://www.virustotal.com/vtapi/v2/file/report] status_code[<UNKNOWN>]\r\nTraceback (most recent call last):\r\n  File \"/Users/<username>/osxcollector/venv_osxcollector2/lib/python2.7/site-packages/gevent/greenlet.py\", line 327, in run\r\n    result = self._run(*self.args, **self.kwargs)\r\n  File \"/Users/<username>/osxcollector/venv_osxcollector2/lib/python2.7/site-packages/grequests.py\", line 71, in send\r\n    self.url, **merged_kwargs)\r\n  File \"/Users/<username>/osxcollector/venv_osxcollector2/lib/python2.7/site-packages/requests/sessions.py\", line 465, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/Users/<username>/osxcollector/venv_osxcollector2/lib/python2.7/site-packages/requests/sessions.py\", line 573, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/Users/<username>/osxcollector/venv_osxcollector2/lib/python2.7/site-packages/requests/adapters.py\", line 431, in send\r\n    raise SSLError(e, request=request)\r\nSSLError: EOF occurred in violation of protocol (_ssl.c:590)\r\n<Greenlet at 0x11c74c730: <bound method AsyncRequest.send of <grequests.AsyncRequest object at 0x11c85bb90>>(stream=False)> failed with SSLError\r\n```\r\n\r\npip freeze:\r\naltgraph==0.12\r\naspy.yaml==0.2.1\r\nbackports.ssl-match-hostname==3.4.0.2\r\ncached-property==1.2.0\r\ncertifi==2015.4.28\r\ncffi==1.2.0\r\ncoverage==3.7.1\r\nfunctools32==3.2.3.post2\r\ngevent==1.0.2\r\ngreenlet==0.4.7\r\ngrequests==0.2.0\r\njsonschema==2.5.1\r\nmacholib==1.7\r\nmock==1.0.1\r\nmodulegraph==0.12.1\r\nnodeenv==0.13.3\r\nordereddict==1.1\r\npluggy==0.3.0\r\npre-commit==0.5.2\r\npy==1.4.30\r\npy2app==0.9\r\npycparser==2.14\r\npyflakes==0.9.1\r\npyobjc==3.0.4\r\npyobjc-core==3.0.4\r\npyobjc-framework-Accounts==3.0.4\r\npyobjc-framework-AddressBook==3.0.4\r\npyobjc-framework-AppleScriptKit==3.0.4\r\npyobjc-framework-AppleScriptObjC==3.0.4\r\npyobjc-framework-Automator==3.0.4\r\npyobjc-framework-CalendarStore==3.0.4\r\npyobjc-framework-CFNetwork==3.0.4\r\npyobjc-framework-Cocoa==3.0.4\r\npyobjc-framework-Collaboration==3.0.4\r\npyobjc-framework-CoreData==3.0.4\r\npyobjc-framework-CoreLocation==3.0.4\r\npyobjc-framework-CoreText==3.0.4\r\npyobjc-framework-CoreWLAN==3.0.4\r\npyobjc-framework-DictionaryServices==3.0.4\r\npyobjc-framework-DiskArbitration==3.0.4\r\npyobjc-framework-EventKit==3.0.4\r\npyobjc-framework-ExceptionHandling==3.0.4\r\npyobjc-framework-FSEvents==3.0.4\r\npyobjc-framework-InputMethodKit==3.0.4\r\npyobjc-framework-InstallerPlugins==3.0.4\r\npyobjc-framework-InstantMessage==3.0.4\r\npyobjc-framework-LatentSemanticMapping==3.0.4\r\npyobjc-framework-LaunchServices==3.0.4\r\npyobjc-framework-PreferencePanes==3.0.4\r\npyobjc-framework-PubSub==3.0.4\r\npyobjc-framework-QTKit==3.0.4\r\npyobjc-framework-Quartz==3.0.4\r\npyobjc-framework-ScreenSaver==3.0.4\r\npyobjc-framework-ScriptingBridge==3.0.4\r\npyobjc-framework-SearchKit==3.0.4\r\npyobjc-framework-ServiceManagement==3.0.4\r\npyobjc-framework-Social==3.0.4\r\npyobjc-framework-StoreKit==3.0.4\r\npyobjc-framework-SyncServices==3.0.4\r\npyobjc-framework-SystemConfiguration==3.0.4\r\npyobjc-framework-WebKit==3.0.4\r\nPyYAML==3.11\r\nrequests==2.7.0\r\nsimplejson==3.7.3\r\nsix==1.9.0\r\nSQLAlchemy==1.0.8\r\ntestify==0.7.2\r\nthreat-intel==0.1.3\r\ntldextract==1.6\r\ntornado==4.2.1\r\ntox==2.0.2\r\nvirtualenv==13.1.0\r\nwheel==0.24.0\r\nxattr==0.7.8\r\n\r\n$ python --version\r\nPython 2.7.10\r\n$ python -c 'import ssl; print ssl._OPENSSL_API_VERSION'\r\n(0, 9, 8, 29, 15)\r\n"},"comment":{"url":"https://api.github.com/repos/Yelp/osxcollector/issues/comments/137796882","html_url":"https://github.com/Yelp/osxcollector/issues/99#issuecomment-137796882","issue_url":"https://api.github.com/repos/Yelp/osxcollector/issues/99","id":137796882,"user":{"login":"megancarney","id":10427988,"avatar_url":"https://avatars.githubusercontent.com/u/10427988?v=3","gravatar_id":"","url":"https://api.github.com/users/megancarney","html_url":"https://github.com/megancarney","followers_url":"https://api.github.com/users/megancarney/followers","following_url":"https://api.github.com/users/megancarney/following{/other_user}","gists_url":"https://api.github.com/users/megancarney/gists{/gist_id}","starred_url":"https://api.github.com/users/megancarney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megancarney/subscriptions","organizations_url":"https://api.github.com/users/megancarney/orgs","repos_url":"https://api.github.com/users/megancarney/repos","events_url":"https://api.github.com/users/megancarney/events{/privacy}","received_events_url":"https://api.github.com/users/megancarney/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T17:18:36Z","updated_at":"2015-09-04T17:18:36Z","body":"Okay, I think I found the root cause:\r\nhttps://github.com/shazow/urllib3/blob/master/urllib3/connectionpool.py\r\n\r\nThe version of urllib bundled with requests (at least on my machine) raises a type exception error as it's trying to raise an SSL error, which leads to odd things happening. Like a response object that is entirely empty."}}