Skip to content

listen --forward-to does not support HTTP2 #1406

@gorankarlic

Description

@gorankarlic

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions