Monday, 31 August 2020

Quickbooks webhooks works locally with ngrok but not working on production

I've went through all the troubleshooting steps they provide here. My endpoint is accessible, ssl passes the tests. Webhooks work when I'm testing on my local environment using ngrok but it does not work on staging and production servers hosted on aws and managed on laravel forge. The webhooks post request simply does not hit the server.

I contacted the Quickbooks support about this several times. Their response is, they get a timeout - StatusCode 41 when they post the notification to my endpoint. And they say that the network is restricting traffic in some way. Also contacted forge support and they said they wont help for application related issues.

I tried disabling the firewall with ufw, reviewed all the logs but I don't see any way how the server is restricting the traffic. I retried several times changing the webhooks URL on sandbox and no luck.

Any help would be greatly appreciated.



from Quickbooks webhooks works locally with ngrok but not working on production

No comments:

Post a Comment