dotScot Domains Posted April 29, 2019 Share Posted April 29, 2019 Hi folks, I'm in the testing phase and I'm struggling to get payment data across to Stripe. Checking my Stripe dev log, the payment data never reaches them. Here's the entry from my error log: 2019/04/29 23:43:37 [error] 143116#143116: *1767 upstream timed out (110: Connection timed out) while reading response header from upstream, client: [MY LOCAL IP], server: [MY WHMCS HOSTNAME], request: "POST /cart.php?a=checkout HTTP/2.0", upstream: "https://[MY SERVER IP AND PORT]/cart.php?a=checkout", host: "[MY WHMCS HOSTNAME]", referrer: "https://[MY WHMCS HOSTNAME]/cart.php?a=checkout" I can't seem to find where the bottleneck is occurring. Could someone give me some further debugging advice so I might track this down? Thanks in advance 🙂 Cheers, Robert @ dotScot 0 Quote Link to comment Share on other sites More sharing options...
dotScot Domains Posted April 30, 2019 Author Share Posted April 30, 2019 I worked it out. There was an issue with the mail set up. It wasn't liking the SMTP details for some reason and switching to PHPMail() did the trick. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst II WHMCS Lawrence Posted May 2, 2019 WHMCS Technical Analyst II Share Posted May 2, 2019 On 4/29/2019 at 10:58 PM, dotScot Domains said: I worked it out. There was an issue with the mail set up. It wasn't liking the SMTP details for some reason and switching to PHPMail() did the trick. I am glad to hear that you were able to figure this out. Usually a SMTP caused issue like this is due to either the server's firewall blocking connections to the SMTP server set under Setup > General Settings > Mail tab or an issue with connecting to the SMTP server itself. I'd recommend working on that and get it corrected, as PHPMail() sent e-mails are generally viewed as less trustworthy by recipient mail servers (such as Gmail) and filtered out as spam as a result. 0 Quote Link to comment Share on other sites More sharing options...
dotScot Domains Posted May 5, 2019 Author Share Posted May 5, 2019 On 2/05/2019 at 7:04 PM, WHMCS Lawrence said: I am glad to hear that you were able to figure this out. Usually a SMTP caused issue like this is due to either the server's firewall blocking connections to the SMTP server set under Setup > General Settings > Mail tab or an issue with connecting to the SMTP server itself. I'd recommend working on that and get it corrected, as PHPMail() sent e-mails are generally viewed as less trustworthy by recipient mail servers (such as Gmail) and filtered out as spam as a result. I got to the bottom of the SMTP issue and we're now using that instead of mail() 🙂 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.