-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
node http2 error #19406
Comments
For https you should use |
I'll defer to @nodejs/http2 and @nodejs/documentation |
I think we should update the docs, yes. |
This quote by @richardlau is correct
The fallback mechanism to use HTTP/1.1 is not available on Http2Server as discussed in #18554 |
@trivikr I typically use it all the time in tests. Spinning up tls connections costs time. |
I can submit a PR to update the docs but I'm not sure what to write because it's not like it's a deprecated method, it's just not advised in most cases. What verbiage should be used to steer users away from |
FWIW the initial example at the top is using The example preface is actually incorrect because it claims to illustrate a "plain-text" HTTP/2 server. That should be changed. An additional note could be added below the example or perhaps in the |
There's a lot of code samples that uses |
@styfle Has been resolved.Thanks. |
Great! I submitted #19476 which should help anyone else running into this problem. |
http2
Running
node./server/index.js
has no error, but access to thehttps://localhost:8002
failed.The text was updated successfully, but these errors were encountered: