Questions tagged [http2]

HTTP/2 is the new version of the popular HTTP protocol

2
votes
0answers
28 views

HTTP/2 with ASP.NET Core 2.2

I'm trying to get HTTP/2 working with ASP.Net Core 2.2. I'm testing on Windows 10 x64 1809. I'm using the basic template with the following web host builder: public static IWebHostBuilder ...
0
votes
1answer
9 views

Reading http/2 push stream fails with error -505

I'm trying to read an http/2 push stream, but the code below fails with an error. When I use the same URL in Chrome browser, I receive the 'heartbeat' being generated by the stream server and can see ...
0
votes
1answer
20 views

Proxy requests to backend using h2c

Re-asking the question from HA-Proxy discourse site here in the hopes of getting more eyes on it. I am using HA-Proxy version 1.9.4 2019/02/06 for proxying HTTP traffic to a h2c backend. I am however ...
0
votes
0answers
10 views

Windows authentication(NTLM) is not working on iOS URLSession on HTTP 2.0

I have hosted webdav on windows server 2016(i.e IIS 10) with windows authentication enabled, when we are trying to access webdav from browser it is fallback to HTTP 1.1 as NLTM authentication does not ...
0
votes
0answers
24 views

Sending http2 requests from multiple IP

I am able to send http2 requests from one IP to server using go, but I want to send multiple http2 requests from different IP's from same physical machine using go.
0
votes
0answers
41 views

how to do http/2 multiplexing using golang or curl command?

I am trying to send multiple http2 requests parallely form different IP's, but it seems curl doesn't support that, is there anyway i can do it using go-lang? or any other way?
0
votes
0answers
27 views

Tomcat 9.0.16 on OS X: Safari fails to load gzip-compressed content over HTTP/2

We are running a Tomcat 9.0.16 server on OS X Mojave (10.14.3) with OpenJDK 11.0.1+13 and are in the process of upgrading to HTTP/2. However, using this configuration, Safari cannot load any gzip-...
0
votes
1answer
20 views

Confusing HTTP/2 protocol information in Chrome debugger Network tab

I see some of them show "h2" and some "http/2+quic/43" but never "h2+quic/43". What's the difference between h2 and http/2 in this case? And what's the "43" in "quic/43"? Protocol version or port ...
0
votes
0answers
15 views

Ensure React Native sends requests using HTTP/2 [duplicate]

How does one ensure React Native sends requests using HTTP/2? We'd like to take advantage of multiplexing features available in HTTP/2, but we're using Charles to proxy and are noticing HTTP/1.1 is ...
1
vote
2answers
111 views

Tomcat 9.0.16 Java 11 HTTP/2

Is TLS still a prerequisite for using HTTP/2 on the latest Java and Tomcat? Can I add <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol"/> to HTTP port 8080 and expect HTTP/2 to ...
4
votes
0answers
69 views

React Native Image requests over a single HTTP/2 connection

We have many React Native <Image> components rendering per screen and are witnessing performance issues due to many simultaneous http requests. Opening and closing a connection is expensive, and ...
2
votes
1answer
59 views

How to handle HTTP/2 GOAWAY with HttpClient?

I am trying to continuously send GET and POST requests to a REST API every few minutes. The issue is that after exactly 1000 requests I receive a GOAWAY frame (and an IOException): The GOAWAY frame ...
0
votes
1answer
16 views

Using HTTP2 how can I limit the number of concurrent requests?

We have a system client <-> server working over HTTP1.1. The client is making hundreds (sometimes thousands) of concurrent requests to the server. Because the default limitations of the ...
0
votes
0answers
15 views

How to use http2 in Feign for better performance RPC?

A new project consider use Spring Cloud build micro service. But we have many inner RPC call within services. For performance, how to upgrade Feign support http2? There are gRPC has give a great ...
1
vote
0answers
34 views

HTTP2 (NGINX) Behind Proxy with SSL Termination

Seeking advice on the following scenario. HAProxy (SSL Termination) -> [Docker Swarm] -> Traefik -> NGINX Powered Web Apps The goal is to enable HTTP2 all the way to the NGINX web application. The ...
0
votes
1answer
27 views

Jetty http2 to open multiple connections to same destination

I'm using jetty client to make http2 connections with servers which are http2 enabled. I can see jetty opening conections as per need and utilise to exchange data between the endpoints. my snippet is ...
1
vote
1answer
14 views

http2 domain sharding without hurting performance

Most articles consider using domain sharding as hurting performance but it's actually not entirely true. A single connection can be reused for different domains at certain conditions: they resolve to ...
0
votes
1answer
11 views

Where is Chrome push cache stored physically?

The Push cache (better described as the “unclaimed push streams container”, but that’s less catchy as names go) is where HTTP/2 push resources are stored. They are stored as part of an HTTP/2 session, ...
0
votes
1answer
36 views

Huge amount of images - HTTP/1.1 vs HTTP/2?

The program I’m about to write require downloading huge amount of HD images. The idea of the program disclaims downloading all of them in one HTTP request (it’s impossible to archive all of them into ...
0
votes
1answer
23 views

confusion regarding bidirectional and full-duplex in articles about http/2

Some articles describing http/2 are praising it for being both bidirectional and full-duplex. AFAIK bidirectional means that communication is in both directions so duplex is by its nature ...
0
votes
0answers
15 views

How to run flask development server with http2?

Just like the title suggests. Is it possible to run a Flask server in development mode that accepts and responds to requests with HTTP/2? I can't seem to find documentation on that - most things point ...
2
votes
1answer
65 views

Java 11 HttpClient Http2 Too many streams Error

I am using HttpClient of Java 11 to post the request to an HTTP2 server. The HttpClient Object is created as a Singleton Spring bean as shown below. @Bean public HttpClient getClient() { ...
0
votes
1answer
63 views

Apache Tomcat-9.0.16 Setting property 'maxConcurrentStreamExecution' to '100' did not find a matching property

I have a tomcat configuration which supports http2 and as per 9.0.16 documentation, If not specified, the default value of 20 will be used. So, I just want to increase the ...
0
votes
0answers
18 views

Can we have body in calling get method of Alamofire?

As you know HTTP 2 supports body in Calling get methods. I want to know if we can send a get request with body using Alamofire methods? If so how? I already tried this code let body = ["key":"value"...
0
votes
0answers
16 views

error while installing HTTP_Reqest2 using pear

The Error is as Follow: C:\xampp\php>pear install HTTP2 downloading HTTP2-1.1.2.tgz ... Starting to download HTTP2-1.1.2.tgz (13,447 bytes) .....done: 13,447 bytes PHP Fatal error: Cannot ...
-1
votes
0answers
9 views

how to enable HTTP/2 in Cpanel website hosting using ssh

I have a cpanel shared hosting and I want to enable http2 in this. Is there any way to enable it? Like using SSH or anything else?
3
votes
1answer
43 views

Okhttp3, http2 multiplexing POST requests high response time at peak load time

My application will send approx 1000 POST requests/minute to my tomcat server(which is http/2 enabled) which will poll the given url and return back the html and response time, I want to achieve true ...
0
votes
1answer
21 views

In Chrome DevTools, how can you tell which responses were sent using HTTP/2 server push?

HTTP/2 server push allows a server to "push" resources to the browser before the browser has actually requested them. When using the network tab of the Chrome DevTools, how can I tell which resources ...
1
vote
1answer
91 views

How to know if a request is performed using HTTP 1.x or HTTP2

I want to know if a request between a JavaScript Client and Node.js server is performed using HTTP1.x or HTTP2. How I know in XMLHttpRequest, Chrome Console and Node.js what type of protocol is used ...
1
vote
1answer
28 views

Can Karate handle stream of output payload message sent using http2

My dev team is going to send output as stream of data for a REST microservice. Is karate capable of handling such data ? If not can we integrate with something so that tests can be run in Karate ?
0
votes
0answers
12 views

Does Mesos Marathon support running HTTP/2 apps with HTTP/2 health checks?

Marathon health check supports using the HTTP and HTTPS protocols for health checks. Do these health checks work if the Marathon task (application) only speaks HTTP/2? Or is the suggested practice to ...
0
votes
0answers
45 views

Firebase Hosting and Http2

So I've got an Angular site being hosted on Firebase hosting. Technically, it's a cloud function that serves the site with SSR (not sure if that matters for this question). I'm running Chrome's ...
1
vote
0answers
11 views

disable http/2 requests in old react-native 0.38.1

We have upgraded our Nginx server and some requests from a mobile app build with react native 0.38.1 http requests stoped working. If we disable http/2 on nginx the requests works again. The problem ...
0
votes
1answer
20 views

How to handle the connection re-establish between the reverse proxy and the app server?

We are migrating our service from Websocket to HTTP/2. However, we found that the connection must be re-established when the stream ID out of the available range. Since we maintains the connection ...
0
votes
1answer
43 views

Nginx: I want to http2_push all js and css files in a directory how can I do?

files are created and deleted dynamicaly and names change over time due to css and js CMS plugin minifycation process, how can I do all js and css on a directory be pushed by Nginx? I try do index ...
1
vote
1answer
42 views

HTTP/2 configuration not running after mod_http2 enabled and protocols set in conf file [duplicate]

HTTP/2 does not seem to be running after what seems to be a proper installation. I am running CentOS 7. I installed the latest version of Apache, version httpd-2.4.35-5.el7.x86_64, and have been ...
1
vote
1answer
27 views

Okhttp3 with consrypt for http2 support in jdk8

I've been testing around okhttp3 for making http2 requests, my criteria is to achieve http2 connection using jdk8 itself. I knew this can be easily achieved by upgrading to jdk 9 or using conscrypt as ...
-1
votes
0answers
27 views

handling incomplete frame in HTTP2

I'm using nghttp2 to build a server. I do not use ssl just TCP and then HTTP2. To recv data from socket I use the nghttp2_session_recv in my callback I do a one time read from socket. When I read full ...
0
votes
0answers
76 views

Spring Boot 2 with Java 11, HTTPS and HTTP 2.0

I have a Spring Boot 2 (2.1.2) application and using the built in Tomcat. I just want to enable HTTP2 using the configuration file entry: server.http2.enabled=true We also switched to OpenJDK 11. We ...
0
votes
1answer
68 views

Using actix-web with HTTP2 support in Heroku

I am trying to deploy one of the actix-web examples that offers HTTP/2 support in Heroku, after having slightly modified it to listen at the provided $PORT number, as well as the way in which certs ...
3
votes
1answer
34 views

I am unable to update Flow control window in HTTP2 implementation, so the client is unable to send the rest of the data

I am implementing simple asyncio HTTP2 server and client in Python 3.6. It requires to implement Flow control. I have set the flow control window to 2048 bytes on client side with function self....
4
votes
1answer
85 views

How to do Http2 correctly with Apache HttpCient-5 Beta

HI I m trying to write a client that makes http2 request to multiple servers(which already supports http2). so far I have written this standalone program which works fine that I can see all requests ...
-1
votes
1answer
63 views

Requests served from ServiceWorker are downgraded from HTTP/2 to HTTP/1.1

I found a peculiar issue with service workers which apparently downgrades network request served via the worker to HTTP/1.1 even though the HTTP server is serving via HTTP/2. I have found this on all ...
0
votes
0answers
13 views

How to make an http2 (h2c) request from firefox to my localhost server [duplicate]

Currently I'm implementing an http2 server. For testing I'm using curl with --http2-prior-knowledge option. I need to test in firefox also. By default it makes an http1.1 request to my server without ...
9
votes
2answers
292 views

java 11 HttpClient leads to endless SSL loop

I am using the new java.net.http.HttpClient with the sendAsync method. The HttpClient is inside a Singelton and is created once like so: HttpClient.newBuilder().build() so really nothing special. ...
6
votes
1answer
84 views

Java - Making multiple requests using HTTP2

I have not been able to find any great examples to outline using Java's new HTTP2 support. In previous versions of Java (Java 8) I was making many calls to a REST server using multiple threads. I ...
0
votes
2answers
67 views

Using HAproxy to proxy h2c requests

Is it possible to use HAproxy to proxy incoming h2c requests? I have tried the following configuration using this tutorial: frontend receiver mode http bind *:80 bind *:443 ssl crt-list /some/...
0
votes
1answer
86 views

How to enable http2 using spring boot and tomcat without SSL configuration

I have enabled HTTP 2.0 in Spring boot 2.1.2 and Tomcat with SSL using below configuration in application.property file - server.port=8443 server.http2.enabled=true security.require-ssl=true server....
1
vote
1answer
39 views

How to enabled http1.1 and http2.0 both together in a spring boot REST application in tomcat 9.0.14

I have enabled http 2.0 with SSL in a spring boot 2.1.2 REST application with embedded tomcat using configuration "server.http2.enabled=true" and other SSL configurations in application.properties ...
0
votes
0answers
22 views

Building an android client application to interact with a streaming service that supports HTTP2

I am building an android application that will interact with a streaming service. The service supports http2 connections. Application will send chunks of audio files(Chunked from live audio input ...

http://mssss.yulina-kosm.ru