Hey everyone,
I’ve been trying to set up an automated post-receive webhook in Gitea to trigger external deployment scripts whenever code is pushed to our main branch.
The script runs fine in standalone testing, but as soon as Gitea triggers the webhook event, the execution log displays a 504 Gateway Timeout or fails to pass the commit signature payload to the remote listener. I checked my network settings and verified that Gitea’s internal webhook delivery log shows a timeout after 5 seconds. Has anyone encountered issues where custom background execution triggers get dropped by Gitea’s webhook middleware, and is there a configuration parameter in app.ini to extend HTTP timeout limits or cleanly handle asynchronous payload handshakes?