{"action":"created","issue":{"url":"https://api.github.com/repos/drzoidberg33/plexpy/issues/394","labels_url":"https://api.github.com/repos/drzoidberg33/plexpy/issues/394/labels{/name}","comments_url":"https://api.github.com/repos/drzoidberg33/plexpy/issues/394/comments","events_url":"https://api.github.com/repos/drzoidberg33/plexpy/issues/394/events","html_url":"https://github.com/drzoidberg33/plexpy/issues/394","id":123487095,"number":394,"title":"Telegram notification error","user":{"login":"HamilcarH","id":11900737,"avatar_url":"https://avatars.githubusercontent.com/u/11900737?v=3","gravatar_id":"","url":"https://api.github.com/users/HamilcarH","html_url":"https://github.com/HamilcarH","followers_url":"https://api.github.com/users/HamilcarH/followers","following_url":"https://api.github.com/users/HamilcarH/following{/other_user}","gists_url":"https://api.github.com/users/HamilcarH/gists{/gist_id}","starred_url":"https://api.github.com/users/HamilcarH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HamilcarH/subscriptions","organizations_url":"https://api.github.com/users/HamilcarH/orgs","repos_url":"https://api.github.com/users/HamilcarH/repos","events_url":"https://api.github.com/users/HamilcarH/events{/privacy}","received_events_url":"https://api.github.com/users/HamilcarH/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/drzoidberg33/plexpy/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-22T14:06:13Z","updated_at":"2015-12-28T09:46:15Z","closed_at":null,"body":"Hi, I'm trying to set up telegram notifications and I get this error using 1.2.15:\r\n\r\n> Uncaught exception: Traceback (most recent call last):\r\nFile \"/opt/plexpy/plexpy/logger.py\", line 210, in new_run\r\nold_run(*args, **kwargs)\r\nFile \"/usr/lib/python2.7/threading.py\", line 763, in run\r\nself.__target(*self.__args, **self.__kwargs)\r\nFile \"/opt/plexpy/plexpy/notification_handler.py\", line 130, in notify\r\nbody=notify_strings[1])\r\nFile \"/opt/plexpy/plexpy/notifiers.py\", line 400, in send_notification\r\ntelegramClient.notify(message=body, event=subject)\r\nFile \"/opt/plexpy/plexpy/notifiers.py\", line 1535, in notify\r\nbody=urlencode(data))\r\nFile \"/usr/lib/python2.7/httplib.py\", line 979, in request\r\nself._send_request(method, url, body, headers)\r\nFile \"/usr/lib/python2.7/httplib.py\", line 1013, in _send_request\r\nself.endheaders(body)\r\nFile \"/usr/lib/python2.7/httplib.py\", line 975, in endheaders\r\nself._send_output(message_body)\r\nFile \"/usr/lib/python2.7/httplib.py\", line 835, in _send_output\r\nself.send(msg)\r\nFile \"/usr/lib/python2.7/httplib.py\", line 797, in send\r\nself.connect()\r\nFile \"/usr/lib/python2.7/httplib.py\", line 1178, in connect\r\nself.timeout, self.source_address)\r\nFile \"/usr/lib/python2.7/socket.py\", line 553, in create_connection\r\nfor res in getaddrinfo(host, port, 0, SOCK_STREAM):\r\ngaierror: [Errno -2] Name or service not known\r\n\r\nMy telegram bot isn't receiving anything, everything seems to be configured correctly.\r\n\r\nthanks for your help !"},"comment":{"url":"https://api.github.com/repos/drzoidberg33/plexpy/issues/comments/167528241","html_url":"https://github.com/drzoidberg33/plexpy/issues/394#issuecomment-167528241","issue_url":"https://api.github.com/repos/drzoidberg33/plexpy/issues/394","id":167528241,"user":{"login":"HamilcarH","id":11900737,"avatar_url":"https://avatars.githubusercontent.com/u/11900737?v=3","gravatar_id":"","url":"https://api.github.com/users/HamilcarH","html_url":"https://github.com/HamilcarH","followers_url":"https://api.github.com/users/HamilcarH/followers","following_url":"https://api.github.com/users/HamilcarH/following{/other_user}","gists_url":"https://api.github.com/users/HamilcarH/gists{/gist_id}","starred_url":"https://api.github.com/users/HamilcarH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HamilcarH/subscriptions","organizations_url":"https://api.github.com/users/HamilcarH/orgs","repos_url":"https://api.github.com/users/HamilcarH/repos","events_url":"https://api.github.com/users/HamilcarH/events{/privacy}","received_events_url":"https://api.github.com/users/HamilcarH/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T09:46:15Z","updated_at":"2015-12-28T09:46:15Z","body":"I've double checked my bot token and chat ID, same result.\r\n\r\nSubject Line is: Recently Added\r\n\r\nMessage Body is: <movie>{title} ({year})\r\n\r\nDirected by: {directors}\r\n\r\nStarring: {actors}\r\n\r\n{summary}</movie>\r\n<tv>{show_name} S{season_num00}E{episode_num00} {episode_name}.\r\n\r\n{summary}</tv>\r\n<music>{album_name} ({year}) from {artist_name}.</music>\r\n\r\nI've tried pushbullet without success."}}