Issue
Using stripe-cli listen --forward-to https://localhost/webhook --skip-verify using HTTP1.1 yields
--> charge.succeeded [evt_...]
<-- [200] POST https://localhost/webhook [evt_...]
but when using exactly the same setup with a HTTP2 only server the same results in a 403 error:
--> charge.succeeded [evt_...]
<-- [403] POST https://localhost/webhook [evt_...]
Expected Behavior
HTTP1.1 and HTTP2 should both work.
Also HTTP status code 403 is very much misleading (note: the webhook endpoint in this test case simply returns HTTP status code 200); the issue is instead that stripe-cli does not seem to support HTTP2.
Environment
MacOS 26.1
Issue
Using
stripe-cli listen --forward-to https://localhost/webhook --skip-verifyusing HTTP1.1 yieldsbut when using exactly the same setup with a HTTP2 only server the same results in a
403error:Expected Behavior
HTTP1.1 and HTTP2 should both work.
Also HTTP status code
403is very much misleading (note: thewebhookendpoint in this test case simply returns HTTP status code200); the issue is instead thatstripe-clidoes not seem to support HTTP2.Environment
MacOS 26.1