-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stripe cli doesn't receive any event from stripe #487
Comments
Hey @Geekimo, could you share a little more about how you're generating the events? It sounds like you were creating them in the dashboard, correct? What does the output for |
Not my ticket, but I'll borrow it. I'm getting good looking websocket connections; but they are being dropped and reconnecting. But I'm not seeing any events.
Commands I tried:
|
Update: 12 hours later and stripe webhooks are arriving at |
I have the exact same issue as @drnic. I have crated one webhook pointing to the actual URL. Then i start |
Similar problem for me. First time the stripe cli console indicated it forwarded the webhook but my code rejected the request due to WAF issue. I resolved that but afterwards I get no more forwards. I got this error once
I do have a perfectly valid certificate for wongo.com installed on my dev machine so that's not the issue and my server never got any requests. |
I am experiencing a similar issue, where I set up a redirect to my local dev environment. Events triggered via cli are received just fine, while those initiated via stripe API are sometimes received, sometimes not. I see a sequence of 7 events in the event log, but only some (if that) are received by the cli listener.
While my cli listener receives a variable selection of these events, anywhere from 2 to 5. If I resend the specific events via |
I'm seeing the exact same issue as @easybi-vv, more often with Stripe Connect events. When I perform an operation (either via API or dashboard) I expect to emit events, I sometimes receive the expected events. For example, I will update a customer in the dashboard and expect to receive a
And sometimes I'll receive the event as expected. It seems completely random and sporadic. I can perform the same operation repeatedly (ex: add a piece of random metadata to a customer) and it's completely unpredictable how many And similar to what @easybi-vv reported, when performing an operation that emits several events (like processing a payment) I may receive none, some, or all of the expected events. Here's the command I'm running: stripe listen \
--log-level debug \
--skip-verify \
--forward-to https://api.lvh.me:5001/webhooks/stripe \
--forward-connect-to https://api.lvh.me:5001/webhooks/stripe/connect @tomer-stripe I'm happy to perform any additional debugging or provide further details that could be helpful. This isn't a new issue, but I seem to be experiencing it more frequently over the last month or so. |
@kylefox thanks for the additional data. We're fully focused on this issue and have added additional logs and metrics on our side. Next time you are facing this issue, please share the id of an event that was dropped (you can find it on your dashboard). Thanks! |
I'm having the same issue, events are showing in the logs and dashboard but not when listen to the hook url. Also my function isn't firing when the event is triggered, not sure if this is only when testing local or behavior is same when hook is pushed live when we can test with the dashboard. |
Slightly off topic, but this seems to be the result page if you’re searching for “stripe listening not working”. By default “stripe listen” seems to ignore webhook messages with the wrong version without any warning and hence appears to not be working. Using the log level parameter: I eventually got the message: Hopefully this helps someone not waste most of the day as I have just done. |
Thanks @exigenltd! Just confirmed with the debug log level. It's the same issue for m:
|
I see only: |
Not sure if this would help someone but I encountered this as well, it turns out that on my CLI I was logged in with a different account. Running |
I'm facing the same issue, v1.10:
Logged in multiple times to no avail. |
For some reason, adding log-level debug made events start appearing for me. Before logging, nothing was showing up. |
So what's the solution?? |
I'd agree with this unfortunately. Just spent an hour trying to get stripe-cli and listening to webhooks to work, I know it worked previously. Switched to Cloudflare Tunnels and it's working fine. Who knows. |
Issue
When a create a subscription in test mode, events are triggered in the dashboard, but the stripe cli, which is listening with
./stripe.exe listen --load-from-webhooks-api --forward-to api.myapp.local --log-level debug
receives nothingExpected Behavior
I should get the events trigerred from the dashboard sent to my local app
Steps to reproduce
Define webhooks, login via stripe cli and redirect to local app loading webhooks via api, then do an action that triggers one of the listened events. If I manually trigger the event via
stripe trigger [...]
my application webhook is correctly called, but I'd like to work with my test data.After a few tests, I find out that only API generated events are received to the cli, but why ?
Traceback
Nothing, and I can see the events via
stripe logs tail
Environment
Windows and Debian via WSL2
The text was updated successfully, but these errors were encountered: