{"action":"created","issue":{"url":"https://api.github.com/repos/ypid/lgcommander/issues/5","repository_url":"https://api.github.com/repos/ypid/lgcommander","labels_url":"https://api.github.com/repos/ypid/lgcommander/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/ypid/lgcommander/issues/5/comments","events_url":"https://api.github.com/repos/ypid/lgcommander/issues/5/events","html_url":"https://github.com/ypid/lgcommander/issues/5","id":214511583,"number":5,"title":"Connection refused Errno 111","user":{"login":"Domoteek","id":26444092,"avatar_url":"https://avatars3.githubusercontent.com/u/26444092?v=3","gravatar_id":"","url":"https://api.github.com/users/Domoteek","html_url":"https://github.com/Domoteek","followers_url":"https://api.github.com/users/Domoteek/followers","following_url":"https://api.github.com/users/Domoteek/following{/other_user}","gists_url":"https://api.github.com/users/Domoteek/gists{/gist_id}","starred_url":"https://api.github.com/users/Domoteek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Domoteek/subscriptions","organizations_url":"https://api.github.com/users/Domoteek/orgs","repos_url":"https://api.github.com/users/Domoteek/repos","events_url":"https://api.github.com/users/Domoteek/events{/privacy}","received_events_url":"https://api.github.com/users/Domoteek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-03-15T20:12:37Z","updated_at":"2017-03-16T06:31:13Z","closed_at":"2017-03-15T20:28:13Z","body":"Hi , \r\nI try all script all the Github. \r\nAlone your script work a little but i have some problem.\r\n\r\n`root@raspberrypi:/home/pi/lgcommander# python3 lg.py\r\n# DEBUG: Returned: HTTP/1.1 200 OK\r\nLocation: http://192.168.1.100:1909/\r\nCache-Control: max-age=1800\r\nServer: Linux/i686 UPnP/1,0 DLNADOC/1.50 LGE WebOS TV/Version 0.9\r\nEXT:\r\nUSN: uuid:xxxxx::urn:schemas-upnp-org:device:MediaRenderer:1\r\nST: urn:schemas-upnp-org:device:MediaRenderer:1\r\nDate: Wed, 15 Mar 2017 20:08:17 GMT\r\nDLNADeviceName.lge.com: %5bLG%5d%20webOS%20TV\r\n\r\n\r\n# DEBUG: Found device: 192.168.1.100\r\n# INFO: Using device: 192.168.1.100 over transport protocol: 8080/tcp\r\n# DEBUG: Detecting accepted protocol.\r\n# DEBUG: Trying to connect to port 3000/tcp\r\nTraceback (most recent call last):\r\n  File \"lg.py\", line 348, in <module>\r\n    main()\r\n  File \"lg.py\", line 305, in main\r\n    protocol=user_parms.protocol)\r\n  File \"lg.py\", line 70, in __init__\r\n    self.auto_detect_accepted_protocol()\r\n  File \"lg.py\", line 119, in auto_detect_accepted_protocol\r\n    raise Exception(\"Protocol not supported. See https://github.com/ypid/lgcommander/issues/1\")\r\nException: Protocol not supported. See https://github.com/ypid/lgcommander/issues/1\r\n`\r\nWhen i try  roap \r\n\r\n`root@raspberrypi:/home/pi/lgcommander# python3 lg.py -P roap\r\n# DEBUG: Returned: HTTP/1.1 200 OK\r\nLocation: http://192.168.1.100:1909/\r\nCache-Control: max-age=1800\r\nServer: Linux/i686 UPnP/1,0 DLNADOC/1.50 LGE WebOS TV/Version 0.9\r\nEXT:\r\nUSN: uuid:92eaf68f-ee7c-55f9-28ea-aa778c67192b::urn:schemas-upnp-org:device:MediaRenderer:1\r\nST: urn:schemas-upnp-org:device:MediaRenderer:1\r\nDate: Wed, 15 Mar 2017 20:09:41 GMT\r\nDLNADeviceName.lge.com: %5bLG%5d%20webOS%20TV\r\n\r\n\r\n# DEBUG: Found device: 192.168.1.100\r\n# INFO: Using device: 192.168.1.100 over transport protocol: 8080/tcp\r\n# DEBUG: No valid pairing key from user. Asking user …\r\n# DEBUG: Request device to show key on screen.\r\nTraceback (most recent call last):\r\n  File \"lg.py\", line 348, in <module>\r\n    main()\r\n  File \"lg.py\", line 314, in main\r\n    lg_remote.get_session_id(get_pairing_key_from_user(lg_remote))\r\n  File \"lg.py\", line 239, in get_pairing_key_from_user\r\n    lg_remote.display_key_on_screen()\r\n  File \"lg.py\", line 144, in display_key_on_screen\r\n    headers=self._headers)\r\n  File \"/usr/lib/python3.4/http/client.py\", line 1090, in request\r\n    self._send_request(method, url, body, headers)\r\n  File \"/usr/lib/python3.4/http/client.py\", line 1128, in _send_request\r\n    self.endheaders(body)\r\n  File \"/usr/lib/python3.4/http/client.py\", line 1086, in endheaders\r\n    self._send_output(message_body)\r\n  File \"/usr/lib/python3.4/http/client.py\", line 924, in _send_output\r\n    self.send(msg)\r\n  File \"/usr/lib/python3.4/http/client.py\", line 859, in send\r\n    self.connect()\r\n  File \"/usr/lib/python3.4/http/client.py\", line 836, in connect\r\n    self.timeout, self.source_address)\r\n  File \"/usr/lib/python3.4/socket.py\", line 509, in create_connection\r\n    raise err\r\n  File \"/usr/lib/python3.4/socket.py\", line 500, in create_connection\r\n    sock.connect(sa)\r\nConnectionRefusedError: [Errno 111] Connection refused\r\nroot@raspberrypi:/home/pi/lgcommander#\r\n`\r\nCan you help me ? "},"comment":{"url":"https://api.github.com/repos/ypid/lgcommander/issues/comments/286969616","html_url":"https://github.com/ypid/lgcommander/issues/5#issuecomment-286969616","issue_url":"https://api.github.com/repos/ypid/lgcommander/issues/5","id":286969616,"user":{"login":"ypid","id":1301158,"avatar_url":"https://avatars3.githubusercontent.com/u/1301158?v=3","gravatar_id":"","url":"https://api.github.com/users/ypid","html_url":"https://github.com/ypid","followers_url":"https://api.github.com/users/ypid/followers","following_url":"https://api.github.com/users/ypid/following{/other_user}","gists_url":"https://api.github.com/users/ypid/gists{/gist_id}","starred_url":"https://api.github.com/users/ypid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ypid/subscriptions","organizations_url":"https://api.github.com/users/ypid/orgs","repos_url":"https://api.github.com/users/ypid/repos","events_url":"https://api.github.com/users/ypid/events{/privacy}","received_events_url":"https://api.github.com/users/ypid/received_events","type":"User","site_admin":false},"created_at":"2017-03-16T06:31:13Z","updated_at":"2017-03-16T06:31:13Z","body":"I am sorry, I only understand English (and German). But I think you are saying that #1 is not very clear. Well, the script already said:\r\n\r\n> Exception: Protocol not supported. See #1 \r\n\r\nThe protocol is not supported. Does currently not work with this script. I looked into the protocol but it is a completely different one and I don’t have a device to test with and no intention to add support for it myself."}}
{"actor":{"display_login":"ypid"}}