I have used orders/updated webhook in my app. I am getting below error emails for some users.
So please let me know how to resolve this issue.
Recent failures: July 1, 2020 at 11:08 am Error: read tcp 10.228.170.240:41330->184.108.40.206:443: i/o timeout
In general, when you receive that error it's because we weren't able to reach the configured host within a certain amount of time. You can learn more about our webhook frequencies and retries here: https://shopify.dev/tutorials/manage-webhooks#frequency
Getting that email indicates we still had connection issues even after multiple attempts.
This means your server isn't responding to the webhook on time. Shopify requires that you respond with a 200 status code within 5 seconds, otherwise we consider that webhook delivery failed and schedule a retry. If delivery fails multiple times in a row, the webhook is automatically deleted. See our docs here for full details.
You'll need to make changes in your code to ensure your app responds with a
200 - OK within 5 seconds of receiving the webhook.
I have added condition in PHP file, if app not respond within 5 sec code exit. I have checked file respond within 1 sec and added condition also if some parameters have blank or not, but still getting this error. Please let me know another solution.