I was using Canvas December 2013 version and my Kaltura hosted version 3.0.0 was working fine. When I upgraded to Canvas May 2014 release, my Kaltura integration is not working. Canvas Kaltura connection not establishing and my existing videos are not playing. When I tried to upload I am getting the error “Media Comment Application failed to load. Please try again”. Is there any version issue? Can somebody help me in resolving this issue. My production log is listed below:
Processing MediaObjectsController#show (for 172.16.101.30 at 2014-12-15 18:35:09) [GET]
[681d5a450334f6fb6fd2b76bb38e2166 ec0ac8c0-6688-0132-1fce-000c293c35d0] Parameters: {“controller”=>“media_objects”, “action”=>“show”, “media_object_id”=>“0_3ojs46fw”}
[681d5a450334f6fb6fd2b76bb38e2166 ec0ac8c0-6688-0132-1fce-000c293c35d0]
NoMethodError (undefined method content' for nil:NilClass): lib/kaltura/kaltura_client_v3.rb:186:in
startSession’
lib/kaltura/kaltura_client_v3.rb:95:in media_sources' app/models/media_object.rb:229:in
media_sources’
lib/api/v1/media_object.rb:24:in media_object_api_json' app/controllers/media_objects_controller.rb:91:in
show’
vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/base.rb:1333:in perform_action' vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:617:in
call_filters’
vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:638:in block in run_before_filters' app/controllers/application_controller.rb:153:in
set_locale’
vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/activesupport/lib/active_support/callbacks.rb:178:in evaluate_method' vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:186:in
call’
vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:635:in run_before_filters' vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:615:in
call_filters’
vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:610:in perform_action_with_filters' vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/benchmarking.rb:68:in
block in perform_action_with_benchmark’
vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/benchmarking.rb:68:in perform_action_with_benchmark' vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/rescue.rb:160:in
perform_action_with_rescue’
vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/flash.rb:151:in perform_action_with_flash' vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/base.rb:532:in
process’
vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:606:in process_with_filters' vendor/bundle/ruby/1.9.1/gems/compass-rails-1.0.3/lib/compass-rails/railties/2_3.rb:9:in
process_with_compass’
vendor/bundle/ruby/1.9.1/gems/oauth-instructure-0.4.10/lib/oauth/request_proxy/action_controller_request.rb:72:in process_with_oauth' vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/base.rb:391:in
process’
vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/base.rb:386:in call' vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/routing/route_set.rb:438:in
call’
vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/dispatcher.rb:87:in dispatch' vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/dispatcher.rb:121:in
_call’
vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/dispatcher.rb:130:in block in build_middleware_stack' vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/activerecord/lib/active_record/query_cache.rb:29:in
call’
vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/activerecord/lib/active_record/query_cache.rb:29:in block in call' vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in
cache’
vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/activerecord/lib/active_record/query_cache.rb:9:in cache' vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/activerecord/lib/active_record/query_cache.rb:28:in
call’
vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in call' vendor/bundle/ruby/1.9.1/gems/sass-3.2.3/lib/sass/plugin/rack.rb:54:in
call’
vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/string_coercion.rb:25:in call' vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/params_parser.rb:15:in
call’
app/middleware/prevent_non_multipart_parse.rb:32:in call' lib/canvas/request_throttle.rb:58:in
block in call’
lib/canvas/request_throttle.rb:229:in reserve_capacity' lib/canvas/request_throttle.rb:54:in
call’
app/middleware/stats_timing.rb:8:in block in call' app/middleware/stats_timing.rb:8:in
call’
lib/request_context_generator.rb:34:in call' vendor/bundle/ruby/1.9.1/gems/encrypted_cookie_store-instructure-1.0.5/lib/encrypted_cookie_store.rb:36:in
call’
app/middleware/sessions_timeout.rb:22:in call' app/middleware/load_account.rb:12:in
call’
vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/failsafe.rb:26:in call' <internal:prelude>:10:in
synchronize’
vendor/bundle/ruby/1.9.1/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/dispatcher.rb:106:in call' /var/lib/gems/1.9.1/gems/passenger-4.0.33/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in
process_request’
/var/lib/gems/1.9.1/gems/passenger-4.0.33/lib/phusion_passenger/request_handler/thread_handler.rb:141:in accept_and_process_next_request' /var/lib/gems/1.9.1/gems/passenger-4.0.33/lib/phusion_passenger/request_handler/thread_handler.rb:109:in
main_loop’
/var/lib/gems/1.9.1/gems/passenger-4.0.33/lib/phusion_passenger/request_handler.rb:440:in `block (3 levels) in start_threads’
Regards
Hari