{"action":"created","issue":{"url":"https://api.github.com/repos/seveas/python-hpilo/issues/76","labels_url":"https://api.github.com/repos/seveas/python-hpilo/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/seveas/python-hpilo/issues/76/comments","events_url":"https://api.github.com/repos/seveas/python-hpilo/issues/76/events","html_url":"https://github.com/seveas/python-hpilo/issues/76","id":63834295,"number":76,"title":"connecting to an iLO with self-signed certificate on OSX","user":{"login":"rexroof","id":2665411,"avatar_url":"https://avatars.githubusercontent.com/u/2665411?v=3","gravatar_id":"","url":"https://api.github.com/users/rexroof","html_url":"https://github.com/rexroof","followers_url":"https://api.github.com/users/rexroof/followers","following_url":"https://api.github.com/users/rexroof/following{/other_user}","gists_url":"https://api.github.com/users/rexroof/gists{/gist_id}","starred_url":"https://api.github.com/users/rexroof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rexroof/subscriptions","organizations_url":"https://api.github.com/users/rexroof/orgs","repos_url":"https://api.github.com/users/rexroof/repos","events_url":"https://api.github.com/users/rexroof/events{/privacy}","received_events_url":"https://api.github.com/users/rexroof/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-23T21:14:57Z","updated_at":"2015-03-25T16:44:12Z","closed_at":null,"body":"This command works in fedora 21:\r\n```\r\n$ hpilo_cli -l Administrator -p secret 10.xxx.xxx.229  get_fw_version\r\n>>> pprint(my_ilo.get_fw_version())\r\n{'firmware_date': 'Nov 07 2014',\r\n 'firmware_version': '2.03',\r\n 'license_type': 'iLO 4 Advanced',\r\n 'management_processor': 'iLO4'}\r\n```\r\n\r\nbut on OSX 10.10 I get errors:\r\n\r\n```\r\n$ hpilo_cli -l Administrator -p secret 10.xxx.xxx.229  get_fw_version\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/hpilo_cli\", line 319, in <module>\r\n    main()\r\n  File \"/usr/local/bin/hpilo_cli\", line 206, in main\r\n    results = [getattr(ilo, method)(**params)]\r\n  File \"/Library/Python/2.7/site-packages/hpilo.py\", line 1038, in get_fw_version\r\n    return self._info_tag('RIB_INFO', 'GET_FW_VERSION')\r\n  File \"/Library/Python/2.7/site-packages/hpilo.py\", line 642, in _info_tag\r\n    header, message = self._request(root)\r\n  File \"/Library/Python/2.7/site-packages/hpilo.py\", line 201, in _request\r\n    self._detect_protocol()\r\n  File \"/Library/Python/2.7/site-packages/hpilo.py\", line 241, in _detect_protocol\r\n    header, data = self._communicate(b('<RIBCL VERSION=\"2.0\"></RIBCL>'), ILO_HTTP)\r\n  File \"/Library/Python/2.7/site-packages/hpilo.py\", line 435, in _communicate\r\n    sock.shutdown(socket.SHUT_RDWR)\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py\", line 292, in shutdown\r\n    socket.shutdown(self, how)\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py\", line 224, in meth\r\n    return getattr(self._sock,name)(*args)\r\nsocket.error: [Errno 57] Socket is not connected\r\n```\r\n\r\nAfter lots of debugging I'm wondering if it SSL related and if there is a known workaround.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/seveas/python-hpilo/issues/comments/86113562","html_url":"https://github.com/seveas/python-hpilo/issues/76#issuecomment-86113562","issue_url":"https://api.github.com/repos/seveas/python-hpilo/issues/76","id":86113562,"user":{"login":"seveas","id":200649,"avatar_url":"https://avatars.githubusercontent.com/u/200649?v=3","gravatar_id":"","url":"https://api.github.com/users/seveas","html_url":"https://github.com/seveas","followers_url":"https://api.github.com/users/seveas/followers","following_url":"https://api.github.com/users/seveas/following{/other_user}","gists_url":"https://api.github.com/users/seveas/gists{/gist_id}","starred_url":"https://api.github.com/users/seveas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seveas/subscriptions","organizations_url":"https://api.github.com/users/seveas/orgs","repos_url":"https://api.github.com/users/seveas/repos","events_url":"https://api.github.com/users/seveas/events{/privacy}","received_events_url":"https://api.github.com/users/seveas/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T16:44:12Z","updated_at":"2015-03-25T16:44:12Z","body":"Either is fine by me :)"}}