@todo TRANSLATIONS_FETCH_REQUEST_FAILED

sturmelli

Joined: 2011-03-09
Posts: 1
Posted: Wed, 2011-03-09 15:03

Hi everybody,

hope, you can help me.

here is the log with my prob:

Task Update translations started (task id 20)
exception 'Exception' with message '@todo TRANSLATIONS_FETCH_REQUEST_FAILED ' in /var/www/gallery3/modules/gallery/helpers/l10n_client.php:137
Stack trace:
#0 /var/www/gallery3/modules/gallery/helpers/gallery_task.php(230): l10n_client_Core::fetch_updates(959)
#1 [internal function]: gallery_task_Core::update_l10n(Object(Task_Model))
#2 /var/www/gallery3/modules/gallery/helpers/task.php(90): call_user_func_array('gallery_task::u...', Array)
#3 /var/www/gallery3/modules/gallery/controllers/admin_maintenance.php(194): task_Core::run('20')
#4 [internal function]: Admin_Maintenance_Controller->run('20')
#5 /var/www/gallery3/modules/gallery/controllers/admin.php(62): call_user_func_array(Array, Array)
#6 [internal function]: Admin_Controller->__call('maintenance', Array)
#7 /var/www/gallery3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Admin_Controller), Array)
#8 [internal function]: Kohana_Core::instance(NULL)
#9 /var/www/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#10 /var/www/gallery3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#11 /var/www/gallery3/index.php(102): require('/var/www/galler...')
#12 {main}
@todo TRANSLATIONS_FETCH_REQUEST_FAILED

Please tell me, what I have to do to change the language.

 
the0ne
the0ne's picture

Joined: 2011-05-02
Posts: 83
Posted: Fri, 2012-01-13 08:38

hi!

the following might not be true in your case, but it might help anybody else googling for the solution:
in my case the server i'm using supports ipv6.
however, using ipv6 it wasn't possible to query the gallery.menalto.com website.
i could verify this by calling w3m http://gallery.menalto.com/

Quote:
problem:
obviously ipv6 isn't set up correctly on the gallery.menalto.com server as of now.

update: there had been routing error between by server and the gallery.menalto.com server.

the solution was to create a new entry in /etc/hosts:
64.62.166.252 gallery.menalto.com

which makes my server use ipv4 when querying http://gallery.menalto.com/

br,
the0ne

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2011-05-02 17:03

Are you sure that this problem exists on the server side? We've been using IPv6 for the past 3 months and it's been working fine as far as I know.

Translation update requires your server to be able to make a an IPv6 or IPv4 connection to gallery.menalto.com. I suspect that your server side is resolving the AAAA record but doesn't have proper IPv6 routing. What happens if you do ping6 or traceroute6 from your side? Here's what I get from a remote site:

$ ping6 gallery.menalto.com
PING gallery.menalto.com(2001:470:1:12d:252::1) 56 data bytes
64 bytes from 2001:470:1:12d:252::1: icmp_seq=1 ttl=57 time=1.69 ms
64 bytes from 2001:470:1:12d:252::1: icmp_seq=2 ttl=57 time=1.66 ms

$ traceroute6 gallery.menalto.com
traceroute to gallery.menalto.com (2001:470:1:12d:252::1), 30 hops max, 80 byte packets
 1  2620:0:1000:1600::1 (2620:0:1000:1600::1)  0.393 ms  0.464 ms  0.542 ms
 2  2620:0:1000:1f0c::1 (2620:0:1000:1f0c::1)  0.498 ms  0.563 ms  0.651 ms
 3  2620:0:1000:1f07::1 (2620:0:1000:1f07::1)  1.141 ms  1.248 ms  1.273 ms
 4  2620:0:1000:1f03::1 (2620:0:1000:1f03::1)  0.281 ms  0.271 ms  0.285 ms
 5  pr01-xe-2-2-0.sjc07.net.google.com (2001:4860:1:1:0:fd29:0:2)  22.367 ms  22.379 ms  22.375 ms
 6  2001:4860:1:1:0:1b1b:0:a (2001:4860:1:1:0:1b1b:0:a)  7.195 ms gige-g6-3.core1.sjc2.he.net (2001:470:0:15e::1)  1.313 ms 2001:4860:1:1:0:1b1b:0:a (2001:4860:1:1:0:1b1b:0:a)  4.010 ms
 7  10gigabitethernet1-2.core1.fmt2.he.net (2001:470:0:31::1)  1.358 ms  1.377 ms  1.436 ms
 8  2001:470:1:12d:252::1 (2001:470:1:12d:252::1)  1.764 ms  1.750 ms  1.737 ms

---
Problems? Check gallery3/var/logs
file a bug/feature ticket | upgrade to the latest code! | hacking G3? join us on IRC!

 
the0ne
the0ne's picture

Joined: 2011-05-02
Posts: 83
Posted: Mon, 2011-05-02 18:24

i have to admit that i did only the following basic testing:

www:~ # ping6 gallery.menalto.com
PING gallery.menalto.com(2001:470:1:12d:252::1) 56 data bytes

--- gallery.menalto.com ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 7001ms

www:~ # ping6 ipv6.google.com
PING ipv6.google.com(2a00:1450:8003::6a) 56 data bytes
64 bytes from 2a00:1450:8003::6a: icmp_seq=1 ttl=54 time=54.8 ms
64 bytes from 2a00:1450:8003::6a: icmp_seq=2 ttl=54 time=54.4 ms
64 bytes from 2a00:1450:8003::6a: icmp_seq=3 ttl=54 time=54.2 ms

--- ipv6.google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 54.245/54.523/54.871/0.322 ms
www:~ # 

traceroute6 gallery.menalto.com outputs

www:~ # traceroute6 gallery.menalto.com
traceroute to gallery.menalto.com (2001:470:1:12d:252::1), 30 hops max, 40 byte packets
 1  2001:4b60:8001:100::def2 (2001:4b60:8001:100::def2)  1.500 ms   1.773 ms   2.122 ms
 2  2001:4b60:8001:100::def8 (2001:4b60:8001:100::def8)  2.176 ms   1.372 ms   1.894 ms
 3  2001:4b60:8001:1::2 (2001:4b60:8001:1::2)  2.000 ms   2.610 ms   1.758 ms
 4  2001:7f8:30:0:2:1:1:3030 (2001:7f8:30:0:2:1:1:3030)  9.191 ms   9.164 ms   8.913 ms
 5  r1zur1.core.init7.net (2001:1620:3::7:203)  37.310 ms   36.132 ms   44.190 ms
 6  r1oer1.core.init7.net (2001:1620:2::ca)  36.408 ms   36.630 ms   36.259 ms
 7  r1glb1.core.init7.net (2001:1620:2::c5)  36.320 ms   36.339 ms   36.351 ms
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
www:~ # 
 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2011-05-03 04:45

I'm far from expert here, but the last hop on your side is r1glb1.core.init7.net (2001:1620:2::c5) and I can ping that from the server:

$  traceroute6 2001:1620:2::c5
traceroute to 2001:1620:2::c5 (2001:1620:2::c5), 30 hops max, 80 byte packets
 1  2001:470:1:12d::1 (2001:470:1:12d::1)  0.420 ms  0.402 ms  0.392 ms
 2  10gigabitethernet1-1.core1.sjc2.he.net (2001:470:0:31::2)  2.355 ms  2.363 ms  2.353 ms
 3  10gigabitethernet3-3.core1.den1.he.net (2001:470:0:1b4::2)  27.799 ms  27.810 ms  27.801 ms
 4  10gigabitethernet1-1.core1.chi1.he.net (2001:470:0:1af::1)  51.492 ms  51.489 ms  51.479 ms
 5  10gigabitethernet7-2.core1.nyc4.he.net (2001:470:0:1c6::1)  71.440 ms  68.428 ms  68.421 ms
 6  10gigabitethernet3-1.core1.ams1.he.net (2001:470:0:85::2)  154.354 ms  154.025 ms  154.743 ms
 7  r1ams1.ce.init7.net (2001:7f8:1::a501:3030:1)  155.228 ms  155.189 ms  155.146 ms
 8  r1fra1.core.init7.net (2001:1620:2::65)  162.627 ms r1ams2.core.init7.net (2001:1620:2::b2)  155.152 ms  154.854 ms
 9  r1fra2.core.init7.net (2001:1620:2::de)  175.335 ms r1zur2.core.init7.net (2001:1620:2::5)  170.093 ms r1fra2.core.init7.net (2001:1620:2::de)  175.300 ms
10  r1oer1.core.init7.net (2001:1620:2::ca)  169.790 ms  170.026 ms r1bas1.core.init7.net (2001:1620:2::7a)  171.011 ms
11  r1glb1.core.init7.net (2001:1620:2::c5)  170.031 ms r1zur2.core.init7.net (2001:1620:2::7d)  170.735 ms r1glb1.core.init7.net (2001:1620:2::c5)  184.052 ms

So, uh -- I don't know! Some kind of bad route somewhere?
---
Problems? Check gallery3/var/logs
file a bug/feature ticket | upgrade to the latest code! | hacking G3? join us on IRC!

 
the0ne
the0ne's picture

Joined: 2011-05-02
Posts: 83
Posted: Fri, 2012-01-13 08:39

hi!

as corrected above, an ipv6 routing problem between the two servers had caused the problem.

br,
the0ne