I am getting below errors in kaltlog when i try to start live streaming using Wowza + FMLE.
I have Kaltura and Wowza installed on a single server and every thing else is working perfectly except live streaming.
#0 /opt/kaltura/app/api_v3/lib/types/KalturaObject.php(678): KalturaLog::err(‘KalturaLiveEntr…’)
[0.001488] [xx.xx.xx.xx] [845228160] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00039386749267578 seconds
[0.001189] [xx.xx.xx.xx] [528768326] [API] [kPermissionManager::isActionPermitted] ERR: exception ‘Exception’ with message ‘Service is not permitted’ in /opt/kaltura/app/infra/log/KalturaLog.php:82 #0 /opt/kaltura/app/alpha/apps/kaltura/lib/kPermissionManager.php(801): KalturaLog::err(‘Service is not …’) #8 {main}
[0.001159] [xx.xx.xx.xx] [845228160] [API] [kPermissionManager::isActionPermitted] ERR: exception ‘Exception’ with message ‘Service is not permitted’ in /opt/kaltura/app/infra/log/KalturaLog.php:82
Stack trace: #0 /opt/kaltura/app/alpha/apps/kaltura/lib/kPermissionManager.php(801): KalturaLog::err(‘Service is not …’) #8 {main}
[0.000274] [xx.xx.xx.xx] [845228160] [API] [KalturaBaseService->isPermitted] ERR: exception ‘Exception’ with message ‘Action is not permitted’ in /opt/kaltura/app/infra/log/KalturaLog.php:82
Stack trace: #0 /opt/kaltura/app/api_v3/lib/KalturaBaseService.php(172): KalturaLog::err(‘Action is not p…’) #7 {main}
[0.001114] [xx.xx.xx.xx] [528768326] [API] [KalturaBaseService->isPermitted] ERR: exception ‘Exception’ with message ‘Action is not permitted’ in /opt/kaltura/app/infra/log/KalturaLog.php:82
Stack trace: #0 /opt/kaltura/app/api_v3/lib/KalturaBaseService.php(172): KalturaLog::err(‘Action is not p…’) #7 {main}
[0.000418] [xx.xx.xx.xx] [528768326] [API] [KalturaBaseService->isPermitted] ERR: exception ‘Exception’ with message ‘Kaltura network is not allowed’ in /opt/kaltura/app/infra/log/KalturaLog.php:82
Stack trace: #0 /opt/kaltura/app/api_v3/lib/KalturaBaseService.php(181): KalturaLog::err(‘Kaltura network…’) #7 {main}
[0.000843] [xx.xx.xx.xx] [845228160] [API] [KalturaBaseService->isPermitted] ERR: exception ‘Exception’ with message ‘Kaltura network is not allowed’ in /opt/kaltura/app/infra/log/KalturaLog.php:82
Stack trace: #0 /opt/kaltura/app/api_v3/lib/KalturaBaseService.php(181): KalturaLog::err(‘Kaltura network…’) #7 {main}
[0.001020] [xx.xx.xx.xx] [845228160] [API] [KalturaFrontController->getExceptionObject] ERR: exception ‘KalturaAPIException’ with message ‘The access to service [wowza_liveconversionprofile->serve] is forbidden’ in /opt/kaltura/app/api_v3/lib/KalturaBaseService.php:117
Stack trace: #0 /opt/kaltura/app/plugins/media/wowza/services/LiveConversionProfileService.php(16): KalturaBaseService->initService(‘wowza_liveconve…’, ‘liveConversionP…’, ‘serve’) #5 {main}
[0.001399] [xx.xx.xx.xx] [528768326] [API] [KalturaFrontController->getExceptionObject] ERR: exception ‘KalturaAPIException’ with message ‘The access to service [wowza_liveconversionprofile->serve] is forbidden’ in /opt/kaltura/app/api_v3/lib/KalturaBaseService.php:117
Stack trace: #0 /opt/kaltura/app/plugins/media/wowza/services/LiveConversionProfileService.php(16): KalturaBaseService->initService(‘wowza_liveconve…’, ‘liveConversionP…’, ‘serve’)
[0.000506] [xx.xx.xx.xx] [911412886] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00031208992004395 seconds
[0.000490] [xx.xx.xx.xx] [911412886] [API] [kPermissionManager::isActionPermitted] ERR: exception ‘Exception’ with message ‘Service is not permitted’ in /opt/kaltura/app/infra/log/KalturaLog.php:82
Stack trace: #0 /opt/kaltura/app/alpha/apps/kaltura/lib/kPermissionManager.php(801): KalturaLog::err(‘Service is not …’) #8 {main}
[0.000295] [xx.xx.xx.xx] [911412886] [API] [KalturaBaseService->isPermitted] ERR: exception ‘Exception’ with message ‘Action is not permitted’ in /opt/kaltura/app/infra/log/KalturaLog.php:82
Stack trace: #0 /opt/kaltura/app/api_v3/lib/KalturaBaseService.php(172): KalturaLog::err(‘Action is not p…’) #7 {main}
[0.000233] [xx.xx.xx.xx] [911412886] [API] [KalturaBaseService->isPermitted] ERR: exception ‘Exception’ with message ‘Kaltura network is not allowed’ in /opt/kaltura/app/infra/log/KalturaLog.php:82
Stack trace: #0 /opt/kaltura/app/api_v3/lib/KalturaBaseService.php(181): KalturaLog::err(‘Kaltura network…’) #7 {main}
[0.000699] [xx.xx.xx.xx] [911412886] [API] [KalturaFrontController->getExceptionObject] ERR: exception ‘KalturaAPIException’ with message ‘The access to service [wowza_liveconversionprofile->serve] is forbidden’ in /opt/kaltura/app/api_v3/lib/KalturaBaseService.php:117
Stack trace: #0 /opt/kaltura/app/plugins/media/wowza/services/LiveConversionProfileService.php(16): KalturaBaseService->initService(‘wowza_liveconve…’, ‘liveConversionP…’, ‘serve’)
What may be the cause of these errors.
Any help will be highly appreciated.
I have all the live related permissions for this partner.
I have checked it in file admin.ini and also from admin console config.
I still get same errors in kaltlog:
[0.000247] [aa.bb.cc.dd] [1317079690] [API] [KalturaBaseService->isPermitted] ERR: exception ‘Exception’ with message ‘Kaltura network is not allowed’ in /opt/kaltura/app/infra/log/KalturaLog.php:82
Stack trace: #0 /opt/kaltura/app/api_v3/lib/KalturaBaseService.php(181): KalturaLog::err(‘Kaltura network…’)
#7 {main}
[0.004684] [aa.bb.cc.dd] [1317079690] [API] [KalturaFrontController->getExceptionObject] ERR: exception ‘KalturaAPIException’ with message ‘The access to service [wowza_liveconversionprofile->serve] is forbidden’ in /opt/kaltura/app/api_v3/lib/KalturaBaseService.php:117
Stack trace: #0 /opt/kaltura/app/plugins/media/wowza/services/LiveConversionProfileService.php(16): KalturaBaseService->initService(‘wowza_liveconve…’, ‘liveConversionP…’, ‘serve’)
And in Wowza log I see below error:
[Timer-7][com.kaltura.media.server.managers.KalturaLiveManager:setRedirect] ERROR - no recorded entry id on live entry [0_rt865h4o] - (KalturaLiveManager.java:431)
[ServerHandler.3][com.wowza.wms.logging.WMSLogger:log] WARN - HTTPStreamerApplicationContextBase.init[kLive/definst]: Not licensed for HTTPOrigin mode: HTTPStreamerApplicationContextCupertinoStreamer - (WMSLogger.java:203)
[ServerHandler.1][com.wowza.wms.logging.WMSLogger:log] WARN - HTTPStreamerApplicationContextBase.init[kLive/definst]: Not licensed for HTTPOrigin mode: HTTPStreamerApplicationContextMPEGDashStreamer - (WMSLogger.java:203)
[ServerHandler.3][com.wowza.wms.logging.WMSLogger:log] WARN - HTTPStreamerApplicationContextBase.init[kLive/definst]: Not licensed for HTTPOrigin mode: HTTPStreamerApplicationContextSmoothStreamer - (WMSLogger.java:203)
I believe the issue is the directive:
internal_ip_range and set it. If you wish to allow from all IPs then:
internal_ip_range = 0.0.0.0-255.255.255.255
Otherwise, adjust accordingly.
Then restart apache and retry.
I was having internal_ip_range as 127.0.0.1, now I changed it to 0.0.0.0-255.255.255.255.
But still getting below error in the kaltlog:
[xx.xx.xx.xx] [1125503000] [PS2] [KExternalErrors::dieError] ERR: exception ‘Exception’ with message ‘exiting on error 36 - The given entry is not broadcasting, Entry [0_2outmbuq] is not broadcasting’ in /opt/kaltura/app/infra/log/KalturaLog.php:82
Also in the logs of the Woza I see below error:
[ServerHandler.49][com.wowza.wms.logging.WMSLogger:log] WARN - Licensing[kLive/_definst_/0_2outmbuq_1]: *** Hit license limit for publishing streams. Publishing stream is stopped. *** - (WMSLogger.java:203)
[ServerHandler.61][com.wowza.wms.logging.WMSLogger:log] WARN - Licensing[kLive/_definst_/0_2outmbuq_2]: *** Hit license limit for publishing streams. Publishing stream is stopped. *** - (WMSLogger.java:203)
[ServerHandler.61][com.wowza.wms.logging.WMSLogger:log] WARN - Licensing[kLive/_definst_/0_2outmbuq_1]: *** Hit license limit for publishing streams. Publishing stream is stopped. *** - (WMSLogger.java:203)
I am publishing three different bitrate version of Live stream, and developer license supports 3 incoming streams, but still i get following license related error:
Is there any way I can stream only one bitrate variant and modify kaltura player to play that version only?
Also now I don’t see HTTP Origin related errors in wowza logs.
Now there are no errors in the kaltlog but there is transcoder related error as below in Wowza logs:
[Timer-81][com.kaltura.media.server.managers.KalturaLiveManager:setRedirect] ERROR - no recorded entry id on live entry [0_2zoogovi] after reloading - (KalturaLiveManager.java:437)
[ServerHandler.58][com.wowza.wms.logging.WMSLogger:log] WARN - Licensing[kLive/definst/0_2zoogovi_1]: *** Hit license limit for live stream transcoders. Live stream transcoder is stopped. *** - (WMSLogger.java:203)
I am using developer license for Wowza which limits:
Maximum Connections: 10
Maximum Incoming Streams: 3
Transcoder Streams Available: 1
For testing I am streaming only one stream 0_2zoogovi_1 from FMLE, instead of three different bitrate streams. I have given stream name as 0_2zoogovi_1 instead of 0_2zoogovi_%.
I see following incoming streams in Wowza engine manager:
Stream Name --> 0_2zoogovi_1 (rtmp://xx.xx.xx.xx:54040)
2. Stream Name --> 0_2zoogovi_32 (local (Transcoder))
Also I am bale to play these streams in Wowza test player, does these errors make any seance.
I am able to successful stream from FMLE->Wowza->Kaltura->Client.
As I am using trail license of Wowza, I am streaming only once video stream (no variable bitrate stream + no audio stream for now), and it is working without any errors.