I get the following error when I try to configure the module with my Kaltura CE 3.0 installation.

Kaltura client exception: Missing KS. Session not established

Kaltura by itself works fine, but I can't seem to connect to Drupal 6.

Comments

CheezItMan’s picture

So does it just not work on 3.0?????

xurizaemon’s picture

Category: bug » support
Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

Kaltura 6.x-2.x does work with Kaltura 3.0. Please provide more information about your issue, because you haven't given enough information for us to give a useful response.

Please look at both How to report an issue and again at the issue submission guidelines for this module (quoted below, and which appear on the page you used to create this issue), then update with the details we need.

Kaltura integrates systems from your Drupal installation and external services, and to help you we need to know about that too. Providing this information when you create an issue will help us to help you.

Please be sure to include the following information in your issue report:

Which Kaltura Platform are you integrating with (SaaS, Commercial or Community)?
* If not SaaS, what specific version of Kaltura have you installed?
* Are there any problems reported on your Drupal install at Admin → Reports → Status (?q=admin/reports/status) or Admin → Settings → Kaltura (?q=admin/settings/kaltura/general) ?
* Can this issue be seen live on your website? If so, please include a URL to do so.
* You might like to read and understand How to make an issue report as well - doing this will make it easier for others in the community to help you.

Detailed and descriptive issue reports are very welcome here!

CheezItMan’s picture

Fine:

Repeatable: Always
Steps to repeat:
1. Download 6.x-2.0-beta1
2. Un-compress 6.x-2.0-beta1.zip into sites/all/modules folder
3. Activate the Module in Sitebuilding-->Modules
4. Go to: --> Administer / Site configuration / All in One Video Module by Kaltura Installation
5. Selected: Using Kaltura Community Edition Beta & continue
(Noted that: http://kce.demos.kaltura.org/kalturaCE/help/drupal-kaltura_integration.html is a broken link on the Kaltura installation guide).
6. Entered http://video.scischina.org as the URL of the Kaltura CE URL: (the URL works internally on the same network as the webserver. The domain isn't published outside the network until we can get it running).
7. Entered my e-mail and password for the Kaltura Admin console (tried with a publisher account login as well).
8. Received the message: Kaltura client exception: Missing KS. Session not established
9. If I push forward I get a whitescreen of death in Drupal.

Checking the apache log I don't see much on the Drupal site. I can followup with the server running Kaltura if needed.

xurizaemon’s picture

Thanks, this is much more helpful.

If you're getting WSOD, you should have some additional information in your Apache error logs. Are you able to check if there's a fatal error recorded at this point?

CheezItMan’s picture

PHP Fatal error: Uncaught exception 'Exception' with message 'Operation timed out after 10000 milliseconds with 0 bytes received' in /Volumes/DataHD/Library/www/Drupal2010/Drupal/sites/all/modules/kaltura/kaltura_client/KalturaClientBase.php:117\nStack trace:\n#0 /Volumes/DataHD/Library/www/Drupal2010/Drupal/sites/all/modules/kaltura/kaltura_client/KalturaClient.php(4566): KalturaClientBase->doQueue()\n#1 /Volumes/DataHD/Library/www/Drupal2010/Drupal/sites/all/modules/kaltura/includes/kaltura.admin.inc(63): KalturaPartnerService->register(Object(KalturaPartner), 'cac99dc5')\n#2 /Volumes/DataHD/Library/www/Drupal2010/Drupal/sites/all/modules/kaltura/includes/kaltura.admin.inc(301): kaltura_register_partner()\n#3 [internal function]: kaltura_settings_form(Array)\n#4 /Volumes/DataHD/Library/www/Drupal2010/Drupal/includes/form.inc(378): call_user_func_array('kaltura_setting...', Array)\n#5 [internal function]: drupal_retrieve_form('kaltura_setting...', Array)\n#6 /Volumes/DataHD/Library/www/Drupal2010/Drupal/includes/form.inc(104): call_ in /Volumes/DataHD/Library/www/Drupal2010/Drupal/sites/all/modules/kaltura/kaltura_client/KalturaClientBase.php on line 117, referer: http://www.scisdragons.net/admin/settings/kaltura/general
[Thu Apr 21 12:21:39 2011] [error] [client 172.22.10.3] File does not exist: /Volumes/DataHD/Library/www/Drupal2010/Drupal/favicon.ico

I can attach screenshots of my config settings if that helps

CheezItMan’s picture

I do also still get the:

Kaltura client exception: Missing KS. Session not established

Any idea what this means? Thank you for the help.

xurizaemon’s picture

Timeout suggests your Drupal server cannot connect to your Kaltura server. Check DNS.

CheezItMan’s picture

I even put the IP & URL into my hosts file on the webserver and my own local machine... no go.

I can open up Kaltura on the Drupal webserver's browser no problem... just can't connect using the module.

When the module asks for the Kaltura CE Admin Email: is it asking for a publisher's e-mail and password or someone for the Server Admin tools?

CheezItMan’s picture

I also tried a direct embed just to see if I could reach the kaltura installation from the server. The embed works in Drupal on my local machine and viewing the Drupal page directly on the server....

I'm not sure what to check, could it be I'm somehow using the wrong account to connect to Kaltura from Drupal?

irsick’s picture

I got the same issue.

I'm running Kaltura 3.0 64-bit Ubuntu AMI
and Drupal 6.20 Kaltura Module 2.0beta1 on official Ubuntu 10.04 LTS AMI. Both projects work fine separately but cannot integrate.

I also got WSOD when I try to set up connection with my Kaltura server using /admin/settings/kaltura/general form on my Drupal site.

Apache error.log is:

PHP Fatal error: Call to undefined method Exception::Message() in /etc/drupal/6/sites/all/modules/kaltura/includes/kaltura.admin.inc on line 190, referer: http://www.XXXXXXX.com/admin/settings/kaltura/general

CheezItMan’s picture

Finally figured it out. Instead of trying to create a partner in Drupal, I created it in the Admin console, and then added it manually in Drupal.

Thanks I can now upload and access videos on drupal!!

xurizaemon’s picture

Status: Postponed (maintainer needs more info) » Fixed

Thanks for the update.

Many existing installation issues will be resolved by fixes in #1026426: Installation issues: FAPI rewrite of installer.

Other visitors to this page: if you're having trouble installing, please check that issue first.

Automatically closed -- issue fixed for 2 weeks with no activity.