{"action":"closed","issue":{"url":"https://api.github.com/repos/sheagcraig/python-jss/issues/37","labels_url":"https://api.github.com/repos/sheagcraig/python-jss/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/sheagcraig/python-jss/issues/37/comments","events_url":"https://api.github.com/repos/sheagcraig/python-jss/issues/37/events","html_url":"https://github.com/sheagcraig/python-jss/issues/37","id":77709284,"number":37,"title":"SSL related issue...","user":{"login":"everetteallen","id":5263924,"avatar_url":"https://avatars.githubusercontent.com/u/5263924?v=3","gravatar_id":"","url":"https://api.github.com/users/everetteallen","html_url":"https://github.com/everetteallen","followers_url":"https://api.github.com/users/everetteallen/followers","following_url":"https://api.github.com/users/everetteallen/following{/other_user}","gists_url":"https://api.github.com/users/everetteallen/gists{/gist_id}","starred_url":"https://api.github.com/users/everetteallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everetteallen/subscriptions","organizations_url":"https://api.github.com/users/everetteallen/orgs","repos_url":"https://api.github.com/users/everetteallen/repos","events_url":"https://api.github.com/users/everetteallen/events{/privacy}","received_events_url":"https://api.github.com/users/everetteallen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-18T15:56:16Z","updated_at":"2015-06-10T12:58:07Z","closed_at":"2015-06-10T12:58:07Z","body":"So looks like this could be related to other issues but since I am seeing it in autopkg, autopkgr, and spruce all showing  from python_jss-0.5.9-py2.7.egg/jss/jss.py.  Just started after the Casper 9.72 update.\r\nGetting:\r\nback:~ serveradmin$ defaults write com.github.autopkg JSS_VERIFY_SSL -bool True\r\nback:~ serveradmin$ /Users/serveradmin/Desktop/Spruce-1.0.1/Spruce.py --report\r\nTraceback (most recent call last):\r\n  File \"/Users/serveradmin/Desktop/Spruce-1.0.1/Spruce.py\", line 367, in <module>\r\n    main()\r\n  File \"/Users/serveradmin/Desktop/Spruce-1.0.1/Spruce.py\", line 358, in main\r\n    report(j, args.verbose)\r\n  File \"/Users/serveradmin/Desktop/Spruce-1.0.1/Spruce.py\", line 230, in report\r\n    all_policies = j.Policy().retrieve_all()\r\n  File \"/Library/Python/2.7/site-packages/python_jss-0.5.9-py2.7.egg/jss/jss.py\", line 394, in Policy\r\n    return self.factory.get_object(Policy, data)\r\n  File \"/Library/Python/2.7/site-packages/python_jss-0.5.9-py2.7.egg/jss/jss.py\", line 467, in get_object\r\n    result = self.jss.get(url)\r\n  File \"/Library/Python/2.7/site-packages/python_jss-0.5.9-py2.7.egg/jss/jss.py\", line 195, in get\r\n    self._error_handler(JSSGetError, response)\r\n  File \"/Library/Python/2.7/site-packages/python_jss-0.5.9-py2.7.egg/jss/jss.py\", line 179, in _error_handler\r\n    raise exception\r\njss.exceptions.JSSGetError: Response Code: 401\tResponse: Unauthorized. The request requires user authentication\r\n\r\nalso:\r\nback:~ serveradmin$ defaults read com.github.autopkg\r\n{\r\n    \"API_PASSWORD\" = uwish;\r\n    \"API_USERNAME\" = autopkgapi;\r\n    \"CACHE_DIR\" = \"/Users/serveradmin/Library/AutoPkg/Cache\";\r\n    \"GIT_PATH\" = \"/usr/local/git/bin/git\";\r\n    \"JSS_REPOS\" =     (\r\n                {\r\n            type = JDS;\r\n        }\r\n    );\r\n    \"JSS_URL\" = \"https://nc.jamfcloud.com:443\";\r\n    \"JSS_VERIFY_SSL\" = 1;\r\n\r\nNOTE: switching  to  \"JSS_VERIFY_SSL\" = 0 gives\r\nhundreds of these:\r\n/Library/Python/2.7/site-packages/python_jss-0.5.9-py2.7.egg/jss/contrib/requests/packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html\r\n  InsecureRequestWarning)\r\n\r\nAm I just missing some thing?  These smell like earlier reports but nothing I see there fixes or works around the issue.\r\n"}}