Error 504 Gateway Time-out

Popular automatic website translation tool

Error 504 Gateway Time-out

Postby Soldierluca91 » Fri Mar 01, 2013 3:37 pm

Hi,
After changing the hosting server, gtranslate no longer works.
When i click on a flag, nothing happens for a few minutes and then i have the 504 Gatewey Timed-out.

The website is http://www.pellettrade.it

Thanks.
Soldierluca91
 
Posts: 7
Joined: Fri Mar 01, 2013 3:32 pm

Re: Error 504 Gateway Time-out

Postby Yana » Fri Mar 01, 2013 4:40 pm

Hi,
Please check gtranslate settings and try to enable the debug mode. If you can send me access info I can check it.
Regards,

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Yana
 
Posts: 4135
Joined: Thu Jan 12, 2012 6:21 pm

Re: Error 504 Gateway Time-out

Postby Soldierluca91 » Fri Mar 01, 2013 6:06 pm

Sorry, i can't give access to FTP.

I paste here the config.php:
Code: Select all
<?php
define('MAIN_LANG', 'it'); // Main language code: en, ar, bg, hr, cn, ct, cs, da, et, tl, fi, fr, gl, el, iw, hi, es, nl, id, ja, ca, ko, lt, lv, mt, de, no, pt, ru, ro, sr, sk, sl, sv, th, tr, uk, hu, vi, it, pl, sq

define('API_KEY', 'INSERT-YOUR-KEY'); // You can get your Google Translate API key from https://code.google.com/apis/console/?api=translate
define('AUTO_DETECT_LANG', false); // set to true if you have mixed language content, works with Google only
define('CACHE_TIME', 365*24*60*60); // 1 year by default, no need to decrease
define('LICENSE', 'license.dat');
define('SSL_VERIFY_PEER', true); // disable if you get CA certificate error and cannot reconfigure your server to solve the issue
define('FOLLOW_LOCATION', false); // if your site have redirects for some URLs and for that reason you see blank pages, you need to enable this feature
define('USE_BING_TRANSLATOR', false); // Enable it to use Bing Translotor instead of Google Translate
define('BING_API_KEY', 'INSERT-YOUR-KEY'); // If the option above is enabled you need to get your Bing API key from http://www.bing.com/developers/createapp.aspx (PHP SOAP client is required)
define('DEBUG', true); // turn on for debug mode

// username and password to edit translations, please change for security reasons,
// this is not your google login/pass, you need to think something new
define('USER', '****');
define('PASS', '****');


And you can see the debug.txt from this url:
http://www.pellettrade.it/gtranslate/debug.txt

Thanks
Soldierluca91
 
Posts: 7
Joined: Fri Mar 01, 2013 3:32 pm

Re: Error 504 Gateway Time-out

Postby Yana » Sat Mar 02, 2013 2:19 am

HI,
There is a connection problem. Please ask your hosting provider to fix that issue for you.

* About to connect() to www.pellettrade.it port 80
* Trying 217.73.228.40... * Connection timed out
* couldn't connect to host
* Closing connection #0
Regards,

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Yana
 
Posts: 4135
Joined: Thu Jan 12, 2012 6:21 pm

Re: Error 504 Gateway Time-out

Postby Soldierluca91 » Mon Mar 04, 2013 2:24 pm

I have the answare of the hosting provider.
They said that is a problem of the server structure, we can't connect to http://www.pellettrade.it from inside the server.
They created another url, web.pellettrade.it, that is accessible, but i have to configure gTranslate to contact this url and not http://www.pellettrade.it ...

I tried to open in the browser web.pellettrade.it and the gTranslate can connect to server (but he give the license error).

How i can do? It is possible to configure gTranslate to connect to new URL from http://www.pellettrade.it?

(sorry for the english, i'm not very good)
Soldierluca91
 
Posts: 7
Joined: Fri Mar 01, 2013 3:32 pm

Re: Error 504 Gateway Time-out

Postby Soldierluca91 » Mon Mar 04, 2013 9:59 pm

Maybe the provider can resolve, i wait that he try to do something...
Soldierluca91
 
Posts: 7
Joined: Fri Mar 01, 2013 3:32 pm

Re: Error 504 Gateway Time-out

Postby Yana » Mon Mar 04, 2013 10:21 pm

HI,
If you want we can change the license. Please let us know how to proceed.
Regards,

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Yana
 
Posts: 4135
Joined: Thu Jan 12, 2012 6:21 pm

Re: Error 504 Gateway Time-out

Postby Soldierluca91 » Tue Mar 05, 2013 12:41 pm

Hi,
Before the domain http://www.pellettrade.it pointing to a load balancer, which sent requests to the server where the site is physically, now the provider has directly point the domain to the IP of the server (217.73.228.10).
The problem is that gTranslate continues to resolve the domain with the old IP (217.73.228.40), giving the same error.
Do you have any idea on how I could fix it?

(However I think the problem is with the provider, but if you have an idea I listen)

Thanks
Soldierluca91
 
Posts: 7
Joined: Fri Mar 01, 2013 3:32 pm

Re: Error 504 Gateway Time-out

Postby Soldierluca91 » Tue Mar 05, 2013 2:03 pm

Ok, the provider solved the poroblem.

Now, sometime, when i choose a language, the page is still in the original language.

When this happens, i have this lines on debug.txt:

< HTTP/1.1 200 OK
< Date: Tue, 05 Mar 2013 10:01:05 GMT
< Server: Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0g DAV/2 mod_fastcgi/2.4.6 PHP/5.3.9
< Last-Modified: Thu, 28 Feb 2013 14:41:06 GMT
< ETag: "8039c011-8b560-4d6c9e1733750"
< Accept-Ranges: bytes
< Content-Length: 570720
< Cache-Control: max-age=37739520, public
< Content-Type: application/x-shockwave-flash
* Connection #0 to host www.pellettrade.it left intact
* Closing connection #0
Soldierluca91
 
Posts: 7
Joined: Fri Mar 01, 2013 3:32 pm

Re: Error 504 Gateway Time-out

Postby Yana » Wed Mar 06, 2013 1:38 am

Hi,
Sometimes it may stop translating to not exceed the limits set by Google. The limit.txt is intended for saving the translation traffic. It has a timestamp in it and it expires. If you wait, it will expire and the translation process will continue. When you add ?force_translation=1 you force the translation process to be continued.
Regards,

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Yana
 
Posts: 4135
Joined: Thu Jan 12, 2012 6:21 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux
cron