HOW TO FIX UPSTREAM TIMED OUT (110: CONNECTION TIMED OUT) ERROR IN VESTACP NGINX
December 17, 2015 / by Marco / Categories : Software
This was the most annoying issue I’ve ever experienced. I had to import large XML files into a SQL database using a WordPress plugin and kept getting the 500 Internal Server Error message. When I checked the error log I noticed this:
*19 upstream timed out (110: Connection timed out) while reading response header from upstream, client: x.x.x.x, server: example.com, request:
The VPS hosting for this domain has 4GB of memory so I knew that memory was not the issue. I even updated the php.ini file to increase the maximum timeout but this also didn’t fix the issue. The only way to solve this issue was to increase the nginx proxy timeout value in /etc/nginx/nginx.conf from 90 to 300
I also ended up changing the proxy_send_timeout and proxy_read_timeout values to 300. After restarting the VPS (can always use the command service nginx restart) and running the import, it worked!
Our Sponsors
- Advertise Me Pty Ltd
Digital Signage Solutions
OTHER ARTICLES YOU MAY LIKE

5 REASONS WHY ZEN FLOWCHART IS OUR FAVORITE FLOWCHART MAKER
Flowcharts are designed to provide a lot of clarity, improved communication, and problem-solving capabilities – but creating them digitally can always feel a bit like a bit of an uphill battle. Unless of course you are using Zen Flowchart. Designed from the ground up to be the best flowchart maker on the planet today, you’ll […]
read more
NEW SALESFORCE ADDON FOR WPFORMS
We previously talked about WPForm in this article: HOW TO CREATE GREAT LANDING PAGES IN 2020 If you’re using WPForms and also Salesforce you’re in luck. There is now a new addon which will allow you to automatically send form entries from WPForms to Salesforce CRM. Now you won’t have to manually export the data […]
read more