#adelvalle
1 messages ยท Page 1 of 1 (latest)
Hello, what help do you need?
Yes Thanks
I have a webhook, and As you can see in this picture
I have an invoice.paid failed, and another success
Can you send the ID (evt_123) of the unsuccessful event?
Have you checked what error the dashboard says happened when sending that event?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
both have the same event_id
but both execute the servlet
I dont know why the error ocurrs
maybe because there is not response,,,, I'm not sure but in both cases, the servlet execute
so my code is repeated
It looks like our first attempt to send that event timed out when reaching out to your server
It might be helpful to check your network logs from around that time to see if you have a firewall or soemthing that rejected a request from one of our webhook IPs
Though if you were getting other events before or after, it may also be possible that your webhook endpoint code hung or something
But if I check my logs I can see that my code has been executed twice
All we can see from our side is that we didn't get a request back within 30 seconds
Is this consistent enough that you can get this error by sending or resending a few events?
I Dont know
but I dont know Why if there is a connection error, why the code has executed
My logs:
I have an event at 14:34:00 and later the same event at 14:34:37
And I don't know why if the first one was an error
If it got to your server, it sounds like your code either hung or errored out. Even if it is the same code, it sounds like something different happened between the two times that your server got that error.
I see that there are other invoice.paid events that errored out in your logs. Were these all around the same time? Or does this just happen a lot with that event?
If it consistently happens, it may be helpful to add logging to see where it gets stuck or errors or otherwise doesn't respond
Hi ๐
hi
I'm stepping in for @fast geyser as they need to go. However, the advice my colleague has provided is correct as far as I can see. You will need to examine how your code is handling the webhook requests Stripe is sending you