{"action":"opened","issue":{"url":"https://api.github.com/repos/uber/tchannel/issues/232","labels_url":"https://api.github.com/repos/uber/tchannel/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/uber/tchannel/issues/232/comments","events_url":"https://api.github.com/repos/uber/tchannel/issues/232/events","html_url":"https://github.com/uber/tchannel/issues/232","id":64342737,"number":232,"title":"[python] unrecognized endpoints need to return an application error","user":{"login":"blampe","id":848843,"avatar_url":"https://avatars.githubusercontent.com/u/848843?v=3","gravatar_id":"","url":"https://api.github.com/users/blampe","html_url":"https://github.com/blampe","followers_url":"https://api.github.com/users/blampe/followers","following_url":"https://api.github.com/users/blampe/following{/other_user}","gists_url":"https://api.github.com/users/blampe/gists{/gist_id}","starred_url":"https://api.github.com/users/blampe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blampe/subscriptions","organizations_url":"https://api.github.com/users/blampe/orgs","repos_url":"https://api.github.com/users/blampe/repos","events_url":"https://api.github.com/users/blampe/events{/privacy}","received_events_url":"https://api.github.com/users/blampe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-25T18:37:14Z","updated_at":"2015-03-25T18:37:14Z","closed_at":null,"body":"Hitting an endpoint that's not defined will currently time out and cause this error in the server:\r\n```\r\n$ python examples/tchannel_server.py --listen 8888\r\nInbound Server handle stream\r\nReceived request from 127.0.0.1:61333\r\nWaiting for TChannel handshake...\r\nSuccessfully completed handshake with /Users/blampe/src/tchannel/python/env/bin/tcurl.py[8765]\r\nERROR:tornado.application:exception calling callback <function handle at 0x10593b410> for <tornado.concurrent.Future object at 0x105f73e90>\r\nTraceback (most recent call last):\r\n  File \"/Users/blampe/src/tchannel/python/env/lib/python2.7/site-packages/tornado-4.1-py2.7-macosx-10.9-x86_64.egg/tornado/concurrent.py\", line 290, in _set_done\r\n    cb(self)\r\n  File \"/Users/blampe/src/tchannel/python/tchannel/tornado/connection.py\", line 147, in handle\r\n    handler(f.result(), self)\r\n  File \"/Users/blampe/src/tchannel/python/tchannel/tornado/inbound_server.py\", line 51, in preprocess_request\r\n    self.req_handler.handle_request(context, conn)\r\n  File \"/Users/blampe/src/tchannel/python/tchannel/handler.py\", line 49, in handle_request\r\n    raise NotImplementedError()\r\nNotImplementedError\r\n```"}}