akmi.kaltura.com loads forever ...

4 replies [Last post]
Joined: 09/24/2009
Points: 3

I'm trying to implement the KSE for a CCK field on a Drupal site, but cannot understand what's going on ...
The KCW works well, with some light modifications, but when I try to open the editor it loads forever without any apparent error ...
I also re-download the whole kaltura module directory and replaced my modified one, but I have the same issue (Simple Editor loads forever).
Can you address me what can I do for debugging this?

Joined: 04/05/2009
Points: 354

Can you post any code, a URL or screen shot?

Joined: 09/24/2009
Points: 3

Ok.
Here I try to add clips to the clip library (I slightly modified the CW to append multiple sources to the hidden field, so I can prepopulate clip library with more than a source.
So the variable kshow_id is ,, when the function is invoked.

function kaltura_simple_editor() {
$args = func_get_args();
$kshow_id = $args[0];
$type = $args[1];
$partner_data = ($args[2] != 'empty_partner_data')? $args[2]: '';
$no_refresh = ($args[3] == 'no_refresh')? TRUE: FALSE;
$ks = split( ",", $kshow_id );
$kshow_id = $ks[0];
if (WORK_WITH_KSHOW) {
$kaltura_client = KalturaHelpers::getKalturaClient(FALSE, "edit:". $kshow_id);
}
else {
$kaltura_client = KalturaHelpers::getKalturaClient(FALSE, "edit:*");
}
if (!$kaltura_client) {
drupal_set_message('Failed to start Kaltura session. Please check your settings.', 'warning');
echo theme_kaltura_maintenance_page("
Close", TRUE);
exit;
}
for( $kk = 1; $kk < count( $ks ); $kk ++ ) {
$e = new KalturaEntry;
$e->name = "Clip " . $kk;
$e->source = 23;
$e->mediaId = $ks[$kk];
$addentryresult = $kaltura_client->appendEntryToRoughcut($session_user, $ks[$kk], -1 , $kshow_id);
}

$theme_params->height = 546;
$theme_params->width = 890;
$theme_params->swfUrl = KalturaHelpers::getSimpleEditorUrl();
$flash_vars = KalturaHelpers::getSimpleEditorFlashVars($kaltura_client->getKs(), $kshow_id, $type, $partner_data);
$theme_params->flashVarsStr = KalturaHelpers::flashVarsToString($flash_vars);
echo theme('simple_editor', $theme_params, $no_refresh);
exit;
}

For what I can understand, this modification is not related to the issue, because I tried to restore the original vanilla kaltura module ut the problem is still there ...

I post a screenshot with the editor loading, and another with what firebug says.
This is the last link in Firebug, the one that seems loading forever (my partner id and kalsig are offuscated, don't know if it's safe to post them here ...)

http://akmi.kaltura.com/index.php/partnerservices2/multirequest?partner%...

AttachmentSize
kaltura_2.jpg147.77 KB
kaltura_1.jpg54.4 KB
Joined: 09/24/2009
Points: 3

After further investigation i've seen that akmi.kaltura.org is responding, it's the KSE that goes idle ...

Here is the XML returned from the url (copy/pasted from Firefox):


<?xml version="1.0" encoding="ISO-8859-1"?>gnk8o9lpowWarehousing activities in a shoe producer's warhouse (IIIIIIIIIIXXXXXXXXXX0026storage, picking, pallet handling226tx3j4msqr42009-08-26 04:57:091251277029/content/entry/data/4/221/gnk8o9lpow_100001.xml299.546http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/flvclipper/entry_id/gnk8o9lpow/version/100001http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/thumbnail/entry_id/gnk8o9lpow/version/1000001000011-1SimpleYYYY YYYYYYYYYY YYYYYY4710lt_mix2009-08-26 05:02:52<?xml version="1.0"?>

<xml>
<MetaData>
<Publish>
<Application>'QuickEdit'</Application>
</Publish>
<SeqDuration>299.546</SeqDuration>

<ShowVersion>100001</ShowVersion>
<KuserId>500713</KuserId><PuserId>26</PuserId><ScreenName>YYYY YYYYYY</ScreenName><UpdatedAt>1251277312</UpdatedAt><Host>http://www.kaltura.com</Host><ThumbUrl>http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/thumbnail/entry_id/jvs0c8acnw/version/100001</ThumbUrl></MetaData>

<VideoAssets><vidAsset k_id="jvs0c8acnw" type="VIDEO" name="096.avi" url="http://www.kaltura.com/index.php/keditorservices/flvclipper?entry_id=jvs0c8acnw">
<StreamInfo file_name="/content/entry/data/4/221/jvs0c8acnw_100000.flv" start_time="0" len_time="299.546" posX="0" posY="0" start_byte="0" end_byte="0" total_bytes="47239287" real_seek_time="0.000" volume="1" pan="0" isSingleFrame="0" real_start_byte="0" real_end_byte="47239287" Clipped_Start="0" Clipped_Len="299.546" start_byte_play="296" end_byte_play="47239582"/>

<EndTransition cross="0" type="dissolve" StartTime="298.546" length="1">
<arguments>
<name>dissolve</name>

<version>1.00</version>
<arguments/>
</arguments>
</EndTransition>
</vidAsset></VideoAssets>

<AudioAssets/>
<VoiceAssets/>
<Plugins/>
</xml>
100000125127702826/08/09 04:57:08100001125127738126/08/09 05:03:012YYYY YYYYYY500713YYYY YYYYYYXXXXX26YYYY YYYYYY/content/kuser/pic/0/500/500713_2009-08-25 09:04:261251205466968666tx3j4msqr4a generated show'XXXXXXXXXX00268gnk8o9lpow2009-08-26 04:57:0912512770291000015007131http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/thumbnail/entry_id/gnk8o9lpow/version/100000112541453390.00299501419067380.0068240165710449tx3j4msqr4a generated show'XXXXXXXXXX00268gnk8o9lpow2009-08-26 04:57:0912512770291000015007131http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/thumbnail/entry_id/gnk8o9lpow/version/100000112541453400.00241112709045410.0064160823822021jvs0c8acnw096.aviXXXXXXXXXX0026handling charge, warehouse, picking211tx3j4msqr42009-08-26 05:01:511251277311/content/entry/data/4/221/jvs0c8acnw_100000.flv299.5461http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/flvclipper/entry_id/jvs0c8acnw/version/100000http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/thumbnail/entry_id/jvs0c8acnw/version/1000011000001352288YYYY YYYYYYhttp://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/raw/entry_id/jvs0c8acnw/version/100000YYYY YYYYYY52lt_mix2009-08-26 05:01:51YYYY YYYYYYx193h5l0jyClip 1XXXXXXXXXX001pick-and-pass, automated labelling216tx3j4msqr42009-09-25 07:37:481253878668/content/entry/data/6/424/x193h5l0jy_100000.xml60.6423http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/flvclipper/entry_id/x193h5l0jy/version/100000http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/thumbnail/entry_id/x193h5l0jy/version/100000100000_XXXXX_1http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/raw/entry_id/x193h5l0jy/version/100000_XXXXX_11lt_mix2009-09-25 07:37:48_XXXXX_1se004ih79dClip 1XXXXXXXXXX001pick-and-pass, automated labelling216tx3j4msqr42009-09-25 07:38:221253878702/content/entry/data/6/424/se004ih79d_100000.xml60.6423http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/flvclipper/entry_id/se004ih79d/version/100000http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/thumbnail/entry_id/se004ih79d/version/100000100000_XXXXX_1http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/raw/entry_id/se004ih79d/version/100000_XXXXX_11lt_mix2009-09-25 07:38:22_XXXXX_150fz6m4yj2Breakthrough Video Story Deported to the DRXXXXXXXXXX001david brotherton, professor of sociology at john, has done extensive research on, he reveals how his work led hi211s69rsww7342009-09-25 06:59:431253876383/content/entry/data/6/413/50fz6m4yj2_100000.flv99.08220http://208.99.113.123/~dgtvcom/videos/1182534341.53199uQls5oWk0j5ZCUbOeMMU_high.flvhttp://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/flvclipper/entry_id/50fz6m4yj2/version/100000http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/thumbnail/entry_id/50fz6m4yj2/version/100000100000400300_XXXXX_1David Brotherton, Professor of Sociology at John Jay College in New York City, has done extensive research on the effects of deportation. In his interview with Breakthrough, he reveals how his work led him to the Dominican Republic to interview men thttp://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/raw/entry_id/50fz6m4yj2/version/100000_XXXXX_12009-09-25 06:59:43_XXXXX_1djqg6jjs1wClip 1XXXXXXXXXX001ict, field force automation, ffm, transport, delivery216s69rsww7342009-09-25 07:33:571253878437/content/entry/data/6/423/djqg6jjs1w_100000.xml34.50823http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/flvclipper/entry_id/djqg6jjs1w/version/100000http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/thumbnail/entry_id/djqg6jjs1w/version/100000100000_XXXXX_1http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/raw/entry_id/djqg6jjs1w/version/100000_XXXXX_17lt_mix2009-09-25 07:33:57_XXXXX_17qo2r4y6dsClip 1XXXXXXXXXX001pick-and-pass, automated labelling216rsjs6fswe02009-09-25 07:35:291253878529/content/entry/data/6/423/7qo2r4y6ds_100000.xml60.6423http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/flvclipper/entry_id/7qo2r4y6ds/version/100000http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/thumbnail/entry_id/7qo2r4y6ds/version/100000100000_XXXXX_1http://cdn.kaltura.com/p/XXXXX/sp/XXXXX00/raw/entry_id/7qo2r4y6ds/version/100000_XXXXX_11lt_mix2009-09-25 07:35:29_XXXXX_1jvs0c8acnw299.54612541453400.0281181335449220.03188610076904312541453401d41d8cd98f00b204e9800998ecf8427e0.275382995605470.344115972518920.34683990478516

This cause the flash to display a throbber and to load forever.

Any hint?

Joined: 11/02/2009
Points: 5

Did you get a solution to this - I have an identical problem with the Elgg plugin. I can upload but edit hangs.

Odd thing is that it works on one server but using the identical code on a different server I get this issue - I thought it was an o/s problem but now I've done some testing on a new install of Centos and I get this again...

http://www.ll4schools.co.uk