Confirm default of enabling http2 preface on client
See original GitHub issueJust wanted to confirm using the http2 preface is a good default for an armeria client. I ran into not being able to connect to Elasticsearch V7 when this is enabled with
com.linecorp.armeria.client.SessionProtocolNegotiationException: expected: http, reason: connection established, but session creation timed out:
The error message doesn’t really help debug and after being stuck for a while, I had the random idea of disabling the preface, which I think most users wouldn’t ever find.
If there are servers where the preface doesn’t work, is it actually a good idea to default to enabling it?
For reference, had failures in this build https://travis-ci.org/openzipkin/zipkin/builds/556693286?utm_source=github_status&utm_medium=notification
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Introduction to HTTP/2 - web.dev
HTTP/2 (or h2) is a binary protocol that brings push, multiplexing streams and frame control to the web.
Read more >RFC 7540 - Hypertext Transfer Protocol Version 2 (HTTP/2)
In HTTP/2, each endpoint is required to send a connection preface as a final confirmation of the protocol in use and to establish...
Read more >HTTP/2 Frequently Asked Questions
Why is HTTP/2 binary? Why is HTTP/2 multiplexed? Why just one TCP connection? What's the benefit of Server Push? Why do we need...
Read more >Create a custom HTTP/2 profile - AskF5
On the Main tab, click. Local Traffic. Profiles · Click. Create . · Type a. Name. for the profile, such as · For...
Read more >Tools for debugging, testing and using HTTP/2
Once installed you can check the HTTP/2 status of a web on the command-line: ... One of those is a command-line client called...
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
Oops~ 😅
+1 Even though the spec recommends to use HTTP/2 upgrade requests for cleartext, I think it is more important to work well with Armeria echo system using our default configuration.