{"action":"created","issue":{"url":"https://api.github.com/repos/SteveMcGrath/pySecurityCenter/issues/13","labels_url":"https://api.github.com/repos/SteveMcGrath/pySecurityCenter/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/SteveMcGrath/pySecurityCenter/issues/13/comments","events_url":"https://api.github.com/repos/SteveMcGrath/pySecurityCenter/issues/13/events","html_url":"https://github.com/SteveMcGrath/pySecurityCenter/issues/13","id":111484376,"number":13,"title":"AttributeError: 'module' object has no attribute 'SSLContext'","user":{"login":"crastinatorpro","id":15131081,"avatar_url":"https://avatars.githubusercontent.com/u/15131081?v=3","gravatar_id":"","url":"https://api.github.com/users/crastinatorpro","html_url":"https://github.com/crastinatorpro","followers_url":"https://api.github.com/users/crastinatorpro/followers","following_url":"https://api.github.com/users/crastinatorpro/following{/other_user}","gists_url":"https://api.github.com/users/crastinatorpro/gists{/gist_id}","starred_url":"https://api.github.com/users/crastinatorpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crastinatorpro/subscriptions","organizations_url":"https://api.github.com/users/crastinatorpro/orgs","repos_url":"https://api.github.com/users/crastinatorpro/repos","events_url":"https://api.github.com/users/crastinatorpro/events{/privacy}","received_events_url":"https://api.github.com/users/crastinatorpro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-14T20:22:43Z","updated_at":"2015-11-04T20:57:55Z","closed_at":null,"body":"SC4\r\nPython 2.6.6\r\npySecurityCenter-2.1.7\r\n\r\nReceiving the following module object errors:\r\n\r\n\r\n# python runcsv.py\r\nTraceback (most recent call last):\r\n  File \"runcsv.py\", line 30, in <module>\r\n    port=conf.getint('Settings', 'port'))\r\n  File \"build/bdist.linux-x86_64/egg/securitycenter/sc4.py\", line 112, in __init__\r\n  File \"build/bdist.linux-x86_64/egg/securitycenter/sc4.py\", line 920, in _system\r\n  File \"build/bdist.linux-x86_64/egg/securitycenter/sc4.py\", line 338, in raw_query\r\n  File \"build/bdist.linux-x86_64/egg/securitycenter/sc4.py\", line 296, in _request\r\nAttributeError: 'module' object has no attribute 'SSLContext'\r\n\r\n\r\n# python example.py \r\nTraceback (most recent call last):\r\n  File \"example.py\", line 11, in <module>\r\n    sc = securitycenter.SecurityCenter(host, username, password)\r\n  File \"build/bdist.linux-x86_64/egg/securitycenter/sc4.py\", line 112, in __init__\r\n  File \"build/bdist.linux-x86_64/egg/securitycenter/sc4.py\", line 920, in _system\r\n  File \"build/bdist.linux-x86_64/egg/securitycenter/sc4.py\", line 338, in raw_query\r\n  File \"build/bdist.linux-x86_64/egg/securitycenter/sc4.py\", line 296, in _request\r\nAttributeError: 'module' object has no attribute 'SSLContext'\r\n\r\n\r\n# python dns_populate.py\r\nTraceback (most recent call last):\r\n  File \"dns_populate.py\", line 28, in <module>\r\n    sc = SecurityCenter(host, username, password)\r\n  File \"build/bdist.linux-x86_64/egg/securitycenter/sc4.py\", line 112, in __init__\r\n  File \"build/bdist.linux-x86_64/egg/securitycenter/sc4.py\", line 920, in _system\r\n  File \"build/bdist.linux-x86_64/egg/securitycenter/sc4.py\", line 338, in raw_query\r\n  File \"build/bdist.linux-x86_64/egg/securitycenter/sc4.py\", line 296, in _request\r\nAttributeError: 'module' object has no attribute 'SSLContext'"},"comment":{"url":"https://api.github.com/repos/SteveMcGrath/pySecurityCenter/issues/comments/153863219","html_url":"https://github.com/SteveMcGrath/pySecurityCenter/issues/13#issuecomment-153863219","issue_url":"https://api.github.com/repos/SteveMcGrath/pySecurityCenter/issues/13","id":153863219,"user":{"login":"SteveMcGrath","id":254700,"avatar_url":"https://avatars.githubusercontent.com/u/254700?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveMcGrath","html_url":"https://github.com/SteveMcGrath","followers_url":"https://api.github.com/users/SteveMcGrath/followers","following_url":"https://api.github.com/users/SteveMcGrath/following{/other_user}","gists_url":"https://api.github.com/users/SteveMcGrath/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveMcGrath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveMcGrath/subscriptions","organizations_url":"https://api.github.com/users/SteveMcGrath/orgs","repos_url":"https://api.github.com/users/SteveMcGrath/repos","events_url":"https://api.github.com/users/SteveMcGrath/events{/privacy}","received_events_url":"https://api.github.com/users/SteveMcGrath/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T20:57:55Z","updated_at":"2015-11-04T20:57:55Z","body":"so I added code to check for the versions.  please try 2.1.8 and let me know how that operates on 2.6.6.  I'm currently waiting to switch over to a centos 6 vm to test..."}}