Error 504 Gateway Time-out
Mar 1, 2013 11:37 am by Soldierluca91
Mar 1, 2013 11:37 am by Soldierluca91
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.
Re: Error 504 Gateway Time-out
Mar 1, 2013 12:40 pm by Yana
Mar 1, 2013 12:40 pm by Yana
Hi,
Please check gtranslate settings and try to enable the debug mode. If you can send me access info I can check it.
Re: Error 504 Gateway Time-out
Mar 1, 2013 2:06 pm by Soldierluca91
Mar 1, 2013 2:06 pm by Soldierluca91
Sorry, i can't give access to FTP.
I paste here the config.php:
<?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
Re: Error 504 Gateway Time-out
Mar 1, 2013 10:19 pm by Yana
Mar 1, 2013 10:19 pm by Yana
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
Re: Error 504 Gateway Time-out
Mar 4, 2013 10:24 am by Soldierluca91
Mar 4, 2013 10:24 am by Soldierluca91
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)
Re: Error 504 Gateway Time-out
Mar 4, 2013 5:59 pm by Soldierluca91
Mar 4, 2013 5:59 pm by Soldierluca91
Maybe the provider can resolve, i wait that he try to do something...
Re: Error 504 Gateway Time-out
Mar 4, 2013 6:21 pm by Yana
Mar 4, 2013 6:21 pm by Yana
HI,
If you want we can change the license. Please let us know how to proceed.
Re: Error 504 Gateway Time-out
Mar 5, 2013 8:41 am by Soldierluca91
Mar 5, 2013 8:41 am by Soldierluca91
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
Re: Error 504 Gateway Time-out
Mar 5, 2013 10:03 am by Soldierluca91
Mar 5, 2013 10:03 am by Soldierluca91
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
Re: Error 504 Gateway Time-out
Mar 5, 2013 9:38 pm by Yana
Mar 5, 2013 9:38 pm by Yana
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.
SIMILAR TOPICS
Gtranslate: Error with number | Feb 20, 2019 1:20 am | Replies: 1 | Post by: infact_dat |
Error message and URL problems | Feb 6, 2019 11:16 am | Replies: 1 | Post by: Kidbooo |
GT doesn't work...error 404 page | Jan 28, 2019 5:36 pm | Replies: 1 | Post by: vincenzodinuzzo |
Nginx 502 Error | Jan 11, 2019 2:15 pm | Replies: 1 | Post by: mightyfineprint |
Error message on click on the widget | Jan 6, 2019 9:52 pm | Replies: 1 | Post by: jmric68 |