Closed Mariatta closed 2 years ago
GitHub has a timeout for web hook delivery, at 10s.
My best guess is that something on the new server is causing the handler to take longer than that. It's totally possible that the switch from the built in bespoke roundup-server to gunicorn is causing floods of requests to push GitHub past it's breaking point... or the handler is just slow as it's performed synchronously.
I've provisioned more worker processes for the cpython tracker's gunicorn stack, but we should probably investigate the performance of the handler itself to see if there's anything we can do to speed it up.
Aside from that... finding something to asynchronously process the hooks might be a better course of action, but roundup doesn't have any asynchronous task queue available.
Also worth noting that each of the deliveries probably succeeded in doing whatever the handler would do with them... GitHub just gave up.
We now migrated to GitHub, so this can be closed.
Webhook to bpo pull_request with this payload keep resulting in
Service timeout
error.I think it was taking too long to process this particular delivery? I've tried re-delivering the same payload three times, all returning
Service timeout
.delivery id 6efba906-09dd-11e9-9b45-e06201fc4ec9 timestamp: 2018-12-27 05:43:46