1,904 questions
0
votes
0
answers
12
views
Express.js with HTTP/2 (SPDY) - net::ERR_HTTP2_PROTOCOL_ERROR in Chrome Only
I have a Node.js server using Express.js with SPDY to enable HTTP/2 requests. The goal is to handle more concurrent streams than HTTP/1.1 allows.
Setup
I'm using SPDY to create an HTTP/2 server:
...
-1
votes
0
answers
41
views
Google Cloud Application Load Balancer - HTTP/2 Request Path Validation Issue
Recently received an email from Google Cloud regarding an upcoming change to the Classic Application Load Balancer that will take effect from March 31, 2025. According to the email, HTTP/2 request ...
1
vote
0
answers
45
views
GlassFish 7 (7.0.21) + JDK 17: URL with Non-ASCII Characters Returns 404 in HTTP/2.0 but 200 in HTTP/1.1
I am using GlassFish 7 (version 7.0.21) with JDK 17 (jdk-17.0.11+9) to deploy a Jakarta EE application generated using Jakarta EE Starter.
I encountered an issue where URLs containing non-ASCII ...
-1
votes
0
answers
30
views
Nginx Connections aren't reused in MacOS
I have setup nginx server to serve a static html file and want the connection to be reused everytime I call the server.
http{
keepalive_timeout 60s;
keepalive_requests 1000;
server {
listen ...
0
votes
1
answer
59
views
Google cloud run and Http/2
I have a spring boot application that is running in google cloud run and is using http2.
The problem is that I get a lot of these messages in the logs:
Connection [2], An unknown setting with ...
0
votes
1
answer
28
views
Consequences of using Jetty 12 HTTP2ServerConnectionFactory with high maxConcurrentStreams
I would like to understand what's the consequences when configuring HTTP2ServerConnectionFactory::maxConcurrentStreams to high value (for example 100k). The default value is 128, are there any reasons ...
1
vote
1
answer
96
views
Use HTTP/2 instead of WebSocket
Lot's of articles and the most popular answer said that's not possible to transfer binary data with HTTP/2 and I'm a bit confused since:
There is Stream API in browser
We can use "Body is a ...
0
votes
1
answer
45
views
Google Maps Static API request isn't working over https and http2 (h2)
I have a webpage served over https which should display an image created via the Google Maps Static API. I try to create the map image by making a request to the API via http like this:
<img src=&...
0
votes
1
answer
102
views
How to handle HTTP request timeout when using OpenAI streaming API and prevent “http2: response body closed” error?
I am working on an application that uses the OpenAI API for streaming chat completion. The streaming works well, but I want to handle timeouts if the API doesn’t respond within a certain period. When ...
0
votes
1
answer
67
views
Why is my Node.js HTTP2 Server unable to properly serve both Static Files and JavaScript?
So I'm currently trying to make a simple page that will send a request with a button. I'm struggling with getting the server to host the index.html without any issue at all. I have two issues which ...
0
votes
0
answers
54
views
gRPC for large file uploading
i'm currently upgrading a project datalake with microservices communicate by HTTP/1.1 to gRPC communication. I use Quarkus, Java (Gradle) for this project.
Previously, the connection between services ...
0
votes
0
answers
50
views
Unexpected EOF Errors During High-Concurrency Load Testing with gRPC and HTTP/2
We encounter an issue when we conduct load testing with lot of concurrent requests, Istio sometimes terminates connection unexpectedly resulted into EOF error.
We have 2 services deployed as ...
1
vote
0
answers
21
views
Clarify httpMaximumConnectionsPerHost when using httpShouldUsePipelining
I am using URLSession with MapKit. It has to download tiles for the screen for several different layers, so it could easily need to send 50 requests per screen.
My content server supports HTTP/2 and ...
0
votes
0
answers
44
views
Parsing pcap in python with pyshark
I'm facing issue where I'm trying to parse http2 packet by using pyshark in python. On my machine everything works fine and i can see all layers but when i tried to run same script in debian docker ...
0
votes
0
answers
34
views
Haproxy hot reloads on HTTP2
I was wondering if hot-reloads will work in an HTTP2 (GRPC) environment. Long lived connections don’t behave like regular old http and my experiments so far have been unsuccessful. Connections are not ...
0
votes
0
answers
59
views
Is it possible to make .NET 4.8.1 support HTTP/2 using OWIN?
I want to enable HTTP/2 protocol with OWIN in ASP.NET webforms project. I have created a simple webforms project and added OWIN Startup class to this project like this:
[assembly: OwinStartup(typeof(...
0
votes
1
answer
114
views
Unable to create RestTemplate while upgrading Spring Boot 3.x from http/1.1 to http/2
Unable to Communicate between Spring boot apps in http/2 using RestTemplate.
I have been in the process of Upgrading my Spring boot Micro Services from http/1.1 to http/2.0.
I was able to spin up the ...
0
votes
1
answer
154
views
How to handle HTTP/2 using Apache CloseableHttpClient
If I send the following command to the server for HTTP/2 connection testing, it works well.
curl -v --http2 http://192.168.0.171:20002
* Trying 192.168.0.171:20002...
* Connected to 192.168.0.171 ...
0
votes
0
answers
60
views
AWS load balancer health check getting 400 on Windows 2022
I've just set up a new ALB in AWS. It's using http2 and the health check is trying to load /lb/lb.htm from the web servers via https on port 9001.
In Windows port 9001 is open in the Windows firewall.
...
0
votes
0
answers
70
views
How can I test a Fastify HTTP/2 Cleartext server?
I'm switching a Fastify server using HTTP/1.1 to HTTP/2 Cleartext. I can manually test that it works fine. But all requests in tests using inject() now fail with 505 status code.
Looking at https://...
2
votes
1
answer
52
views
How to POST formdata including a file field with http2 module in Node?
I create a FormData as follows (simplified):
import FormData from 'form-data';
const createForm = async () => {
const form = new FormData();
form.append('field1', 'stringValue1');
form....
0
votes
0
answers
30
views
HTTPS requests terminate after ~80 seconds with HTTP/2 but not with HTTP/1—only occurs in office environment with client-to-server connections
My team recently upgraded our application to use HTTP/2, and I’ve noticed that HTTPS requests between the client and server are terminating after around 80 seconds. This issue does not occur when ...
0
votes
1
answer
115
views
How to force 'Host' header using HttpClient with HTTP/2?
I have a need to have a 'Host' header and make a HTTP/2 request to a custom server which requires the header.
The header is present when I use HTTP/1.1 request but once I do DefaultRequestVersion = ...
0
votes
1
answer
120
views
How to Disable HTTP/2 for Specific Sites in IIS Using PowerShell?
I'm running an IIS web server on Windows Server 2019, and I need to disable HTTP/2 for some specific sites while keeping it enabled for others.
I know that I can disable HTTP/2 globally by setting the ...
0
votes
0
answers
97
views
IIS "Disable HTTP/2" option still gets h2 requests
we have some old app we are supporting. There is a functionality which allows uploading photos. However, in some cases (specially using larger, multiple files), some requests end in ...
0
votes
0
answers
55
views
AWS ALB Ingress Controller - SSE channel closed INTERNAL_ERROR
There is a microservice exposed by an Ingress using AWS ALB Ingress Controller so the flow is this one:
AWS Application Load Balancer
Ingress
Service
Pod/Micro SSE Channel
I am trying to reproduce ...
1
vote
0
answers
128
views
Move from HTTP1 to HTTP2 in Nest js
I have a NestJS server currently using the HTTP/1 protocol. What steps do I need to take to upgrade my NestJS server to support HTTP/2? Is there built-in support for HTTP/2 in NestJS, or will I need ...
0
votes
0
answers
46
views
Is http2 over websocket a good idea to change client/server roles after the client's connection to the server?
I am investigating a proposed connection standard called Uplink (As of writing this question, it is working draft 24.06) described by ONVIF . In a nutshell the proposed specification suggests a ...
0
votes
0
answers
96
views
Http1AndHttp2AndHttp3 never selects the http2 over http
I have created the below .net server with multiple listeners over multiple ports and each with specific http port and http protocol configuration
using Microsoft.AspNetCore.Builder;
using Microsoft....
0
votes
1
answer
37
views
Are stream states ignored when tunnelling WebSocket in an HTTP/2 stream?
Imagining a client connecting to a server and taking aside server push, HTTP/2 specifies that it is possible for the client to theoretically send as many DATA frames as possible until EOS (End Of ...
0
votes
0
answers
89
views
How to monitor requests sent to NGINX from gRPC client using HTTP/2?
I’m trying to monitor the number of requests sent to my NGINX server from a gRPC client. My setup is using HTTP/2 for the gRPC connections. I attempted to use the stub_status module to expose metrics ...
0
votes
0
answers
68
views
Getting Error Exception calling application: [Errno 5] Input/output error sometimes
my sample.proto file
syntax = "proto3";
package protofile;
import "google/protobuf/timestamp.proto";
import "google/protobuf/struct.proto";
option go_package = "./...
0
votes
0
answers
67
views
Wireshark - Set columns for http2 from header or data packets
This question is about setting up columns in Wireshark while trying to analyze http2 tcpdump.
I am used to with setting up columns in diameter tcpdump, where we can select various fields and add them ...
1
vote
0
answers
91
views
Python gRPC client not reusing HTTP2 connection
I have a Python gRPC server inside a Kubernetes cluster. The gRPC server implements a Ping method.
The server is load-balanced through Ingress Nginx, using the proper configuration (based on the ...
0
votes
1
answer
93
views
How can HTTP/2 streams be handled in parallel when HPACK encoding depends on header ordering?
I'm working on an HTTP/2 client, and now i realised, that i do not understand how it must work at all.
HTTP/2 allows many parallel streams, but the HPACK encoder/decoder (one for all connections) ...
0
votes
1
answer
81
views
grpc client retryPolicy breaks when server uses gRPC+HTTP/2 h2c mux
In production I have a grpc server that also uses grpc-gateway to expose the http API. We have been using an approach similar to this to mux the grpc server and the grpc-gateway over the same tcp port....
2
votes
1
answer
163
views
curl http2 error on a particular url but works on other similar pdf url
I have done a simple curl call, for one website it works and for another it does not. When opened in chrome both have similar PDF output renderred.
Command that works
curl -v https://www.bseindia.com/...
1
vote
1
answer
376
views
How to Configure a gRPC Server in Python to Use HTTP/2 Protocol on an Insecure Channel?
I've created a gRPC server using proto3 and Python for basic client-server communication. When I start my server application, it communicates with the client as expected. However, I notice that the ...
0
votes
0
answers
45
views
How to correctly initiate an http2 request in python?
The same request, when I use Postman to initiate the request, Fiddler displays it as http1.1 protocol, but when I look at the requests listed by Network in Chrome browser, it displays as http2. I ...
1
vote
1
answer
368
views
Using Node's http/2 client functions with webpack
I have been stuck on this for two days now and I'm just absolutely tired of it. Whenever I try to import "node:http2" specifically for using its client side functionality, the application ...
0
votes
2
answers
277
views
Send HTTP_1_1_REQUIRED from ASP.NET Core controller
I need to request client to downgrade http protocol version from 2 to 1.1. Is it possible to send HTTP_1_1_REQUIRED from ASP.NET Core controller. For me it seems that this can be done only on some ...
2
votes
1
answer
115
views
Clarification on Interleaving HEADERS/CONTINUATION Frames with Other Frames in HTTP/2
I'm trying to understand the restrictions on the interleaving of frames in HTTP/2, specifically regarding HEADERS and CONTINUATION frames, as well as how the HPACK compression context is maintained. ...
0
votes
1
answer
404
views
How many streams will be used by a single Bi-directional streaming gRPC call?
We are noticing performance issues when trying to use the bi-directional stream API call to stream data at 2000-4000 updates/second. We enabled debug logging and see that streamId is same for all the ...
0
votes
1
answer
583
views
OpenTelemetry OtlpExporter (.Net 8) and Jaeger (All-In-One 1.58 win-docker) unable to complete HTTP/2 Handshake
I'm working on my local computer trying to get Jaeger to show OpenTelemetry traces from a .NET 8 ASP.NET Core project.
Jaeger 1.58 is running on Docker-desktop and setup with the command: docker run -...
1
vote
0
answers
34
views
How to get http path from h2c in net.conn in go
I have a net.Conn, there is a h2c request in it, I want to write a func to extract path in it(from first headers frame)
// Get path form http2
func extractPathFromH2Request(conn net.Conn) string {
...
1
vote
0
answers
157
views
Unable to read headers in NGINX from gRPC request
I am having some trouble when trying to read request headers in my NGINX configuration, there are being sent from my gRPC client. The other parts of my configuration works as expected, and I have data ...
0
votes
0
answers
131
views
net::ERR_HTTP2_PROTOCOL_ERROR in React when sending GraphQL request to PHP backend hosted on 000webhost (Vercel frontend)
Description
I have a simple e-commerce website where the frontend is built using React with TypeScript and Vite, hosted on Vercel. The backend is developed in native PHP and hosted on 000webhost's ...
0
votes
0
answers
111
views
spring cloud webflux with http2
I have a spring cloud webflux application, I want my application to work on the http2 protocol.
I create a certificate and keys through Keystore explorer, add them to the configuration of my gateway ...
-1
votes
1
answer
332
views
How to use 103 Early Hints in ApiPlatform?
I don't understand how to use HTTP/2 Push or 103 Early Hints in Api Platform.
I found information in the Api Platform documentation about Pushing related resources with HTTP/2 and Vulcain protocol.
I ...
0
votes
0
answers
140
views
Java application unable to connect to local Solr server instance using 'Http2SolrClient', but succeeds using 'HttpSolrClient'
Following are the application setup used in our Java application:
JRE: Oracle openjdk 11.0.4 2019-07-16
Deployment environment: Apache Tomcat 9.0.38
Apache Solr server: 9.5.0 (single server running on ...