Koa with http2 cannot get request
See original GitHub issueI use http2 with koa.
http2.createServer(app.callback()).listen(3000, () => {
console.info('===========================================');
console.info('===== Server is running at port: 3000 =====');
console.info('===========================================');
});
But when I use browser to hit 127.0.0.1:3000
. Server didn’t get any request at console.
I am not sure it is koa or middleware’s issue.
Here is my sample https://github.com/Rukeith/blog-server/tree/http2-demo
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Koa JS - Cannot Send Response after calling an API. Always ...
What it doesn't do is resolve when the result from the HTTPS request is available. await ing it therefore does not do what...
Read more >oak@v11.1.0 - Deno
This middleware framework is inspired by Koa and middleware router inspired ... In HTTP/2 in many situations you cannot determine if a request...
Read more >12 Benefits of Camping | Why Camping Is Good for You - KOA
When you're camping, you can't help but engage in physical activity and get your heart rate up. Lack of alarm clocks: When was...
Read more >Devils Tower / Black Hills KOA Journey
... Hills KOA Journey is located in Devils Tower, Wyoming and offers great camping sites! Click here to find out more information or...
Read more >Charlotte / Fort Mill KOA Journey
Charlotte / Fort Mill KOA Journey is located in Fort Mill, South Carolina and offers great camping sites! Click here to find out...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am going to close this for now.
Feel free to re-open if you still assert Koa to be the issue showcased with a minimal reproducible example.
There are no browsers known that support unencrypted HTTP/2
http2.createServer(app.callback())
works as documented and can be tested with:const client = http2.connect('http://localhost:3000')