Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protocol errors for example uses (curl, due to HTTP2) #49

Open
shhac opened this issue Jan 29, 2018 · 0 comments
Open

Protocol errors for example uses (curl, due to HTTP2) #49

shhac opened this issue Jan 29, 2018 · 0 comments

Comments

@shhac
Copy link

shhac commented Jan 29, 2018

  • Newer versions of curl support the HTTP2 feature
  • Trying to connect to Agile CRM's dev api will result in ALPN, offering h2, which is then accepted ALPN, server accepted to use h2 so a HTTP/2 connection is negotiated
  • This stream then dies almost straight after sending some headers
* HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)
* Closing connection 0
* TLSv1.2 (OUT), TLS alert, Client hello (1):
curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)

To use the examples, you need to force a non-h2 connection using an extra flag, e.g. --http1.1 so h2 is not attempted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant