Uncaught exception 'KalturaClientException' with message 'failed to unserialize server result

errorcodes

#1

Hi Jess,

I wonder if you could help me with your advice. I have the error message below.
My SSL settings: one is set to verify and another to not verify.
I got new SSL crt & added chain file.
I did run kaltura-front-config.sh .
I have the HTTP 403 error. The website declined to show this webpage.
Thank you for your time and effort.
Dmitri

/opt/kaltura/log/batch/validatelivemediaservers-0-2018-06-12.err.log:PHP Fatal error: Uncaught exception ‘KalturaClientException’ with message 'failed to unserialize server result

kaltura 9.18 mysql 5.6.6 (version issue)

SSL settings: one is set to verify and another to not verify
/opt/kaltura//app/configurations/admin.ini
;settings.clientConfig.verifySSL = false
/opt/kaltura/app/configurations/batch/batch.ini
clientConfig.verifySSL = 0

NEW
apachectl -S
VirtualHost configuration:
wildcard NameVirtualHosts and default servers:
*:443 domain.com (/etc/httpd/conf.d/zzzkaltura.ssl.conf:77)
Syntax OK

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

new batch.ini
diff batch.ini batch.ini.backup

< secret = 01d…
> secret = c55
< id = xxxxx
> id = xxxxx

I did some changes and I have HTTPS error
Bad Request
Your browser sent a request that this server could not understand.
Reason: You’re speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.

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


#2

I have commented ;clientConfig.verifySSL = 0
in /opt/kaltura/app/configurations/batch/batch.ini

[kaltura-html5lib ver in KMC config.ini] [PASSED, RC: 0] - [.083776154]
[kaltura-kdp3 ver in KMC config.ini] [PASSED, RC: 0] - [.041926364]
[kaltura-kmc ver in KMC config.ini] [PASSED, RC: 0] - [.046152080]

PHP Warning: file_get_contents(http://domain.ca/kmc): failed to open stream: HTTP request failed!
in /client/kaltura/bin/get_kmc_swfs.php on line 9
[Get KMC SWFs] [FAILED, RC: 255] - [.074188201]
curl: no URL specified!
curl: try ‘curl --help’ or ‘curl --manual’ for more information
[check_testme_page] [FAILED, RC: 1] - [.011271743]
[check_kmc_index_page] [FAILED, RC: 1] - [.008230210]
curl: no URL specified!
curl: try ‘curl --help’ or ‘curl --manual’ for more information
[check_admin_console_index_page] [FAILED, RC: 1] - [.012760584]
[Create Partner] [FAILED, RC: 255] - [.117361953]
Partner creation failed. I will skip all tests that require it.
[Red5 file upload] [SKIPPED as OflaDemo isn’t configured]

Kaltlog Stack trace:0 /client/kaltura/app/batch/client/KalturaClient.php(3976): KalturaClientBase->doQueue /opt/kaltura/log/batch/validatelivemediaservers-0-2018-06-13.err.log <==
PHP Fatal error: Uncaught exception ‘KalturaClientException’ with message 'failed to unserialize server result

doQueue()

==> /opt/kaltura/log/batch/kschedulehelper-0-2018-06-13.log <==
2018-06-13 14:33:06 [1994320385] [KScheduleHelper->run] ERR: exception ‘Exception’ with message ‘System is not yet ready - ping failed’ in /client/kaltura/app/infra/log/KalturaLog.php:82

Stack trace:
0 /client/kaltura/app/batch/batches/KScheduleHelper.class.php(44): KalturaLog::err(‘System is not y…’)

 Stack trace: 0 /client/kaltura/app/batch/client/KalturaClient.php(1309): KalturaClientBase->doQueue()


==> /opt/kaltura/log/batch/jobsuspender-0-2018-06-13.err.log <==
PHP Fatal error: Uncaught exception ‘KalturaClientException’ with message 'failed to unserialize server result

’ in /client/kaltura/app/batch/client/KalturaClientBase.php:396

kaltura_apache_access_ssl.log
10.xxxx - - [13/Jun/2018:14:42:53 -0400] “GET /” 400 566 0/76 “-” “-” “-” 10.xxxx “-” “-”
10.xxxx - - [13/Jun/2018:14:42:55 -0400] “GET /” 400 566 0/70 “-” “-” “-” 10.xxxx “-” “-”
10.xxxx - - [13/Jun/2018:14:42:58 -0400] “GET /” 400 566 0/123 “-” “-” "-"10.xxxx “-” “-”

tail kaltura_batch.log
#0 /client/kaltura/app/vendor/ZendFramework/library/Zend/Config/Ini.php(125): KSchedulerConfig->_loadIniFile(’/client/kaltura…’)
#1 /client/kaltura/app/batch/scheduler/KSchedulerConfig.class.php(59): Zend_Config_Ini->__construct(’/client/kaltura…’, ‘vkel-ro osts.its…’, true)
#2 /client/kaltura/app/batch/scheduler/KSchedulerConfig.class.php(42): KSchedulerConfig->load()
#3 /client/kaltura/app/batch/scheduler/KGenericScheduler.class.php(81): KSchedulerConfig->__construct(’/opt/kaltura/ap…’)
#4 /client/kaltura/app/batch/scheduler/KGenericScheduler.class.php(63): KGenericScheduler->loadConfig(’/opt/kaltura/ap…’)

#5 /client/kaltura/app/batch/KGenericBatchMgr.class.php (37 in
/client/kaltura/app/batch/scheduler/KSchedulerConfig.class.php on line 103

sh: line 0: kill: (25906) - No such process
sh: line 0: kill: (25907) - No such process
sh: line 0: kill: (25909) - No such process
sh: line 0: kill: (25923) - No such process

vim /client/kaltura/app/batch/scheduler/KSchedulerConfig.class.php
102 require_once ‘Zend/Config/Exception.php’;
103 throw new Zend_Config_Exception($this->_loadFileErrorStr);
104 }

tail kaltura_apache_access.log
10.xxxx - - [13/Jun/2018:14:03:51 -0400] “GET / HTTP/1.1” 302 320 0/248 “-” “curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2” “-” 10.xxxx “-” “domain.ca”