We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when running http_server source with tls and alpn_protocols, protocol negotiation does not happen and it always defaults to http/1.1
[sources.dummy_logs] type = "http_server" address = "0.0.0.0:443" tls.alpn_protocols = ["h2"] tls.ca_file = "/Users/anil.gupta/localHttpsFiles/certs/myCA.pem" tls.crt_file = "/Users/anil.gupta/localHttpsFiles/certs/localhost.crt" tls.enabled = true tls.key_file = "/Users/anil.gupta/localHttpsFiles/certs/localhost.key" tls.key_pass = "" tls.verify_certificate = false tls.verify_hostname = false # Print parsed logs to stdout [sinks.print] type = "console" inputs = ["dummy_logs"] encoding.codec = "json"
vector 0.31.0 (x86_64-apple-darwin 0f13b22 2023-07-06 13:52:34.591204470)
No response
after running http_server if you use curl we see that protocol negotiation did not happen
curl -k -vv -X POST https://localhost:443 -d "hello" Note: Unnecessary use of -X or --request, POST is already inferred.
POST / HTTP/1.1 Host: localhost User-Agent: curl/8.1.2 Accept: / Content-Length: 5 Content-Type: application/x-www-form-urlencoded
< HTTP/1.1 200 OK < content-length: 0 < date: Sat, 14 Oct 2023 17:19:50 GMT <
The text was updated successfully, but these errors were encountered:
Closed by #18843
Sorry, something went wrong.
No branches or pull requests
A note for the community
Problem
when running http_server source with tls and alpn_protocols, protocol negotiation does not happen and it always defaults to http/1.1
Configuration
Version
vector 0.31.0 (x86_64-apple-darwin 0f13b22 2023-07-06 13:52:34.591204470)
Debug Output
No response
Example Data
after running http_server if you use curl we see that protocol negotiation did not happen
curl -k -vv -X POST https://localhost:443 -d "hello"
Note: Unnecessary use of -X or --request, POST is already inferred.
< HTTP/1.1 200 OK
< content-length: 0
< date: Sat, 14 Oct 2023 17:19:50 GMT
<
Additional Context
No response
References
No response
The text was updated successfully, but these errors were encountered: