Skip to content

Instantly share code, notes, and snippets.

@scytacki
Created February 11, 2013 20:21
Show Gist options
  • Save scytacki/4757277 to your computer and use it in GitHub Desktop.
Save scytacki/4757277 to your computer and use it in GitHub Desktop.
A Kaltura::APIError occurred in videos#new:
Invalid KS [MjU2MDM4Mjc5Y2EzM2QwOGUxMTllNjMzNThmYTZjMjc1M2FkYmQ5N3wxMDA7MTAwOzEzNjAzNDIzMTg7MjsxMzYwMjU1OTE4LjIxOzs=]. Error [-5,EXPIRED]
velir_kaltura-ruby (0.4.13) lib/kaltura/kaltura_client_base.rb:97:in `raise_exception_if_error'
-------------------------------
Request:
-------------------------------
* URL : http://vpb.concord.org/video_papers/431/videos/new
* IP address: 69.66.176.145
* Parameters: {"action"=>"new", "controller"=>"videos", "video_paper_id"=>"431"}
* Rails root: /web/portal/releases/20130206054804
* Timestamp : 2013-02-10 01:43:05 UTC
-------------------------------
Session:
-------------------------------
* session id: "2999ac7b71d2f0aaad7e0bb4a73b0507"
* data: {"session_id"=>"2999ac7b71d2f0aaad7e0bb4a73b0507",
"_csrf_token"=>"9N3YshHYlMhgMuGPitjPaGQkR3V0Iez+K04WZIeU6Is=",
"warden.user.user.key"=>["User", [180], "n6kXxtV7agGgPAV_22yV"],
"flash"=>
#<ActionDispatch::Flash::FlashHash:0x00000006e81a10
@closed=false,
@flashes={:notice=>"VideoPaper was succesfully updated."},
@now=nil,
@used=#<Set: {:notice}>>}
-------------------------------
Environment:
-------------------------------
* DOCUMENT_ROOT : /web/portal/current/public
* HTTP_ACCEPT : text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
* HTTP_ACCEPT_CHARSET : ISO-8859-1,utf-8;q=0.7,*;q=0.3
* HTTP_ACCEPT_ENCODING : gzip,deflate,sdch
* HTTP_ACCEPT_LANGUAGE : en-US,en;q=0.8
* HTTP_CACHE_CONTROL : max-age=0
* HTTP_CONNECTION : keep-alive
* HTTP_COOKIE : _video-paper-builder_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRkkiJTI5OTlhYzdiNzFkMmYwYWFhZDdlMGJiNGE3M2IwNTA3BjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMTlOM1lzaEhZbE1oZ011R1BpdGpQYUdRa1IzVjBJZXorSzA0V1pJZVU2SXM9BjsARkkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBmkBtEkiGW42a1h4dFY3YWdHZ1BBVl8yMnlWBjsAVEkiCmZsYXNoBjsARm86JUFjdGlvbkRpc3BhdGNoOjpGbGFzaDo6Rmxhc2hIYXNoCToKQHVzZWRvOghTZXQGOgpAaGFzaHsAOgxAY2xvc2VkRjoNQGZsYXNoZXN7BjoLbm90aWNlSSIoVmlkZW9QYXBlciB3YXMgc3VjY2VzZnVsbHkgdXBkYXRlZC4GOwBGOglAbm93MA%3D%3D--46bede67308682b3db9a53b5046c734fc319179f
* HTTP_HOST : vpb.concord.org
* HTTP_REFERER : http://vpb.concord.org/video_papers/431/edit
* HTTP_USER_AGENT : Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1
* HTTP_X_QUEUE_START : t=1360460585578417
* ORIGINAL_FULLPATH : /video_papers/431/videos/new
* PASSENGER_CONNECT_PASSWORD : [FILTERED]
* PATH_INFO : /video_papers/431/videos/new
* QUERY_STRING :
* REMOTE_ADDR : 69.66.176.145
* REMOTE_PORT : 51368
* REQUEST_METHOD : GET
* REQUEST_URI : /video_papers/431/videos/new
* SCRIPT_NAME :
* SCRIPT_URI : http://vpb.concord.org/video_papers/431/videos/new
* SCRIPT_URL : /video_papers/431/videos/new
* SERVER_ADDR : 10.31.144.114
* SERVER_ADMIN : [no address given]
* SERVER_NAME : vpb.concord.org
* SERVER_PORT : 80
* SERVER_PROTOCOL : HTTP/1.1
* SERVER_SOFTWARE : Apache
* _ : _
* action_controller.instance : videos#new
* action_dispatch.backtrace_cleaner : #<Rails::BacktraceCleaner:0x00000005ac1a20>
* action_dispatch.cookies : #<ActionDispatch::Cookies::CookieJar:0x00000006e82a00>
* action_dispatch.logger : #<ActiveSupport::TaggedLogging:0x00000004047618>
* action_dispatch.parameter_filter : [:password, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/]
* action_dispatch.remote_ip : 69.66.176.145
* action_dispatch.request.content_type :
* action_dispatch.request.formats : [text/html]
* action_dispatch.request.parameters : {"action"=>"new", "controller"=>"videos", "video_paper_id"=>"431"}
* action_dispatch.request.path_parameters : {:action=>"new", :controller=>"videos", :video_paper_id=>"431"}
* action_dispatch.request.query_parameters : {}
* action_dispatch.request.request_parameters : {}
* action_dispatch.request.unsigned_session_cookie: {"session_id"=>"2999ac7b71d2f0aaad7e0bb4a73b0507", "_csrf_token"=>"9N3YshHYlMhgMuGPitjPaGQkR3V0Iez+K04WZIeU6Is=", "warden.user.user.key"=>["User", [180], "n6kXxtV7agGgPAV_22yV"], "flash"=>#<ActionDispatch::Flash::FlashHash:0x00000006e81a10 @used=#<Set: {:notice}>, @closed=false, @flashes={:notice=>"VideoPaper was succesfully updated."}, @now=nil>}
* action_dispatch.request_id : 3c9132bfafa1b9d49776778156b23332
* action_dispatch.routes : #<ActionDispatch::Routing::RouteSet:0x00000003ef3938>
* action_dispatch.secret_token : d91a490683a7e24058a811cc0f72f86fa606fb532eb90db7a4c8c9a499b780dc44a27064ac5826f8698ff6628b73dffab834ddcf9601ddae5af3ada48739bb0e
* action_dispatch.show_detailed_exceptions : false
* action_dispatch.show_exceptions : true
* exception_notifier.options : {:sender_address=>"\"Exception Notifier\" <[email protected]>", :exception_recipients=>["[email protected]"], :email_prefix=>"[Exception] ", :email_format=>:text, :sections=>["request", "session", "environment", "backtrace"], :background_sections=>["backtrace", "data"], :verbose_subject=>true, :normalize_subject=>false, :template_path=>"exception_notifier", :smtp_settings=>nil, :ignore_exceptions=>["ActiveRecord::RecordNotFound", "AbstractController::ActionNotFound", "ActionController::RoutingError"], :ignore_crawlers=>[], :ignore_if=>#<Proc:0x00000004559f20@/web/portal/shared/bundle/ruby/1.9.1/gems/exception_notification-3.0.0/lib/exception_notifier.rb:36 (lambda)>}
* rack-cache.allow_reload : false
* rack-cache.allow_revalidate : false
* rack-cache.cache_key : Rack::Cache::Key
* rack-cache.default_ttl : 0
* rack-cache.entitystore : rails:/
* rack-cache.ignore_headers : ["Set-Cookie"]
* rack-cache.metastore : rails:/
* rack-cache.private_headers : ["Authorization", "Cookie"]
* rack-cache.storage : #<Rack::Cache::Storage:0x000000048a71f0>
* rack-cache.use_native_ttl : false
* rack-cache.verbose : false
* rack.errors : #<IO:0x00000002470318>
* rack.input : #<PhusionPassenger::Utils::RewindableInput:0x00000006e79f90>
* rack.multiprocess : true
* rack.multithread : false
* rack.request.cookie_hash : {"_video-paper-builder_session"=>"BAh7CUkiD3Nlc3Npb25faWQGOgZFRkkiJTI5OTlhYzdiNzFkMmYwYWFhZDdlMGJiNGE3M2IwNTA3BjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMTlOM1lzaEhZbE1oZ011R1BpdGpQYUdRa1IzVjBJZXorSzA0V1pJZVU2SXM9BjsARkkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBmkBtEkiGW42a1h4dFY3YWdHZ1BBVl8yMnlWBjsAVEkiCmZsYXNoBjsARm86JUFjdGlvbkRpc3BhdGNoOjpGbGFzaDo6Rmxhc2hIYXNoCToKQHVzZWRvOghTZXQGOgpAaGFzaHsAOgxAY2xvc2VkRjoNQGZsYXNoZXN7BjoLbm90aWNlSSIoVmlkZW9QYXBlciB3YXMgc3VjY2VzZnVsbHkgdXBkYXRlZC4GOwBGOglAbm93MA==--46bede67308682b3db9a53b5046c734fc319179f"}
* rack.request.cookie_string : _video-paper-builder_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRkkiJTI5OTlhYzdiNzFkMmYwYWFhZDdlMGJiNGE3M2IwNTA3BjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMTlOM1lzaEhZbE1oZ011R1BpdGpQYUdRa1IzVjBJZXorSzA0V1pJZVU2SXM9BjsARkkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBmkBtEkiGW42a1h4dFY3YWdHZ1BBVl8yMnlWBjsAVEkiCmZsYXNoBjsARm86JUFjdGlvbkRpc3BhdGNoOjpGbGFzaDo6Rmxhc2hIYXNoCToKQHVzZWRvOghTZXQGOgpAaGFzaHsAOgxAY2xvc2VkRjoNQGZsYXNoZXN7BjoLbm90aWNlSSIoVmlkZW9QYXBlciB3YXMgc3VjY2VzZnVsbHkgdXBkYXRlZC4GOwBGOglAbm93MA%3D%3D--46bede67308682b3db9a53b5046c734fc319179f
* rack.request.query_hash : {}
* rack.request.query_string :
* rack.run_once : false
* rack.session : {"session_id"=>"2999ac7b71d2f0aaad7e0bb4a73b0507", "_csrf_token"=>"9N3YshHYlMhgMuGPitjPaGQkR3V0Iez+K04WZIeU6Is=", "warden.user.user.key"=>["User", [180], "n6kXxtV7agGgPAV_22yV"], "flash"=>#<ActionDispatch::Flash::FlashHash:0x00000006e81a10 @used=#<Set: {:notice}>, @closed=false, @flashes={:notice=>"VideoPaper was succesfully updated."}, @now=nil>}
* rack.session.options : {:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :secret=>"3f82eb3c3f76e701329c9c9b9259adf75fe7801dd32c21d1366c434e6ff8", :coder=>#<Rack::Session::Cookie::Base64::Marshal:0x0000000455fa10>, :id=>"2999ac7b71d2f0aaad7e0bb4a73b0507"}
* rack.url_scheme : http
* rack.version : [1, 0]
* warden : Warden::Proxy:57936360 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :database_authenticatable], :admin=>[:rememberable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#<Devise::Delegator:0x000000061cbbb8>}
* Process: 7752
* Server : ip-10-31-144-114
-------------------------------
Backtrace:
-------------------------------
velir_kaltura-ruby (0.4.13) lib/kaltura/kaltura_client_base.rb:97:in `raise_exception_if_error'
velir_kaltura-ruby (0.4.13) lib/kaltura/kaltura_client_base.rb:87:in `parse_xml_to_objects'
velir_kaltura-ruby (0.4.13) lib/kaltura/kaltura_client_base.rb:82:in `parse_to_objects'
velir_kaltura-ruby (0.4.13) lib/kaltura/kaltura_client_base.rb:68:in `do_queue'
velir_kaltura-ruby (0.4.13) lib/kaltura/service/base_service.rb:37:in `perform_request'
velir_kaltura-ruby (0.4.13) lib/kaltura/service/session_service.rb:13:in `start'
vendor/plugins/kaltura_fu/lib/kaltura_fu.rb:58:in `generate_session_key'
app/controllers/videos_controller.rb:16:in `new'
actionpack (3.2.11) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.11) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.11) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.11) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.11) lib/active_support/callbacks.rb:458:in `_run__3911701890263523975__process_action__3281508540366551957__callbacks'
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.11) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.11) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.11) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.11) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.11) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.2.11) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.11) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.11) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
exception_notification (3.0.0) lib/exception_notifier.rb:40:in `call'
warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
warden (1.2.1) lib/warden/manager.rb:34:in `catch'
warden (1.2.1) lib/warden/manager.rb:34:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.4) lib/rack/etag.rb:23:in `call'
rack (1.4.4) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.4) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.4) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.11) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.11) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `_run__3071604389235342961__call__4591760756103724214__callbacks'
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.4) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.4) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.4) lib/rack/lock.rb:15:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
railties (3.2.11) lib/rails/engine.rb:479:in `call'
railties (3.2.11) lib/rails/application.rb:223:in `call'
railties (3.2.11) lib/rails/railtie/configurable.rb:30:in `method_missing'
passenger (3.0.12) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
passenger (3.0.12) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
passenger (3.0.12) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
passenger (3.0.12) lib/phusion_passenger/rack/application_spawner.rb:206:in `start_request_handler'
passenger (3.0.12) lib/phusion_passenger/rack/application_spawner.rb:171:in `block in handle_spawn_application'
passenger (3.0.12) lib/phusion_passenger/utils.rb:479:in `safe_fork'
passenger (3.0.12) lib/phusion_passenger/rack/application_spawner.rb:166:in `handle_spawn_application'
passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:180:in `start'
passenger (3.0.12) lib/phusion_passenger/rack/application_spawner.rb:129:in `start'
passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:253:in `block (2 levels) in spawn_rack_application'
passenger (3.0.12) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:246:in `block in spawn_rack_application'
passenger (3.0.12) lib/phusion_passenger/abstract_server_collection.rb:82:in `block in synchronize'
<internal:prelude>:10:in `synchronize'
passenger (3.0.12) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application'
passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application'
passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.12) helper-scripts/passenger-spawn-server:99:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment