VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: saviB on April 30, 2015, 17:21:34 PM

Title: 504 gateway Timeouts
Post by: saviB on April 30, 2015, 17:21:34 PM
VirtueMart 3.0.8 / Joomla! 3.4.1

I'm getting 504 errors with VM 3.0.8. It happens after installation of the update and using some migration tools - in this last case, Install or if necessary update tables

Error:

504 Gateway Time-out

The gateway did not receive a timely response from the upstream server or application.


But - using the back button, whatever task that prompted the error shows as successfully completed. In this case:

vmdebug vmTime: VirtueMartControllerUpdatesmigration Finished task updatesmigration: 0.0363779067993164

Anyone else?
Title: Re: 504 gateway Timeouts - Install Script Issue?
Post by: saviB on May 08, 2015, 19:22:16 PM
Anyone else? More information:

1. This happens on several different websites.

2. All of which are hosted on Siteground shared server accounts - Grow Big. I submitted a support ticket and the response from Siteground support staff:

QuoteI have managed to recreate the issue on my end and it seems that the script takes to much time to be executed and it hist the server limits.

This says to me that something is up with either Joomla! extension installer or the Virtuemart com_virtuemart.3.0.8.zip package. The other two packages install just fine: com_virtuemart.3.0.8_ext_aio.zip and com_tcpdf_1.0.0.zip

3. Adding to this I get a 504 Gateway Timeout when attempting to use the "Install or if necessary update tables" tool. So - this makes me think its something to do with VM.

4. I usually use FF, so I gave it a shot in Chrome. No luck. But in Chrome, there is a package percentage widget and it appears the package uploads fine - then gets hung up in the install.

Its become an issue now because I've got a migrated site that has lost its Virtuemart Admin Left navigation. I found some solutions in the forum for this - but none for VM3 - and none that work for me. http://forum.virtuemart.net/index.php?topic=104329.0

I'm wanting to re-install the VM core to see if it clears up the VM menu issue, but now, after the Gateway Timeout the installation no longer completes.

VirtueMart 3.0.8
Joomla! 3.4.0

Title: Re: 504 gateway Timeouts
Post by: saviB on May 09, 2015, 00:12:39 AM
More from Siteground:

I have carefully investigated the problem, and tried to resolve it however to no avail. I am including the exact error log related with the timeout :

Code:
Timeout waiting for output from CGI script /mypath/administrator/index.php, referer: http://mysite/administrator/index.php?option=com_installer

As a part of my investigation I have increased the limits of your account as much as I could and additionally I have tried different PHP versions but I was not able to resolve the issue at hand.



Title: Re: 504 gateway Timeouts
Post by: GJC Web Design on May 09, 2015, 00:59:29 AM
Well - all I can add is if this was a general problem the forum would be full of complaints about it..

I have installed loads of VM3 on various hosts and never seen this problem - so...  siteground problem?

One work around I have used for difficult hosts - install xampp  - build on local host -- when finished Akeeba it up to the host
Title: Re: 504 gateway Timeouts
Post by: sean_nwfs on September 17, 2015, 00:55:15 AM
I had a very similar issue but mine turned out to be that our SMTP email relay was set incorrectly. As soon as I fixed the proper port the error went away.