#Thibaut-webhooks

1 messages · Page 1 of 1 (latest)

fresh cosmos
calm girder
fresh cosmos
#

hi! my guess would be you have some infrastructure on your side that causes that. Like maybe it's a Lambda or Heroku instance and it goes to sleep after a while with no activity.

#

so it's asleep when we first connect and it doesn't wake up before we time out on the delivery, but then after that it is active again so the second delivery succeeds.

calm girder
#

I understand your point but I don't think so because we have around 1request per second to 5 rps

#

Our dynos never sleep

fresh cosmos
#

can you share the event ID evt_xxx of the one that timed out?

calm girder
#

evt_3KWwGmFgrf8fsEG41w2OcdNx

#

This on for example

fresh cosmos
#

thanks! yeah, there is not really any extra context from our logs, it's just that the HTTP connection we tried to make timed out. Maybe you have a load balancer/firewall etc that sits in front of your application server and might be causing this.

calm girder
#

But how can we explain that most of the webhooks are ok?

fresh cosmos
#

I'm not sure, I have very little to work with here, you would be better placed to investigate this as you might have logs on your side on your ingress servers

#

all Stripe knows is we connected to your IP address and never got a response.

calm girder
#

We are digging into the problem

#

And we see weird things

#

We usually have 600 webhooks transaction.succeeded a day

steel fossil
#

Hi 👋 jumping in as karllekko needed to step away. We aren't as familiar with the information shown in the dashboard, but I suspect that the response time graphic doesn't include timed out requests.

calm girder
#

When we resend the webhooks, it passes after 3 or 4 retries

#

Maybe, something to mention is that we are migrating from Stripe Standard to Stripe Custom

steel fossil
#

The type of connected accounts that you're using shouldn't make a difference with webhook events (unless that changes something in the event body that your event handling code isn't ready for)