You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Serve over HTTP/2 using spdy. This option is ignored for Node 10.0.0 and above, as spdy is broken for those versions. The dev server will migrate over to Node's built-in HTTP/2 once Express supports it.
Ok sure. but how about logging something such that it is easier to see why suddenly nothing works?
I takes hours to debug such an issue when there is zero information in logs.
In Java you can workaround using this code when building your request:
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Unsure.
Description
ng serve does not respond to requests containing both of these headers:
This happens when specific clients connect to Angular such as Java Rest clients (java.net.http.HttpClient)
🔬 Minimal Reproduction
Setup a new Angular project. Dependencies see below package.json file. (probably doesn't matter too much).
Serve the project:
Curl to get responses. First without http2 headers works fine:
Second with Http2 headers gets stuck and never returns:
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
Here's my package.json:
The text was updated successfully, but these errors were encountered: