{"action":"created","issue":{"url":"https://api.github.com/repos/twitter/finagle/issues/477","repository_url":"https://api.github.com/repos/twitter/finagle","labels_url":"https://api.github.com/repos/twitter/finagle/issues/477/labels{/name}","comments_url":"https://api.github.com/repos/twitter/finagle/issues/477/comments","events_url":"https://api.github.com/repos/twitter/finagle/issues/477/events","html_url":"https://github.com/twitter/finagle/issues/477","id":139838442,"number":477,"title":"Proxy example in quickstart does not work","user":{"login":"jabley","id":16205,"avatar_url":"https://avatars.githubusercontent.com/u/16205?v=3","gravatar_id":"","url":"https://api.github.com/users/jabley","html_url":"https://github.com/jabley","followers_url":"https://api.github.com/users/jabley/followers","following_url":"https://api.github.com/users/jabley/following{/other_user}","gists_url":"https://api.github.com/users/jabley/gists{/gist_id}","starred_url":"https://api.github.com/users/jabley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jabley/subscriptions","organizations_url":"https://api.github.com/users/jabley/orgs","repos_url":"https://api.github.com/users/jabley/repos","events_url":"https://api.github.com/users/jabley/events{/privacy}","received_events_url":"https://api.github.com/users/jabley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-10T09:53:10Z","updated_at":"2016-05-29T17:13:43Z","closed_at":null,"body":"https://twitter.github.io/finagle/guide/Quickstart.html#putting-it-together\r\n\r\n```\r\n> curl -D - localhost:8080\r\nHTTP/1.1 404 Not Found\r\nContent-Type: text/html; charset=UTF-8\r\nContent-Length: 1561\r\nDate: Thu, 10 Mar 2016 09:50:48 GMT\r\n\r\n<!DOCTYPE html>\r\n<html lang=en>\r\n  <meta charset=utf-8>\r\n  <meta name=viewport content=\"initial-scale=1, minimum-scale=1, width=device-width\">\r\n  <title>Error 404 (Not Found)!!1</title>\r\n  <style>\r\n    *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}\r\n  </style>\r\n  <a href=//www.google.com/><span id=logo aria-label=Google></span></a>\r\n  <p><b>404.</b> <ins>That’s an error.</ins>\r\n  <p>The requested URL <code>/</code> was not found on this server.  <ins>That’s all we know.</ins>\r\n```\r\n\r\nDebugging this is interesting. I've used Wireshark, since I've not found a way of dumping the request and response that the proxy is handling. That's probably a separate issue.\r\n"},"comment":{"url":"https://api.github.com/repos/twitter/finagle/issues/comments/222371612","html_url":"https://github.com/twitter/finagle/issues/477#issuecomment-222371612","issue_url":"https://api.github.com/repos/twitter/finagle/issues/477","id":222371612,"user":{"login":"mosesn","id":156562,"avatar_url":"https://avatars.githubusercontent.com/u/156562?v=3","gravatar_id":"","url":"https://api.github.com/users/mosesn","html_url":"https://github.com/mosesn","followers_url":"https://api.github.com/users/mosesn/followers","following_url":"https://api.github.com/users/mosesn/following{/other_user}","gists_url":"https://api.github.com/users/mosesn/gists{/gist_id}","starred_url":"https://api.github.com/users/mosesn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mosesn/subscriptions","organizations_url":"https://api.github.com/users/mosesn/orgs","repos_url":"https://api.github.com/users/mosesn/repos","events_url":"https://api.github.com/users/mosesn/events{/privacy}","received_events_url":"https://api.github.com/users/mosesn/received_events","type":"User","site_admin":false},"created_at":"2016-05-29T17:13:43Z","updated_at":"2016-05-29T17:13:43Z","body":"Looks like google changed their behavior slightly.  We should update the quickstart to reflect this.\r\n\r\nWe can fix this issue by:\r\n\r\n1.  Pointing to twitter.com instead of google.com\r\n2.  Changing the test command to be `curl -D - -H \"Host: twitter.com\" localhost:8080`\r\n\r\nI'm marking this as a starter issue since I think this would be a great way for someone to get started with playing around with finagle."}}
{"actor":{"display_login":"mosesn"}}