Erreur: KalturaClientException : failed to unserialize server


#1

Hi Jess,

I wonder if you have seen the error message below? I appreciate all your help.
Dmitri

Erreur: KalturaClientException : failed to unserialize server…

KalturaClientException : failed to unserialize server result
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api_v3/index.php was not found on this server.</p>
<hr>
<address>Apache/2.2.15 (Red Hat) Server at video.domain.ca Port 443</address>
</body></html>
dans KalturaClientBase->doQueue() (ligne 396 dans /client/csps/htdocs/application/sites/all/libraries/KalturaClient/KalturaClientBase.php).

$_SERVER => Array
(
[REDIRECT_UNIQUE_ID] => Wy,…
[REDIRECT_HTTPS] => on


#2

apachectl -S
VirtualHost configuration:
wildcard NameVirtualHosts and default servers:
default:443 my.servername.ca (/etc/httpd/conf.d/ssl.conf:74)
*:80 video.domain.ca (/etc/httpd/conf.d/zzzkaltura.conf:1)
Syntax OK

kaltlog
]’ in /client/kaltura/app/infra/log/KalturaLog.php:82
Stack trace:
#0 /client/kaltura/app/ui_infra/InfraBootstrapper.php(113): KalturaLog::err(‘Class [EventNot…’)

tail kaltura_admin.log
)
]’ in /client/kaltura/app/infra/log/KalturaLog.php:82
Stack trace:
#0 /client/kaltura/app/ui_infra/InfraBootstrapper.php(113): KalturaLog::err(‘Class [EventNot…’)
#1 /client/kaltura/app/vendor/ZendFramework/library/Zend/Application/Bootstrap/BootstrapAbstract.php(662): InfraBootstrapper->_ini tNavigation()
#2 /client/kaltura/app/vendor/ZendFramework/library/Zend/Application/Bootstrap/BootstrapAbstract.php(615): Zend_Application_Bootst rap_BootstrapAbstract->_executeResource(‘navigation’)
#3 /client/kaltura/app/vendor/ZendFramework/library/Zend/Application/Bootstrap/BootstrapAbstract.php(579): Zend_Application_Bootst rap_BootstrapAbstract->_bootstrap(NULL)
#4 /client/kaltura/app/vendor/ZendFramework/library/Zend/Application.php(347): Zend_Application_Bootstrap_BootstrapAbstract->boots trap(NULL)
#5 /client/kaltura/app/admin_console/web/index.php(37): Zend_Application->bootstrap()
#6 {main}

tail kaltura_prod.log
2018-06-18 08:53:33 [0.005853] [198.103.184.76] [164216020] [PS2] [myHealthCheckAndSecurityFilter->basicSecureRequest] WARN: basicSecureRequest: took [8.2969665527344E-5] seconds
2018-06-18 08:53:43 [0.007269] [198.103.134.222] [1784960618] [PS2] [myHealthCheckAndSecurityFilter->basicSecureRequest] WARN: basicSecureRequest: took [9.8943710327148E-5] seconds

Mon Jun 18 08:51:11 2018] [error] [client A] Response header name ‘KalturaClipAttributes-offset error’ contains invalid characters, aborting request
[Mon Jun 18 08:51:13 2018] [error] [client A] Response header name ‘KalturaClipAttributes-offset error’ contains invalid characters, aborting request

/client/kaltura/bin/kaltura-sanity.sh
[Space on /] [PASSED, RC: 0] - [.004943429]

[Check httpd daemon is started by Monit] [FAILED, RC: 1] - [63.336280101]
[check daemon httpd init status] [PASSED, RC: 0] - [.008615299]
[Check memcached daemon is started by Monit] [PASSED, RC: 0] - [6.345659457]
[check_daemon_init_status] [FAILED, RC: 1] - [.007688207]
[kaltura-html5lib ver in KMC config.ini] [PASSED, RC: 0] - [.086645956]

PHP Fatal error: Uncaught exception ‘KalturaClientException’ with message 'failed to unserialize server result

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Apache/2.2.15 (Red Hat) Server at video.domain.ca Port 80 ' in /client/kaltura/web/content/clientlibs/php5/KalturaClientBase.php:396 Stack trace: #0 /client/kaltura/web/content/clientlibs/php5/KalturaClient.php(4073): KalturaClientBase->doQueue() #1 /client/kaltura/bin/clip_test.php(46): KalturaMediaService->addContent('0_o9yxdlh2', Object(KalturaOperationResource in /client /kaltura/web/content/clientlibs/php5/KalturaClientBase.php on line 396 [Clipping 0_vxkg5s3x failed] [FAILED, RC: 255] - [.393544177] PHP Fatal error: Uncaught exception 'KalturaClientException' with message 'failed to unserialize server result 500 Internal Server Error Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Apache/2.2.15 (Red Hat) Server at video.domain.ca Port 80 ' in /client/kaltura/web/content/clientlibs/php5/KalturaClientBase.php:396 Stack trace: #0 /client/kaltura/web/content/clientlibs/php5/KalturaClient.php(4073): KalturaClientBase->doQueue() #1 /client/kaltura/bin/clip_test.php(46): KalturaMediaService->addContent('0_j52x1gds', Object(KalturaOperationResource in /client /kaltura/web/content/clientlibs/php5/KalturaClientBase.php on line 396 [Trimming 0_vxkg5s3x failed] [FAILED, RC: 255] - [.359594323]

#3

I have added SSL cert. and changed line
default:443 my.servername.ca (/etc/httpd/conf.d/ssl.conf:74)
to
default:443 video.domain.ca (/etc/httpd/conf.d/ssl.conf:74)

/client/kaltura/web/content/clientlibs/php5/KalturaClient.php

-rw-rw-r-- 1 root appadmin 3496 Jul 1 2014 KalturaLog.php

changed to root:root
-rw-rw-r-- 1 root root 3496 Jul 1 2014 KalturaLog.php