{"action":"created","issue":{"url":"https://api.github.com/repos/wardellchandler/HangoutsBot/issues/37","labels_url":"https://api.github.com/repos/wardellchandler/HangoutsBot/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/wardellchandler/HangoutsBot/issues/37/comments","events_url":"https://api.github.com/repos/wardellchandler/HangoutsBot/issues/37/events","html_url":"https://github.com/wardellchandler/HangoutsBot/issues/37","id":85628946,"number":37,"title":"issue w/ 8080?","user":{"login":"polarizeme","id":2906212,"avatar_url":"https://avatars.githubusercontent.com/u/2906212?v=3","gravatar_id":"","url":"https://api.github.com/users/polarizeme","html_url":"https://github.com/polarizeme","followers_url":"https://api.github.com/users/polarizeme/followers","following_url":"https://api.github.com/users/polarizeme/following{/other_user}","gists_url":"https://api.github.com/users/polarizeme/gists{/gist_id}","starred_url":"https://api.github.com/users/polarizeme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polarizeme/subscriptions","organizations_url":"https://api.github.com/users/polarizeme/orgs","repos_url":"https://api.github.com/users/polarizeme/repos","events_url":"https://api.github.com/users/polarizeme/events{/privacy}","received_events_url":"https://api.github.com/users/polarizeme/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-05T20:45:20Z","updated_at":"2015-06-08T16:13:39Z","closed_at":"2015-06-08T12:11:06Z","body":"I'm not really sure what's going on, to be honest. Ha.\r\n\r\nI'm using HangoutsBot and hangups.\r\n\r\nWhen running the hangups adapter I was getting no response from the bot, so I decided to just run HangoutsBot (Main.py) and see if there were any errors occurring.\r\n\r\nWhen I run Main.py, things start off just fine:\r\n\r\n```\r\nYou're logged in!\r\n[05/Jun/2015:20:33:01] ENGINE Listening for SIGTERM.\r\n[05/Jun/2015:20:33:01] ENGINE Listening for SIGUSR1.\r\n[05/Jun/2015:20:33:01] ENGINE Listening for SIGHUP.\r\n[05/Jun/2015:20:33:01] ENGINE Bus STARTING\r\n[05/Jun/2015:20:33:01] ENGINE Started monitor thread 'Autoreloader'.\r\n[05/Jun/2015:20:33:01] ENGINE Started monitor thread '_TimeoutMonitor'.\r\n[05/Jun/2015:20:33:01] ENGINE Serving on http://127.0.0.1:8081\r\n[05/Jun/2015:20:33:01] ENGINE Bus STARTED\r\nConnected!\r\n```\r\n\r\nBut the second I try anything like /ping or /help, I get this:\r\n```\r\nConversation ID: [redacted]\r\nConversation name: [redacted]\r\nUser ID: UserID(chat_id='[redacted]', gaia_id='[redacted]')\r\nUser name: [redacted]\r\nTimestamp: 2015-06-05 20:40:04\r\nText: /ping\r\n\r\nFuture/Task exception was never retrieved\r\nfuture: Task(<handle>)<exception=ConnectionError(MaxRetryError(\"HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /receive/engineering (Caused by <class 'ConnectionRefusedError'>: [Errno 111] Connection refused)\",),)>\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py\", line 493, in urlopen\r\n    body=body, headers=headers)\r\n  File \"/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py\", line 291, in _make_request\r\n    conn.request(method, url, **httplib_request_kw)\r\n  File \"/usr/lib/python3.4/http/client.py\", line 1065, in request\r\n    self._send_request(method, url, body, headers)\r\n  File \"/usr/lib/python3.4/http/client.py\", line 1103, in _send_request\r\n    self.endheaders(body)\r\n  File \"/usr/lib/python3.4/http/client.py\", line 1061, in endheaders\r\n    self._send_output(message_body)\r\n  File \"/usr/lib/python3.4/http/client.py\", line 906, in _send_output\r\n    self.send(msg)\r\n  File \"/usr/lib/python3.4/http/client.py\", line 841, in send\r\n    self.connect()\r\n  File \"/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connection.py\", line 106, in connect\r\n    conn = self._new_conn()\r\n  File \"/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connection.py\", line 90, in _new_conn\r\n    (self.host, self.port), self.timeout, *extra_args)\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\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.4/dist-packages/requests/adapters.py\", line 327, in send\r\n    timeout=timeout\r\n  File \"/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py\", line 543, in urlopen\r\n    raise MaxRetryError(self, url, e)\r\nrequests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /receive/engineering (Caused by <class 'ConnectionRefusedError'>: [Errno 111] Connection refused)\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.4/asyncio/tasks.py\", line 302, in _step\r\n    result = next(coro)\r\n  File \"/home/ubuntu/meatwad/node_modules/hubot-hangups/HangoutsBot/handlers.py\", line 25, in handle\r\n    yield from self.handle_command(event)\r\n  File \"/usr/lib/python3.4/asyncio/tasks.py\", line 84, in coro\r\n    res = func(*args, **kw)\r\n  File \"/home/ubuntu/meatwad/node_modules/hubot-hangups/HangoutsBot/handlers.py\", line 37, in handle_command\r\n    requests.post(url, data=payload)\r\n  File \"/usr/local/lib/python3.4/dist-packages/requests/api.py\", line 88, in post\r\n    return request('post', url, data=data, **kwargs)\r\n  File \"/usr/local/lib/python3.4/dist-packages/requests/api.py\", line 44, in request\r\n    return session.request(method=method, url=url, **kwargs)\r\n  File \"/usr/local/lib/python3.4/dist-packages/requests/sessions.py\", line 456, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/usr/local/lib/python3.4/dist-packages/requests/sessions.py\", line 559, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/usr/local/lib/python3.4/dist-packages/requests/adapters.py\", line 375, in send\r\n    raise ConnectionError(e, request=request)\r\nrequests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /receive/engineering (Caused by <class 'ConnectionRefusedError'>: [Errno 111] Connection refused)\r\n```\r\n\r\nAfter poking around a bit, it seems like HangoutsBot isn't even listening on 8080 (nothing is). It's listening on 8081 just fine.\r\n\r\nHow do I get HangoutsBot to actually listen on 8080 as well as 8081?\r\n\r\nCheers!"},"comment":{"url":"https://api.github.com/repos/wardellchandler/HangoutsBot/issues/comments/110058884","html_url":"https://github.com/wardellchandler/HangoutsBot/issues/37#issuecomment-110058884","issue_url":"https://api.github.com/repos/wardellchandler/HangoutsBot/issues/37","id":110058884,"user":{"login":"polarizeme","id":2906212,"avatar_url":"https://avatars.githubusercontent.com/u/2906212?v=3","gravatar_id":"","url":"https://api.github.com/users/polarizeme","html_url":"https://github.com/polarizeme","followers_url":"https://api.github.com/users/polarizeme/followers","following_url":"https://api.github.com/users/polarizeme/following{/other_user}","gists_url":"https://api.github.com/users/polarizeme/gists{/gist_id}","starred_url":"https://api.github.com/users/polarizeme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polarizeme/subscriptions","organizations_url":"https://api.github.com/users/polarizeme/orgs","repos_url":"https://api.github.com/users/polarizeme/repos","events_url":"https://api.github.com/users/polarizeme/events{/privacy}","received_events_url":"https://api.github.com/users/polarizeme/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T16:13:39Z","updated_at":"2015-06-08T16:13:39Z","body":"Ahhhh. I didn't know hubot was using an older, modified version. I assumed his hubot versions were pulling in the latest HungoutsBot changes as well. I'll hit him up. Also, apologies if the shortness in my last comment seemed abrasive. Typing on my phone while multitasking. ;]\r\n\r\nCheers!"}}