Hi Sherif,
This looks more like some bug with your curl - like this one:
https://github.com/nghttp2/nghttp2/issues/735 - or something related
to your environment (machine) than an issue with Mainflux. For some
reason curl on your machine is forcing HTTP/2 (curl is now doing this
by default for HTTPS) and not doing correct fallback to HTTP/1.1. Can
you please try using HTTP/1.1 and tell us the result, or try on some
other machine, or try on the some machine with some other tool than
curl - Postman for example?
https://curl.haxx.se/docs/http2.html
BR,
Drasko