#karls-cli

1 messages · Page 1 of 1 (latest)

timber field
#

@vocal shore I'm going to need more specific details to help you debug this

vocal shore
#

sure

#

I'm using CLI to resend webhook events that have failed.

#

so for instance, this webhook attemp failed: evt_1JfAOoDOnh5qjbu1r16BpD8D

#

actually not see my CLI events resend requests anywhere in logs

timber field
#

I don't really follow your last sentence

vocal shore
#

I'm looking in the Logs in the dasbhoard.

#

I'm looking for the Stripe CLI resend event and not seeing it.

#

I'm showing the headers for the resend event in my console and the Request-Id is: req_1gvo4Csl7R6iUv

timber field
#

gotcha, thanks, let me dig, I see the same thing internally now

vocal shore
#

perfect. thank you.

timber field
#

what exact command do you use to resend the event?

vocal shore
#

stripe events resend evt_1JfAOoDOnh5qjbu1r16BpD8D -s

#

Thought! On Login from Stripe CLI, do I need to login specifically to Test mode? Didn't seem like I needed to...

timber field
vocal shore
#

oh... let me try that.

#

Hm. Is it an Id or is is the actual endpoint url address?

#

I found the Id in the web address in the Dashboard.

#

that was it. thanks!

timber field
#

sure! I'm going to see if we can improve the doc for this :p

vocal shore
#

Good idea!

vocal shore
#

by the way, I'm getting the exception:
WebException: The request was aborted: Could not create SSL/TLS secure channel

When connecting from my Dev (localhost) web application to Stripe when accessing the Stripe Webhooks API

#

..with my TEST web api key.

#

fails here:

var events = service.ListAutoPaging(options);

I'm wondering if the problem is in ListAutoPaging??

timber field
#

hmmm you can't really store results with ListAutoPaging that's an async method right? But that error seems to be more with your own server/infra config no?

vocal shore
#

That is a valid assignment ^^^, but I think I solved it with this declaration:

StripeConfiguration.MaxNetworkRetries = 4;

vocal shore
#

I'm getting an error running event resend in --live mode

#

The error is:
IwFstL' does not have the required permissions for this endpoint on account 'acct_1FsZRADOnh5qjbu1'. Having the 'rak_webhook_write' permission would allow this request to continue."