{"action":"created","issue":{"url":"https://api.github.com/repos/amphp/aerys/issues/79","repository_url":"https://api.github.com/repos/amphp/aerys","labels_url":"https://api.github.com/repos/amphp/aerys/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/amphp/aerys/issues/79/comments","events_url":"https://api.github.com/repos/amphp/aerys/issues/79/events","html_url":"https://github.com/amphp/aerys/issues/79","id":132909483,"number":79,"title":"HTTP/2 in Aerys not working","user":{"login":"sushi2k","id":5951320,"avatar_url":"https://avatars.githubusercontent.com/u/5951320?v=3","gravatar_id":"","url":"https://api.github.com/users/sushi2k","html_url":"https://github.com/sushi2k","followers_url":"https://api.github.com/users/sushi2k/followers","following_url":"https://api.github.com/users/sushi2k/following{/other_user}","gists_url":"https://api.github.com/users/sushi2k/gists{/gist_id}","starred_url":"https://api.github.com/users/sushi2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sushi2k/subscriptions","organizations_url":"https://api.github.com/users/sushi2k/orgs","repos_url":"https://api.github.com/users/sushi2k/repos","events_url":"https://api.github.com/users/sushi2k/events{/privacy}","received_events_url":"https://api.github.com/users/sushi2k/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-11T07:42:15Z","updated_at":"2016-02-11T13:32:25Z","closed_at":"2016-02-11T11:16:55Z","body":"Hi,\r\nI just tried to make a HTTP/2 request to the demo page of aerys, but I get a StackTrace once the request is sent. \r\n\r\nSee screenshot for details. \r\n![screenshot at feb 11 15-39-43](https://cloud.githubusercontent.com/assets/5951320/12971399/c63aa0e4-d0d5-11e5-8504-9b98d75b61f6.png)\r\n\r\nThis is the full error message:\r\n```\r\n[07:39:09] error Error: Class 'Aerys\\Failure' not found in /root/fuzzing/server/aerys/lib/Http2Driver.php:275\r\nStack trace:\r\n#0 [internal function]: Aerys\\Http2Driver->writer(Object(Aerys\\InternalRequest))\r\n#1 /root/fuzzing/server/aerys/lib/functions.php(476): Generator->send(NULL)                                             [0/354]\r\n#2 [internal function]: Aerys\\responseCodec(Object(Generator), Object(Aerys\\InternalRequest))\r\n#3 /root/fuzzing/server/aerys/lib/StandardResponse.php(257): Generator->send(NULL)\r\n#4 /root/fuzzing/server/aerys/lib/StandardResponse.php(162): Aerys\\StandardResponse->end('<html><body><h1...')\r\n#5 /root/fuzzing/server/aerys/demo.php(4) : eval()'d code(17): Aerys\\StandardResponse->send('<html><body><h1...')\r\n#6 /root/fuzzing/server/aerys/lib/Router.php(68): Aerys\\Bootstrapper->{closure}(Object(Aerys\\StandardRequest), Object(Aerys\\Sta\r\nndardResponse), Array)\r\n#7 /root/fuzzing/server/aerys/lib/Bootstrapper.php(179): Aerys\\Router->__invoke(Object(Aerys\\StandardRequest), Object(Aerys\\Sta\r\nndardResponse))\r\n#8 [internal function]: class@anonymous->__invoke(Object(Aerys\\StandardRequest), Object(Aerys\\StandardResponse))\r\n#9 /root/fuzzing/server/aerys/vendor/amphp/amp/lib/functions.php(775): Generator->current()\r\n#10 /root/fuzzing/server/aerys/vendor/amphp/amp/lib/functions.php(763): Amp\\__coroutineAdvance(Object(Amp\\CoroutineState))\r\n#11 /root/fuzzing/server/aerys/lib/Server.php(749): Amp\\resolve(Object(Generator))\r\n#12 /root/fuzzing/server/aerys/lib/Server.php(701): Aerys\\Server->tryApplication(Object(Aerys\\InternalRequest), Object(class@an\r\nonymous))\r\n#13 /root/fuzzing/server/aerys/lib/Server.php(561): Aerys\\Server->respond(Object(Aerys\\InternalRequest))\r\n#14 /root/fuzzing/server/aerys/lib/Server.php(539): Aerys\\Server->onParsedMessageWithoutEntity(Object(Aerys\\Client), Array)\r\n#15 /root/fuzzing/server/aerys/lib/Http1Driver.php(302): Aerys\\Server->onParseEmit(Array, Object(Aerys\\Client))\r\n#16 [internal function]: Aerys\\Http1Driver->parser(Object(Aerys\\Client))\r\n#17 /root/fuzzing/server/aerys/lib/Server.php(532): Generator->send('GET / HTTP/1.1\\r...')\r\n#18 /root/fuzzing/server/aerys/vendor/amphp/amp/lib/NativeReactor.php(257): Aerys\\Server->onReadable('000000005be04d7...', Reso\r\nurce id #131, Object(Aerys\\Client))\r\n#19 /root/fuzzing/server/aerys/vendor/amphp/amp/lib/NativeReactor.php(244): Amp\\NativeReactor->doIoCallback('000000005be04d7...\r\n', Object(stdClass), Resource id #131)\r\n#20 /root/fuzzing/server/aerys/vendor/amphp/amp/lib/NativeReactor.php(214): Amp\\NativeReactor->selectActionableStreams(0.3786)\r\n#21 /root/fuzzing/server/aerys/vendor/amphp/amp/lib/NativeReactor.php(70): Amp\\NativeReactor->doTick(false)\r\n#22 /root/fuzzing/server/aerys/vendor/amphp/amp/lib/functions.php(46): Amp\\NativeReactor->run(Object(Closure))\r\n#23 /root/fuzzing/server/aerys/bin/aerys(96): Amp\\run(Object(Closure))\r\n#24 {main}\r\n\r\n\r\n\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/amphp/aerys/issues/comments/182863561","html_url":"https://github.com/amphp/aerys/issues/79#issuecomment-182863561","issue_url":"https://api.github.com/repos/amphp/aerys/issues/79","id":182863561,"user":{"login":"kelunik","id":2743004,"avatar_url":"https://avatars.githubusercontent.com/u/2743004?v=3","gravatar_id":"","url":"https://api.github.com/users/kelunik","html_url":"https://github.com/kelunik","followers_url":"https://api.github.com/users/kelunik/followers","following_url":"https://api.github.com/users/kelunik/following{/other_user}","gists_url":"https://api.github.com/users/kelunik/gists{/gist_id}","starred_url":"https://api.github.com/users/kelunik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelunik/subscriptions","organizations_url":"https://api.github.com/users/kelunik/orgs","repos_url":"https://api.github.com/users/kelunik/repos","events_url":"https://api.github.com/users/kelunik/events{/privacy}","received_events_url":"https://api.github.com/users/kelunik/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T13:32:25Z","updated_at":"2016-02-11T13:32:25Z","body":"Thanks for the report and confirmation. :+1: "}}