1,904 questions
0
votes
0
answers
19
views
Http streams breaking issues after shifting to http2
So in my application i have to run alot of http streams so in order to run more than 6 streams i decided to shift my server to http2.
My server is deployed on google cloud and i enabled http2 from the ...
1
vote
1
answer
101
views
+200
How to decide whether to use chunked upload in OkHttp or not?
I am uploading files to WebDav servers using
RequestBody requestBody = new MultipartBody.Builder()
.addPart(RequestBody.create(data, MediaType.parse("application/...
0
votes
1
answer
31
views
Does an HTTP 1.1 proxy support HTTP 2 connections?
I am trying to implement an HTTP proxy server, aimed for low latency.
From what I understand, an HTTP proxy request is either a raw request with the HOST header set to the destination, or a CONNECT ...
0
votes
0
answers
33
views
nginx server not enabling HTTP/3 and QUIC
i have hosted my video on nginx server and serving through localhost.
but still the client-protocol being shown in my dev tools network tab on chrome and safari browser for macos is HTTP/2 and not ...
-1
votes
0
answers
52
views
How to write an HTTP/2 SETTINGS frame - from server to client - in runtime agnostic JavaScript?
I'm trying to create an HTTP/2 SETTINGS frame per https://datatracker.ietf.org/doc/html/rfc7540#section-6.5 and https://datatracker.ietf.org/doc/html/rfc7540#section-6.5.1.
If I'm reading this ...
0
votes
0
answers
24
views
Why does RedirectGet work in place of FormPost for OpenIdConnectRedirectBehavior when redirecting to IdentityServer4 on Windows 11 machines?
I have a Blazor server app that uses IdentityServer4 for authentication. For context, all of the following is occurring on developer machines running the app through the Visual Studio 2022 debugger. ...
1
vote
0
answers
43
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
vote
0
answers
60
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 ...
0
votes
1
answer
76
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
49
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
207
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
60
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
136
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
79
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
72
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
61
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
25
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
49
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
44
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
71
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
158
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
256
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
71
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
84
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
58
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
34
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
161
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
175
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
154
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
78
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
170
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
50
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
119
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
38
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
94
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
69
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
81
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
93
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
113
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
88
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
180
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
445
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
49
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
413
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
365
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
133
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
441
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
633
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
38
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
169
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 ...