{"action":"opened","issue":{"url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot/issues/223","repository_url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot","labels_url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot/issues/223/comments","events_url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot/issues/223/events","html_url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/223","id":143852585,"number":223,"title":"using web hook in google app engine","user":{"login":"jbhv12","id":12010616,"avatar_url":"https://avatars.githubusercontent.com/u/12010616?v=3","gravatar_id":"","url":"https://api.github.com/users/jbhv12","html_url":"https://github.com/jbhv12","followers_url":"https://api.github.com/users/jbhv12/followers","following_url":"https://api.github.com/users/jbhv12/following{/other_user}","gists_url":"https://api.github.com/users/jbhv12/gists{/gist_id}","starred_url":"https://api.github.com/users/jbhv12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbhv12/subscriptions","organizations_url":"https://api.github.com/users/jbhv12/orgs","repos_url":"https://api.github.com/users/jbhv12/repos","events_url":"https://api.github.com/users/jbhv12/events{/privacy}","received_events_url":"https://api.github.com/users/jbhv12/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-27T21:54:48Z","updated_at":"2016-03-27T21:54:48Z","closed_at":null,"body":"i tried to host a bot on gae which uses webhook. however google does not provide socket service on free account and i get following error: FeatureNotEnabledError: The Socket API will be enabled for this application once billing has been enabled in the admin console\r\n\r\nfull error:\r\n\r\nException on /set_webhook [GET]\r\nTraceback (most recent call last):\r\n  File \"/base/data/home/apps/s~bot3-1263/1.391677743694943952/lib/flask/app.py\", line 1817, in wsgi_app\r\n    response = self.full_dispatch_request()\r\n  File \"/base/data/home/apps/s~bot3-1263/1.391677743694943952/lib/flask/app.py\", line 1477, in full_dispatch_request\r\n    rv = self.handle_user_exception(e)\r\n  File \"/base/data/home/apps/s~bot3-1263/1.391677743694943952/lib/flask/app.py\", line 1381, in handle_user_exception\r\n    reraise(exc_type, exc_value, tb)\r\n  File \"/base/data/home/apps/s~bot3-1263/1.391677743694943952/lib/flask/app.py\", line 1475, in full_dispatch_request\r\n    rv = self.dispatch_request()\r\n  File \"/base/data/home/apps/s~bot3-1263/1.391677743694943952/lib/flask/app.py\", line 1461, in dispatch_request\r\n    return self.view_functions[rule.endpoint](**req.view_args)\r\n  File \"/base/data/home/apps/s~bot3-1263/1.391677743694943952/bot_gae.py\", line 33, in set_webhook\r\n    s = bot.setWebhook('https://bot3-1263.appspot.com/HOOK')\r\n  File \"/base/data/home/apps/s~bot3-1263/1.391677743694943952/lib/telepot/__init__.py\", line 285, in setWebhook\r\n    timeout=self._http_timeout)\r\n  File \"/base/data/home/apps/s~bot3-1263/1.391677743694943952/lib/requests/api.py\", line 107, in post\r\n    return request('post', url, data=data, json=json, **kwargs)\r\n  File \"/base/data/home/apps/s~bot3-1263/1.391677743694943952/lib/requests/api.py\", line 53, in request\r\n    return session.request(method=method, url=url, **kwargs)\r\n  File \"/base/data/home/apps/s~bot3-1263/1.391677743694943952/lib/requests/sessions.py\", line 468, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/base/data/home/apps/s~bot3-1263/1.391677743694943952/lib/requests/sessions.py\", line 576, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/base/data/home/apps/s~bot3-1263/1.391677743694943952/lib/requests/adapters.py\", line 376, in send\r\n    timeout=timeout\r\n  File \"/base/data/home/apps/s~bot3-1263/1.391677743694943952/lib/requests/packages/urllib3/connectionpool.py\", line 559, in urlopen\r\n    body=body, headers=headers)\r\n  File \"/base/data/home/apps/s~bot3-1263/1.391677743694943952/lib/requests/packages/urllib3/connectionpool.py\", line 345, in _make_request\r\n    self._validate_conn(conn)\r\n  File \"/base/data/home/apps/s~bot3-1263/1.391677743694943952/lib/requests/packages/urllib3/connectionpool.py\", line 784, in _validate_conn\r\n    conn.connect()\r\n  File \"/base/data/home/apps/s~bot3-1263/1.391677743694943952/lib/requests/packages/urllib3/connection.py\", line 217, in connect\r\n    conn = self._new_conn()\r\n  File \"/base/data/home/apps/s~bot3-1263/1.391677743694943952/lib/requests/packages/urllib3/connection.py\", line 137, in _new_conn\r\n    (self.host, self.port), self.timeout, **extra_kw)\r\n  File \"/base/data/home/apps/s~bot3-1263/1.391677743694943952/lib/requests/packages/urllib3/util/connection.py\", line 67, in create_connection\r\n    for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/remote_socket/_remote_socket.py\", line 339, in getaddrinfo\r\n    canonical=(flags & AI_CANONNAME))\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/remote_socket/_remote_socket.py\", line 212, in _Resolve\r\n    canon, aliases, addresses = _ResolveName(name, families)\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/remote_socket/_remote_socket.py\", line 230, in _ResolveName\r\n    apiproxy_stub_map.MakeSyncCall('remote_socket', 'Resolve', request, reply)\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py\", line 95, in MakeSyncCall\r\n    return stubmap.MakeSyncCall(service, call, request, response)\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py\", line 329, in MakeSyncCall\r\n    rpc.CheckSuccess()\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_rpc.py\", line 134, in CheckSuccess\r\n    raise self.exception\r\nFeatureNotEnabledError: The Socket API will be enabled for this application once billing has been enabled in the admin console.\r\n\r\n\r\nany help on this???any other alternative that i can use?? can i use .getMessage() method? how?"}}