Flash error upon clicking OK to terms & conditions

7 replies [Last post]
Joined: 06/30/2009
Points: 5

When I try and upload a video it appears to work fine up until I click OK to the terms & conditions, the flash debugger then pops up with the following error:

Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: <a href="http://cdn.kaltura.com/p/0/sp/0/flash/kcw/v1.5.4/ContributionWizard.swf" title="http://cdn.kaltura.com/p/0/sp/0/flash/kcw/v1.5.4/ContributionWizard.swf">http://cdn.kaltura.com/p/0/sp/0/flash/kcw/v1.5.4/ContributionWizard.swf</a> cannot load data from <a href="http://localhost/?q=kaltura/notification_handler.
" title="http://localhost/?q=kaltura/notification_handler.
">http://localhost/?q=kaltura/notification_handler.
</a>                at com.kaltura.contributionWizard.command::SendPartnerNotificationsCommand/sendNotification()
                at Array$/_forEach()
                at Array/http://adobe.com/AS3/2006/builtin::forEach()
                at com.kaltura.contributionWizard.command::SendPartnerNotificationsCommand/execute()
                at com.adobe_cw.adobe.cairngorm.control::FrontController/executeCommand()
                at flash.events::EventDispatcher/dispatchEventFunction()
                at flash.events::EventDispatcher/dispatchEvent()
                at com.adobe_cw.adobe.cairngorm.control::CairngormEventDispatcher/dispatchEvent()
                at com.adobe_cw.adobe.cairngorm.control::CairngormEvent/dispatch()
                at com.kaltura.contributionWizard.command::AddEntriesCommand/result()
                at com.kaltura.contributionWizard.business::AddEntriesDelegate/result()
                at mx.rpc::AsyncToken/http://www.adobe.com/2006/flex/mx/internal::applyResult()
                at mx.rpc.events::ResultEvent/http://www.adobe.com/2006/flex/mx/internal::callTokenResponders()
                at mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
                at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
                at mx.rpc::Responder/result()
                at mx.rpc::AsyncRequest/acknowledge()
                at DirectHTTPMessageResponder/completeHandler()
                at flash.events::EventDispatcher/dispatchEventFunction()
                at flash.events::EventDispatcher/dispatchEvent()
                at flash.net::URLLoader/onComplete()

Any idea what would be causing this?

Thanks,
Dave

Joined: 03/29/2009
Points: 764

Hi Dave,

Do you have any security devices blocking connections to other servers on your server?

Joined: 06/30/2009
Points: 5

Hi the debug error is showing a sandbox violation, during the conversion process at kaltures end, the upload of video is fine its seems to happen when process the video file to flv.

this happens on kaltures managment console.

that debug output indicated that the error is coming from

SendPartnerNotificationsCommand/sendNotification() function in one of your classes.

Joined: 06/30/2009
Points: 5

If I go to kaltura.com and log in to the management console, then upload a video through there then it throws up the same error.

The video does appear in the management console though.

Although yesterday I successfully uploaded a couple of videos to drupal.kaltura.org

A bit more information about whats happening with my drupal site; After I get the flash debugger error the video does appear to be in the Kaltura management console, but it does not appear on my Drupal website as a node. There is no entry for it on the List of Kaltura items page.

My crossdomain.xml file is in place by the way, and contains the following code:

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM
"http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
  <site-control permitted-cross-domain-policies="master-only"/>
  <allow-access-from domain="localhost"/>
  <allow-access-from domain="127.0.0.1"/>
  <allow-access-from domain="*.kaltura.com"/>
  <allow-http-request-headers-from domain="127.0.0.1" headers="*"/>
  <allow-http-request-headers-from domain="localhost" headers="*"/>
  <allow-http-request-headers-from domain="*.kaltura.com" headers="*"/>
</cross-domain-policy>
Joined: 05/20/2009
Points: 5

The KCW sends client side notification to a predefined URL for every successful entry to the database (entry could be a video, audio, photo, etc').

You can configure the notification URL and other parameters inside the KMC (Kaltura Management Console)
http://kaltura.com/kmc -> Account -> Server Settings

It seems that your KCW can't access your notification URL (http://localhost/?q=kaltura/notification_handler.), it might happen duo to a missing or miss-configured crossdomain.xml file.
Take this file http://www.kaltura.com/crossdomain.xml, put it in your localhost and try again.

Please let us know if the problem continues so we can further investigate.

Joined: 06/30/2009
Points: 5

Hi, I've just tried that replacement crossdomain.xml file and I'm still having the same problems.

Thanks for the response,
Dave

Joined: 06/30/2009
Points: 5

I managed to get it working finally. It wouldn't seem to work from my localhost (xampp) so I updated the URL in http://kaltura.com/kmc -> Account -> Server Settings to look for my online test server and it worked.

Thanks for the help sorting this,
Dave

Joined: 05/20/2009
Points: 5

Glad you solved it,
Guy