I've gone 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 won't help with 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.,
edit: SSL is valid, csrf is turned off, url is publicly accessible, a curl request from another server goes through fine, nothing in logs.
Security Group Settings:
All TCP TCP 0 - 65535 0.0.0.0/0
All traffic All All 232r341c71db2cda
All UDP UDP 0 - 65535 0.0.0.0/0
curl
the webhook from one of your production servers? Using the-v
flag will give you details about the connection, maybe a hint where it's failing – konsolenfreddy Sep 3 '20 at 21:57