HTTP/2 support (ALPN)
complete
s
sunflower
macOS 14.4.1, MacBook Pro 16 2019.
When Im trying to send request via Yaak to my http/2 server with http/1 fallback support disabled i keep getting error "error sending request for url (myurl): channel closed". When i send request with curl and --http2 flag or with browser everything works just fine. I use http/2 over https, not plain text.
When i enable http/1 fallback support on my server, Yaak just send request via http/1.1. Any way to make http/2 work?
Gregory Schier
complete
https://yaak.app/blog/2024.6.0
Gregory Schier
in progress
Gregory Schier
under review
Gregory Schier
Can you provide a sample endpoint or repo I can use to reproduce this?
s
sunflower
Gregory Schier sure, https://github.com/GGSkyOne/yaak-http2-reproduction
Gregory Schier
sunflower: Thanks, I reproduced in Yaak! Curl doesn't seem to work for me, though. Is this command correct?
Gregory Schier
Ah, got it
s
sunflower
Gregory Schier It is a get request, not post, but in any case it doesn't change the essence, thank you if you can fix this!
Gregory Schier
sunflower: Fixed it! Apparently ALPN wasn't enabled by default.
s
sunflower
Gregory Schier Great! Waiting for fix to appear in the next release :0