HTTP2 with CURL gives "Unsupported Protocol" HTTP2 with CURL gives "Unsupported Protocol" curl curl

HTTP2 with CURL gives "Unsupported Protocol"


Apparently you are not linking with the right version of curl, at least at runtime. That's what the output libcurl/7.38.0 means. Mine has a higher version number there. Try

LD_LIBRARY_PATH=/usr/local/lib curl <whatever> 

as your command. Or just to be sure:

ldd `which curl` 

and pay attention to the dependencies that appear listed.


This one really helps me set it up properly


I found curl 7.53.1 for Windows this tool very useful to test the http2 requests.It has pre-compiled builds of curl for Windows built with OpenSSL, ngttp2, zlib & IPv6 support.