{"action":"created","issue":{"url":"https://api.github.com/repos/GNS3/gns3-server/issues/221","labels_url":"https://api.github.com/repos/GNS3/gns3-server/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/GNS3/gns3-server/issues/221/comments","events_url":"https://api.github.com/repos/GNS3/gns3-server/issues/221/events","html_url":"https://github.com/GNS3/gns3-server/issues/221","id":85815402,"number":221,"title":"Server sends error 500 if using Telnet to send garbage.","user":{"login":"grossmj","id":4752614,"avatar_url":"https://avatars.githubusercontent.com/u/4752614?v=3","gravatar_id":"","url":"https://api.github.com/users/grossmj","html_url":"https://github.com/grossmj","followers_url":"https://api.github.com/users/grossmj/followers","following_url":"https://api.github.com/users/grossmj/following{/other_user}","gists_url":"https://api.github.com/users/grossmj/gists{/gist_id}","starred_url":"https://api.github.com/users/grossmj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grossmj/subscriptions","organizations_url":"https://api.github.com/users/grossmj/orgs","repos_url":"https://api.github.com/users/grossmj/repos","events_url":"https://api.github.com/users/grossmj/events{/privacy}","received_events_url":"https://api.github.com/users/grossmj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GNS3/gns3-server/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"noplay","id":345437,"avatar_url":"https://avatars.githubusercontent.com/u/345437?v=3","gravatar_id":"","url":"https://api.github.com/users/noplay","html_url":"https://github.com/noplay","followers_url":"https://api.github.com/users/noplay/followers","following_url":"https://api.github.com/users/noplay/following{/other_user}","gists_url":"https://api.github.com/users/noplay/gists{/gist_id}","starred_url":"https://api.github.com/users/noplay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noplay/subscriptions","organizations_url":"https://api.github.com/users/noplay/orgs","repos_url":"https://api.github.com/users/noplay/repos","events_url":"https://api.github.com/users/noplay/events{/privacy}","received_events_url":"https://api.github.com/users/noplay/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/GNS3/gns3-server/milestones/9","html_url":"https://github.com/GNS3/gns3-server/milestones/1.4","labels_url":"https://api.github.com/repos/GNS3/gns3-server/milestones/9/labels","id":1066767,"number":9,"title":"1.4","description":"","creator":{"login":"noplay","id":345437,"avatar_url":"https://avatars.githubusercontent.com/u/345437?v=3","gravatar_id":"","url":"https://api.github.com/users/noplay","html_url":"https://github.com/noplay","followers_url":"https://api.github.com/users/noplay/followers","following_url":"https://api.github.com/users/noplay/following{/other_user}","gists_url":"https://api.github.com/users/noplay/gists{/gist_id}","starred_url":"https://api.github.com/users/noplay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noplay/subscriptions","organizations_url":"https://api.github.com/users/noplay/orgs","repos_url":"https://api.github.com/users/noplay/repos","events_url":"https://api.github.com/users/noplay/events{/privacy}","received_events_url":"https://api.github.com/users/noplay/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":14,"state":"open","created_at":"2015-04-14T12:16:07Z","updated_at":"2015-06-07T04:12:38Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-06-06T21:41:20Z","updated_at":"2015-06-07T18:01:27Z","closed_at":null,"body":"```\r\n$ telnet ::1 8000\r\nTrying ::1...\r\nConnected to ::1.\r\nEscape character is '^]'.\r\nHELp\r\n\r\n\r\nHELO\r\nHTTP/1.1 500 Internal Server Error\r\nCONTENT-TYPE: text/html; charset=utf-8\r\nCONTENT-LENGTH: 170\r\nCONNECTION: close\r\nDATE: Sat, 06 Jun 2015 21:39:02 GMT\r\nSERVER: Python/3.4 aiohttp/0.16.3\r\n\r\n\r\n<html>\r\n  <head>\r\n    <title>500 Internal Server Error</title>\r\n  </head>\r\n  <body>\r\n    <h1>500 Internal Server Error</h1>\r\n    Server got itself in trouble\r\n  </body>\r\n</html>Connection closed by foreign host.\r\n```\r\n\r\n```\r\n2015-06-06 15:39:02 ERROR server.py:207 Error handling request\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.4/dist-packages/aiohttp-0.16.3-py3.4-linux-x86_64.egg/aiohttp/server.py\", line 241, in start\r\n    yield from prefix.read()\r\n  File \"/usr/local/lib/python3.4/dist-packages/aiohttp-0.16.3-py3.4-linux-x86_64.egg/aiohttp/streams.py\", line 505, in read\r\n    result = yield from super().read()\r\n  File \"/usr/local/lib/python3.4/dist-packages/aiohttp-0.16.3-py3.4-linux-x86_64.egg/aiohttp/streams.py\", line 365, in read\r\n    yield from self._waiter\r\n  File \"/usr/lib/python3.4/asyncio/futures.py\", line 348, in __iter__\r\n    yield self  # This tells Task to wait for completion.\r\n  File \"/usr/lib/python3.4/asyncio/tasks.py\", line 351, in _wakeup\r\n    value = future.result()\r\n  File \"/usr/lib/python3.4/asyncio/futures.py\", line 243, in result\r\n    raise self._exception\r\n  File \"/usr/local/lib/python3.4/dist-packages/aiohttp-0.16.3-py3.4-linux-x86_64.egg/aiohttp/parsers.py\", line 131, in feed_data\r\n    self._parser.send(data)\r\n  File \"/usr/local/lib/python3.4/dist-packages/aiohttp-0.16.3-py3.4-linux-x86_64.egg/aiohttp/protocol.py\", line 139, in __call__\r\n    raw_data = yield from buf.waituntil(b' ', 12)\r\n  File \"/usr/local/lib/python3.4/dist-packages/aiohttp-0.16.3-py3.4-linux-x86_64.egg/aiohttp/parsers.py\", line 374, in waituntil\r\n    'Line is too long. %s' % bytes(self), limit)\r\naiohttp.errors.LineLimitExceededParserError: Line is too long. b'HELp\\r\\n\\r\\n\\r\\nHELO\\r\\n'\r\n```"},"comment":{"url":"https://api.github.com/repos/GNS3/gns3-server/issues/comments/109784395","html_url":"https://github.com/GNS3/gns3-server/issues/221#issuecomment-109784395","issue_url":"https://api.github.com/repos/GNS3/gns3-server/issues/221","id":109784395,"user":{"login":"noplay","id":345437,"avatar_url":"https://avatars.githubusercontent.com/u/345437?v=3","gravatar_id":"","url":"https://api.github.com/users/noplay","html_url":"https://github.com/noplay","followers_url":"https://api.github.com/users/noplay/followers","following_url":"https://api.github.com/users/noplay/following{/other_user}","gists_url":"https://api.github.com/users/noplay/gists{/gist_id}","starred_url":"https://api.github.com/users/noplay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noplay/subscriptions","organizations_url":"https://api.github.com/users/noplay/orgs","repos_url":"https://api.github.com/users/noplay/repos","events_url":"https://api.github.com/users/noplay/events{/privacy}","received_events_url":"https://api.github.com/users/noplay/received_events","type":"User","site_admin":false},"created_at":"2015-06-07T18:01:27Z","updated_at":"2015-06-07T18:01:27Z","body":"We can reply with a 400 it's good?"}}