{"action":"created","issue":{"url":"https://api.github.com/repos/furk/Furk-XBMC-Video-Plugin/issues/1","labels_url":"https://api.github.com/repos/furk/Furk-XBMC-Video-Plugin/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/furk/Furk-XBMC-Video-Plugin/issues/1/comments","events_url":"https://api.github.com/repos/furk/Furk-XBMC-Video-Plugin/issues/1/events","html_url":"https://github.com/furk/Furk-XBMC-Video-Plugin/pull/1","id":85451607,"number":1,"title":" Temporary fix for SSL certificate error","user":{"login":"abhinavkssk","id":1244193,"avatar_url":"https://avatars.githubusercontent.com/u/1244193?v=3","gravatar_id":"","url":"https://api.github.com/users/abhinavkssk","html_url":"https://github.com/abhinavkssk","followers_url":"https://api.github.com/users/abhinavkssk/followers","following_url":"https://api.github.com/users/abhinavkssk/following{/other_user}","gists_url":"https://api.github.com/users/abhinavkssk/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinavkssk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinavkssk/subscriptions","organizations_url":"https://api.github.com/users/abhinavkssk/orgs","repos_url":"https://api.github.com/users/abhinavkssk/repos","events_url":"https://api.github.com/users/abhinavkssk/events{/privacy}","received_events_url":"https://api.github.com/users/abhinavkssk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-05T06:33:24Z","updated_at":"2015-06-06T08:22:12Z","closed_at":"2015-06-06T08:22:12Z","pull_request":{"url":"https://api.github.com/repos/furk/Furk-XBMC-Video-Plugin/pulls/1","html_url":"https://github.com/furk/Furk-XBMC-Video-Plugin/pull/1","diff_url":"https://github.com/furk/Furk-XBMC-Video-Plugin/pull/1.diff","patch_url":"https://github.com/furk/Furk-XBMC-Video-Plugin/pull/1.patch"},"body":"This is a dirty fix to sidestep the certificate error being caused as hostname 'api.furk.net' doesn't match either of 'www.furk.net', 'furk.net' .\r\nThe error log is shown below.\r\n```\r\n-->Python callback/script returned the following error<--\r\n                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!\r\n                                            Error Type: <class 'ssl.CertificateError'>\r\n                                            Error Contents: hostname 'api.furk.net' doesn't match either of 'www.furk.net', 'furk.net'\r\n                                            Traceback (most recent call last):\r\n                                              File \"/home/abhi/.kodi/addons/Furk-XBMC-Video-Plugin-master/default.py\", line 260, in <module>\r\n                                                runner()\r\n                                              File \"/home/abhi/.kodi/addons/Furk-XBMC-Video-Plugin-master/default.py\", line 148, in runner\r\n                                                api_key = api.login(login=__settings__.getSetting('login'), pwd=__settings__.getSetting('password'))\r\n                                              File \"/home/abhi/.kodi/addons/Furk-XBMC-Video-Plugin-master/default.py\", line 74, in login\r\n                                                resp = self._call('login/login', {\"login\": login, \"pwd\": pwd})\r\n                                              File \"/home/abhi/.kodi/addons/Furk-XBMC-Video-Plugin-master/default.py\", line 80, in _call\r\n                                                body = self._fetch(url, params)\r\n                                              File \"/home/abhi/.kodi/addons/Furk-XBMC-Video-Plugin-master/default.py\", line 95, in _fetch\r\n                                                response = opener.open(req)\r\n                                              File \"/usr/lib/python2.7/urllib2.py\", line 431, in open\r\n                                                response = self._open(req, data)\r\n                                              File \"/usr/lib/python2.7/urllib2.py\", line 449, in _open\r\n                                                '_open', req)\r\n                                              File \"/usr/lib/python2.7/urllib2.py\", line 409, in _call_chain\r\n                                                result = func(*args)\r\n                                              File \"/usr/lib/python2.7/urllib2.py\", line 1240, in https_open\r\n                                                context=self._context)\r\n                                              File \"/usr/lib/python2.7/urllib2.py\", line 1194, in do_open\r\n                                                h.request(req.get_method(), req.get_selector(), req.data, headers)\r\n                                              File \"/usr/lib/python2.7/httplib.py\", line 1053, in request\r\n                                                self._send_request(method, url, body, headers)\r\n                                              File \"/usr/lib/python2.7/httplib.py\", line 1093, in _send_request\r\n                                                self.endheaders(body)\r\n                                              File \"/usr/lib/python2.7/httplib.py\", line 1049, in endheaders\r\n                                                self._send_output(message_body)\r\n                                              File \"/usr/lib/python2.7/httplib.py\", line 893, in _send_output\r\n                                                self.send(msg)\r\n                                              File \"/usr/lib/python2.7/httplib.py\", line 855, in send\r\n                                                self.connect()\r\n                                              File \"/usr/lib/python2.7/httplib.py\", line 1274, in connect\r\n                                                server_hostname=server_hostname)\r\n                                              File \"/usr/lib/python2.7/ssl.py\", line 352, in wrap_socket\r\n                                                _context=self)\r\n                                              File \"/usr/lib/python2.7/ssl.py\", line 579, in __init__\r\n                                                self.do_handshake()\r\n                                              File \"/usr/lib/python2.7/ssl.py\", line 816, in do_handshake\r\n                                                match_hostname(self.getpeercert(), self.server_hostname)\r\n                                              File \"/usr/lib/python2.7/ssl.py\", line 271, in match_hostname\r\n                                                % (hostname, ', '.join(map(repr, dnsnames))))\r\n                                            CertificateError: hostname 'api.furk.net' doesn't match either of 'www.furk.net', 'furk.net'\r\n                                            -->End of Python script error report<--\r\n```"},"comment":{"url":"https://api.github.com/repos/furk/Furk-XBMC-Video-Plugin/issues/comments/109552448","html_url":"https://github.com/furk/Furk-XBMC-Video-Plugin/pull/1#issuecomment-109552448","issue_url":"https://api.github.com/repos/furk/Furk-XBMC-Video-Plugin/issues/1","id":109552448,"user":{"login":"furk","id":615796,"avatar_url":"https://avatars.githubusercontent.com/u/615796?v=3","gravatar_id":"","url":"https://api.github.com/users/furk","html_url":"https://github.com/furk","followers_url":"https://api.github.com/users/furk/followers","following_url":"https://api.github.com/users/furk/following{/other_user}","gists_url":"https://api.github.com/users/furk/gists{/gist_id}","starred_url":"https://api.github.com/users/furk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/furk/subscriptions","organizations_url":"https://api.github.com/users/furk/orgs","repos_url":"https://api.github.com/users/furk/repos","events_url":"https://api.github.com/users/furk/events{/privacy}","received_events_url":"https://api.github.com/users/furk/received_events","type":"User","site_admin":false},"created_at":"2015-06-06T08:22:12Z","updated_at":"2015-06-06T08:22:12Z","body":"www.furk.net should be used instead. Fixed\r\nhttps://github.com/furk/Furk-XBMC-Video-Plugin/blob/master/default.py#L46"}}