Questions tagged [http2]

HTTP2 (or HTTP v2.0) is an alternative to, but does not obsolete, HTTP1.1.

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

nginx timings and 499 http statuses are growing up when http2 is enabled

We have several virtual machines through which all traffic from mobile clients passes - downloading/uploading files, displaying preview images and regular API calls. There is no balancer in front of ...
Bernigend's user avatar
-2 votes
0 answers
46 views

DELETE [url] net::ERR_HTTP2_PROTOCOL_ERROR [duplicate]

I have a simple php api on 000webhost server. I'm getting data from db correctly, but I can't perform delete or post request becasue of this error: DELETE MY_URL net::ERR_HTTP2_PROTOCOL_ERROR. I know ...
Kakha Chankseliani's user avatar
3 votes
0 answers
38 views

Establishing a gRPC connection in .NET w/o encryption

Summary I know this problem has been discussed previously, for different .NET (Core) releases and framework setups. I've read the answers and documentation and implemented accordingly (see references ...
jowo's user avatar
  • 41
-1 votes
1 answer
29 views

Can server know the request cancelled by client and then stop the process?

For example, my server handle a request cost 5 seconds, but the client stop waiting and cancel this request in 2 seconds, the 3 seconds left would be a waste, how can server know that and stop the ...
Cositanto's user avatar
  • 690
1 vote
0 answers
35 views

Unable to preserve HTTP/2 headers list when extracting frame using editcap. Hex Dump Matches

When I used editcap to extract a HTTP/2 Frame from a Captured PCAP using tcpdump, the HTTP/2 headers don't show up in extracted frame, but the Hex dump matches. I am using the below editcap command to ...
Devavrat Agnihotri's user avatar
-1 votes
0 answers
19 views

Preflight to 3rd party api returns 401 error, how to handle to handle it?

Hubspot api endpoint returns data when making api call from Postman, but when making request from node-fetch, axios then preflight request gets 401 error - how to handle this? We can't control the ...
Bhanwarlal Chaudhary's user avatar
2 votes
0 answers
28 views

x/net/http2: increased memory use with ForceAttemptHTTP2

In my golang application we were using the http Client with custom TLS config, and as per the golang's x/net/http package if we provide a custom TLS Config then the support for http/2 will be disabled....
Divyanshu Rawat's user avatar
-1 votes
1 answer
23 views

How does SprintBoot support http2 h2c mode?

I saw Spring Boot don't support HTTP2 h2c mode, but our project need use HTTP2 h2c server to receive the client requests. Is there a way to support this capability on Spring Boot? or any other HTTP ...
rock ju's user avatar
  • 11
0 votes
0 answers
51 views

Nginx configuration to support HTTP/3

I am trying to configure HTTP/3 for my site https://jscoder.io. I have installed Nginx v1.25 on the server, and the conf file is: root@localhost:~# cat /etc/nginx/conf.d/jscoder.io.conf server { ...
Joy's user avatar
  • 9,428
-1 votes
0 answers
77 views

HTTP/2 support by vercel Next.js 13?

I am working on https://jses.io with Next.js 13. I use Vercel to deploy the site to production. It's simple enough and working well. Now I observe that the static files are served with protocle http/1....
Joy's user avatar
  • 9,428
0 votes
1 answer
22 views

Nginx http2 - browser creates new connection even after a few seconds idle

I have a NGINX server running with http2 that serves my REST API. Works great for concurrent requests. But if there is even just a few seconds between request then the browser creates a whole new ...
user28906's user avatar
2 votes
0 answers
35 views

Could aws/aws-sdk-php-symfony make use of h2 protocol to multipart upload files to an S3 bucket?

First of all, apologies if the question exists but I couldn't find anything exactly like this when searching stackoverflow. The closest one being this question which is a bit outdated. Secondly, we're ...
Nicolae Olariu's user avatar
0 votes
0 answers
19 views

How to disable HTTP/2 forwarding on a puma web server running ruby on rails

We are currently using AWS CLB so it is not possible to directly configure it for HTTP/2. However a CLB forwards requests as they are received so if the requests are not restricted to HTTP/1.1 (for ...
Waqas Haider's user avatar
0 votes
1 answer
50 views

Apache logs shows us we are using HTTP1.1 instead of HTTP2 protocol even HTTP/2 is enabled (through WAF)

Do you know why our apache logs shows us we are using HTTP1.1 instead of HTTP2 protocol even HTTP/2 is enabled in our server? I make sure that mod_http2 module was already installed and loaded: $sudo ...
Cris's user avatar
  • 23
0 votes
1 answer
98 views

Blazor server side app with http2 enabled results in exception for certain clients

When switching to http2 we have certain clients fail which work flawlessly using http1.1 on our Blazor Server app hosted in Azure as App Service. IOException: The response ended prematurely while ...
M R's user avatar
  • 15
0 votes
0 answers
41 views

HTTP2_SESSION_CLOSE

I have a project written in react , it is served by nginx http/2 . Since a week after updating chrome from 117 to 118 sometimes requests do not arrive. The problem occurs only on windows and only on ...
user9010407's user avatar
0 votes
0 answers
64 views

HTTP/2 client preface string missing or corrupt. Hex dump for received bytes: 00016501250000000180000000db02074f5054494f4e5341

I'm trying to debug an HTTP2 connectivity issue. Strangely, the behavior that I observe on Google Chrome is that the Preflight (OPTIONS) fail intermittently. It fails for a while and then it starts ...
Sid Parekar's user avatar
0 votes
0 answers
86 views

How to force Chrome to use HTTP/1.1 for a particular Website?

Whenever I am visiting a particular website via same chrome version on 2 different windows machine the protocol in network tab is showing different protocol versions. Here, I can not post the website ...
Suraj Mohapatra's user avatar
0 votes
0 answers
34 views

Getting [io.netty.handler.ssl.SslClosedEngineException: SSLEngine closed already] for HTTP/2.0 with TLS on netty

I am getting below error for almost 1% of my total requests under high load e.g. 1k-2k/s requests. ERROR org.springframework.web.server.adapter.HttpWebHandlerAdapter - [9899f030-1528794] Error [io....
Suhas Khot's user avatar
0 votes
1 answer
12 views

HTTP/2 protocol WINDOW_UPDATE with STREAM_ID 0

According to RFC7540: The WINDOW_UPDATE frame can be specific to a stream or to the entire connection. In the former case, the frame's stream identifier indicates the affected stream; in the latter, ...
some user's user avatar
  • 888
0 votes
0 answers
28 views

411 content length required WebAPI WebHook

I have a broblem when trying to request my dotnet API with (Http post with empty body) alway i receive (status code 411 content length required) Hi What's the best whay to configure the c# WebAPI to ...
Marwen Saad's user avatar
0 votes
1 answer
50 views

Does the dart http2 package allow for multiple get requests and cache the responses?

I want to fetch multiple images and audio files on one tcp connection. Is that possible with the current state of thehttp2 package and how would that be done? Also, if it is possible. If I later ...
anonymous-dev's user avatar
0 votes
1 answer
288 views

Does nginx support http2 over upstream servers?

I have been trying to configure http2 in nginx. I am trying to configure nginx as reverse proxy. I am sending http2 on front end to nginx server, it seems to be working fine, however when the request ...
Kavitha Ramachandra's user avatar
0 votes
0 answers
31 views

Performance comparison of HTTP/2.0 and HTTP/1.1 with less than 50 requests

I've tested the performance of HTTP/2 (H/2) and HTTP/1.1. I hosted a Rails app with different numbers of requests on various pages: The landing page had approximately 25 requests for resources like ...
Aarthi's user avatar
  • 1,491
2 votes
1 answer
76 views

Undertow HTTP2: request threads exhausted with threads stuck in org.xnio.conduits...awaitReadable/Writable operations

Something occasionally happened for one random instance of 5 available instances few times in a day. Worker threads get stucked, after exhausting all the worker threads service fail to respond a ...
Andriy Yarish's user avatar
0 votes
0 answers
26 views

Install HTTP/2.0 using directadmin with letsencrypt on centos 7 server

I want to install and activate HTTP.2 on my server.Centos 7 I follow this article How to Activate HTTP/2 Support on DirectAdmin (CentOS) But to the last step [Step 3: Enable HTTP/2 in Apache] (./build ...
Daniel Kao's user avatar
0 votes
2 answers
104 views

Extending a .NET 7 Winforms application to act as a Grpc-Server

I need to extend a .NET 7 (C#) based Winforms app to also act as a Grpc server. The Grpc server does not need to interact with the GUI elements; this effort servers as a migration path from a fat-...
jowo's user avatar
  • 41
0 votes
0 answers
129 views

Using gradio with http2, due to google cloud run request size limit

I have an application which runs as a service in google cloud run. The app is written in python and uses gradio for its interface. The app allows the user to upload videos for some purposes but I ...
Danielle's user avatar
-2 votes
1 answer
30 views

After changing from DLL to nuget http-methods don't work in ASP.NET

I had a DBConnector subproject linked to the main project using a DLL. Later DBConnector migrated to Nuget. After migration no one http-method called by ajax-functions works. The error in browser says ...
Людмила Несмачная's user avatar
0 votes
1 answer
147 views

aiohttp.client_exceptions.ClientResponseError: 400 - Bad status line "Expected dot" with HTTP/2 Response

I am using the aiohttp library in Python to send a POST request to a server. However, I am encountering a ClientResponseError with a 400 status, and the error message seems to indicate a problem with ...
X-HAT's user avatar
  • 33
0 votes
0 answers
59 views

jetty server not responding to HTTP/2 requests

i have implemented a http2(clear text) server in jetty, its working as expected with http1_1, but i don't know what is wrong with http/2. is there something to do with handler? the server is up on ...
Naveen Punia's user avatar
0 votes
1 answer
124 views

How can server with HTTP 1.1 understand client that uses HTTP 2?

I'm confused because it looks for me like different sources says different things, I don't really understand it: The "layer" refers to a design choice to introduce a new optimized encoding ...
Noname's user avatar
  • 3
1 vote
0 answers
55 views

HTTP/2 for HAproxy and nginx

This answer does not answer my question: How can I enable HTTP/2 on HAProxy? What I have is huge site with many servers. Most of them are supported by one HAproxy which is set for http and https ...
pbies's user avatar
  • 686
0 votes
0 answers
13 views

Does grpc request go through nginx with http 2 necessarily?

I am new to nginx and learning how to make nginx work with grpc. When I am adjusting nginx config, I found that both http and http2 setting for the port work. The grpc request could go through no ...
WeiAnHsieh's user avatar
0 votes
0 answers
78 views

Enable ALPN and list HTTP/2 using Scala Play framework 2.8

I'm trying to enable ALPN and HTTP/2 in a Scala Play Framework 2.8.20 app running on JDK 11.0.20 and Scala 2.13.11 (SBT 1.9.3). My objective is to work with play-grpc and specifically to serve grpc ...
sentenza's user avatar
  • 1,680
1 vote
0 answers
67 views

gRPC C++ SetSslTargetNameOverride changes authority?

I am developing simple gRPC client in both C++ and Golang. There is a DialOption in golang client named WithAuthority which overrides the Authority pseudo header in http2 header. Is there any dial ...
WeiAnHsieh's user avatar
0 votes
1 answer
43 views

Magento 2 : Enabling http2_push with Nginx frontserver and varnish

I am trying to implement http2_push to get the css sent with all the pages. Here is my sample code. I dont see the css being pushed yet. What am i doing wrong. Http2 is enabled. location / { #...
archigrafix's user avatar
1 vote
0 answers
82 views

Compression over HTTP/2 grpc

We have a payload of 4MB to be returned to the client. We compress it to 500KB using gzip. Without compression, calculating the response and receiving it at the client end in the application, overall ...
sattu's user avatar
  • 650
1 vote
0 answers
22 views

Which nodejs module to pick: node:http2 or node:https?

As I understand, the purposes of both modules are orthogonal: even though HTTP/2 usually comes with HTTPs, both features are independent. It is clear to me that when I want to use HTTP2 I use node:...
Sviatozar Petrenko's user avatar
0 votes
0 answers
19 views

Node express http2 no cookie in response

I have a functional app working with node express using node 18.17.1 I added http2-express-bridge to my app and when I try to access it, the app starts looping with my login process (the response I ...
DanielEsp's user avatar
0 votes
0 answers
44 views

Bidirectional communication with possibility to manage connection state - grpc

I have client and server services on Rust. Client should have possibility to send requests periodically to server and server vice versa. Currently I'm using grpc(http/2) for it. Client sends simple ...
Dkwcs's user avatar
  • 3
0 votes
1 answer
75 views

How to find the server provided MAX_CONCURRENT_STREAMS value?

I am using java.net.http to make some http calls to a server. However, sometimes I get a "too many concurrent streams" exception from here: https://github.com/AdoptOpenJDK/openjdk-jdk11/blob/...
juan2raid's user avatar
  • 1,634
0 votes
0 answers
66 views

Delayed response from Tomcat backend to Apache HTTPD reverse proxy

We have a setup with: Apache HTTPD 2.4.57 acting as a reverse proxy, listening on port 4443 Springboot (tomcat) backend , listening on port 9085 both of them are installed on the same box. Apache ...
caffeine_inquisitor's user avatar
0 votes
2 answers
234 views

Deploying NodeJS App with HTTP2(H2) on Cloud Run

I am trying to deploy a simple NodeJS application which is HTTP2(H2) enabled, this is working fine locally Here is my NodeJS code const spdy = require('spdy') const express = require('express') const ...
Umamaheswararao Meka's user avatar
0 votes
0 answers
30 views

Can HTTP/1.1 messages be fragmented like the WebSocket protocol?

I just read, in HTTP/2 server can do the fragmentation of the big chunk just like in the Websockets(where messages are fragmented into smaller packets for variety of reasons and one such reason was to ...
Ajay Kumar's user avatar
0 votes
0 answers
57 views

Error [ERR_STREAM_WRITE_AFTER_END]: write after end when calling HTTP2 delete request

I am trying to call HTTP2 delete request using Native Nodejs (http2) library but it is failing only for DELETE request. Please advise. Here is the code: const http2 = require('http2'); const ...
Shreyas Murali's user avatar
1 vote
1 answer
335 views

Overwrite http host header of gRPC client in golang

I sent request by a gRPC client with connection conn, err := grpc.Dial("hostname:port",opts...) From server side, I saw the host in http.request is the exact hostname:port. Then, I have my ...
WeiAnHsieh's user avatar
1 vote
1 answer
87 views

Configure Tomcat 8 for HTTP/2.0 for HTTP(not https) calls

We have our legacy Tomcat server on version 8.5.81 We plan to upgrade to HTTP/2 for quicker api response times (optimization) Following configuration has been applied at server.xml <...
Aditya Rewari's user avatar
0 votes
0 answers
33 views

WebSocket binary stream faster than HTTP2 download, why?

I'm trying to understand why downloading many small (200kb) binary files over a single WebSocket connection appears to be twice as fast as downloading the same data directly from the browser (Chrome) ...
Fez Vrasta's user avatar
  • 14.1k
0 votes
0 answers
50 views

How does QUIC's multiplexing differ from that of HTTP/2 in detail

if Traefik receives a request for a webpage that includes images and a audio and the configuration specifies different servers for the different content types, does Traefik open individual streams for ...
Mormorion's user avatar

1
2 3 4 5
38