Webhook "internal error" Net::ReadTimeout

Good Day!

I was try or attempting to create a webhook that everytime I push something to the repository ( master branch ) it should automatically pushed the changes to my production server. When I got to test it, It didn’t update the codebase on my production server and I discovered that the webhook was failing and I don’t know why.

Anyone knows what might cause it? it is because the requests was process too long or got blocked by the firewall?

I have the same issue. 50% of requests get “Net::ReadTimeout”. When I manually run the script in the browser, it always runs with success after 2-3 sec. Could be GitLab has a very short timeout. Is there a way to change it?