Skip to content

Instantly share code, notes, and snippets.

@ssinyagin
Created September 30, 2012 11:01
Show Gist options
  • Save ssinyagin/3806459 to your computer and use it in GitHub Desktop.
Save ssinyagin/3806459 to your computer and use it in GitHub Desktop.
Winkstart failing to get account details
Sep 30 12:58:24 kz02 2600hz[2097]: |b34296dd2916c76ac9b4c6ee8f27e709|v1_resource:74 (<0.599.0>) OPTIONS: /v1/accounts/896f0df4b4412e98ed82ef1b0bb24170?_=1349002744219
Sep 30 12:58:24 kz02 2600hz[2097]: |b34296dd2916c76ac9b4c6ee8f27e709|v1_util:371 (<0.599.0>) mod accounts has params [<<"896f0df4b4412e98ed82ef1b0bb24170">>]
Sep 30 12:58:24 kz02 2600hz[2097]: |b34296dd2916c76ac9b4c6ee8f27e709|v1_util:119 (<0.599.0>) undefined content type when getting req data, assuming application/json
Sep 30 12:58:24 kz02 2600hz[2097]: |b34296dd2916c76ac9b4c6ee8f27e709|v1_util:290 (<0.599.0>) request had no payload
Sep 30 12:58:24 kz02 2600hz[2097]: |b34296dd2916c76ac9b4c6ee8f27e709|crossbar_bindings:462 (<0.599.0>) exact match <<"v1_resource.allowed_methods.accounts">> to <<"v1_resource.allowed_methods.accounts">>
Sep 30 12:58:24 kz02 2600hz[2097]: |b34296dd2916c76ac9b4c6ee8f27e709|v1_util:330 (<0.599.0>) sticking with method OPTIONS
Sep 30 12:58:24 kz02 2600hz[2097]: |b34296dd2916c76ac9b4c6ee8f27e709|v1_resource:146 (<0.599.0>) allowing OPTIONS request for CORS preflight
Sep 30 12:58:24 kz02 2600hz[2097]: |b34296dd2916c76ac9b4c6ee8f27e709|v1_util:483 (<0.599.0>) options requests are permitted by default
Sep 30 12:58:24 kz02 2600hz[2097]: |b34296dd2916c76ac9b4c6ee8f27e709|v1_resource:228 (<0.599.0>) is CORS request
Sep 30 12:58:24 kz02 2600hz[2097]: |b34296dd2916c76ac9b4c6ee8f27e709|crossbar_bindings:467 (<0.599.0>) matched [<<"*">>,<<"*">>,<<"finish_request">>,<<"v1_resource">>] to [<<"accounts">>,<<"options">>,<<"finish_request">>,<<"v1_resource">>]
Sep 30 12:58:24 kz02 2600hz[2097]: |b34296dd2916c76ac9b4c6ee8f27e709|v1_resource:97 (<0.599.0>) fulfilled in 24 ms
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|v1_resource:74 (<0.599.0>) GET: /v1/accounts/896f0df4b4412e98ed82ef1b0bb24170?_=1349002744219
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|v1_util:371 (<0.599.0>) mod accounts has params [<<"896f0df4b4412e98ed82ef1b0bb24170">>]
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|v1_util:136 (<0.599.0>) application/json content type when getting req data
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|v1_util:290 (<0.599.0>) request had no payload
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|crossbar_bindings:462 (<0.599.0>) exact match <<"v1_resource.allowed_methods.accounts">> to <<"v1_resource.allowed_methods.accounts">>
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|v1_util:330 (<0.599.0>) sticking with method GET
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|v1_resource:152 (<0.599.0>) not CORS preflight
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|crossbar_doc:78 (<0.599.0>) loaded doc 896f0df4b4412e98ed82ef1b0bb24170 from accounts
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|wh_services:347 (<0.599.0>) unable to open services doc for account 896f0df4b4412e98ed82ef1b0bb24170: not_found
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|v1_util:470 (<0.599.0>) using auth token from header
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|crossbar_bindings:462 (<0.599.0>) exact match <<"v1_resource.authenticate">> to <<"v1_resource.authenticate">>
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|cb_token_auth:106 (<0.599.0>) checking auth token: 3f5727fc8127c187964fba10892f4674
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|cb_token_auth:109 (<0.599.0>) token auth is valid, authenticating
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|v1_util:447 (<0.599.0>) is_authentic: true
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|crossbar_bindings:462 (<0.599.0>) exact match <<"v1_resource.authorize">> to <<"v1_resource.authorize">>
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|cb_simple_authz:148 (<0.599.0>) the requestor is a superduper admin
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|cb_simple_authz:120 (<0.599.0>) authorizing, the request does not contain any system administration modules
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|cb_simple_authz:49 (<0.599.0>) authorizing the request
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|v1_util:501 (<0.599.0>) request was authz
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|v1_resource:309 (<0.599.0>) run: languages_provided
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|v1_resource:350 (<0.599.0>) run: resource_exists
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|crossbar_bindings:462 (<0.599.0>) exact match <<"v1_resource.resource_exists.accounts">> to <<"v1_resource.resource_exists.accounts">>
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|v1_resource:353 (<0.599.0>) requested resource exists, validating it
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|v1_util:602 (<0.599.0>) validating against params [<<"896f0df4b4412e98ed82ef1b0bb24170">>]
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|crossbar_bindings:489 (<0.599.0>) routing v1_resource.validate.accounts matches v1_resource.validate.accounts
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|crossbar_doc:78 (<0.599.0>) loaded doc 896f0df4b4412e98ed82ef1b0bb24170 from accounts
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|wh_services:347 (<0.599.0>) unable to open services doc for account 896f0df4b4412e98ed82ef1b0bb24170: not_found
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|crossbar_bindings:489 (<0.599.0>) routing v1_resource.billing matches v1_resource.billing
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|v1_util:622 (<0.599.0>) billing returned
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|v1_resource:357 (<0.599.0>) requested resource update validated
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|v1_resource:512 (<0.599.0>) using etag 3-08881b3fd846538adf7422b553e8eaec
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|v1_util:745 (<0.599.0>) content: {"auth_token":"3f5727fc8127c187964fba10892f4674","status":"success","data":{"name":"admin","realm":"sip.kz02.txlab.net","timezone":"America/Los_Angeles","caller_id":{},"caller_id_options":{},"notifications":{},"media":{"bypass_media":"auto"},"music_on_hold":{},"available_apps":["voip","pbxs","numbers","accounts","developer"],"id":"896f0df4b4412e98ed82ef1b0bb24170","wnm_allow_additions":false,"superduper_admin":true,"billing_mode":"limits_only"},"request_id":"9536e93a477b8d205e0a130161e04473","revision":"3-08881b3fd846538adf7422b553e8eaec"}
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|v1_resource:495 (<0.599.0>) has resp_body: true
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|crossbar_bindings:467 (<0.599.0>) matched [<<"*">>,<<"*">>,<<"finish_request">>,<<"v1_resource">>] to [<<"accounts">>,<<"get">>,<<"finish_request">>,<<"v1_resource">>]
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|cb_token_auth:57 (<0.599.0>) updating auth doc: 3f5727fc8127c187964fba10892f4674:2-108bc5184febdb64c437bc2e3b589990
Sep 30 12:58:24 kz02 2600hz[2097]: |9536e93a477b8d205e0a130161e04473|v1_resource:105 (<0.599.0>) fulfilled in 42 ms
Sep 30 12:58:24 kz02 2600hz[2097]: |2d30c07ea57cb944dae8f73878ddcbc7|v1_resource:74 (<0.599.0>) OPTIONS: /v1/accounts/f48a607afd0a6a2ea69a2a4b2ef4f3da/whitelabel?_=1349002744497
Sep 30 12:58:24 kz02 2600hz[2097]: |2d30c07ea57cb944dae8f73878ddcbc7|v1_util:371 (<0.599.0>) mod accounts has params [<<"f48a607afd0a6a2ea69a2a4b2ef4f3da">>]
Sep 30 12:58:24 kz02 2600hz[2097]: |2d30c07ea57cb944dae8f73878ddcbc7|v1_util:371 (<0.599.0>) mod whitelabel has params []
Sep 30 12:58:24 kz02 2600hz[2097]: |2d30c07ea57cb944dae8f73878ddcbc7|v1_util:119 (<0.599.0>) undefined content type when getting req data, assuming application/json
Sep 30 12:58:24 kz02 2600hz[2097]: |2d30c07ea57cb944dae8f73878ddcbc7|v1_util:290 (<0.599.0>) request had no payload
Sep 30 12:58:24 kz02 2600hz[2097]: |2d30c07ea57cb944dae8f73878ddcbc7|v1_util:330 (<0.599.0>) sticking with method OPTIONS
Sep 30 12:58:24 kz02 2600hz[2097]: |2d30c07ea57cb944dae8f73878ddcbc7|v1_resource:146 (<0.599.0>) allowing OPTIONS request for CORS preflight
Sep 30 12:58:24 kz02 2600hz[2097]: |2d30c07ea57cb944dae8f73878ddcbc7|v1_util:483 (<0.599.0>) options requests are permitted by default
Sep 30 12:58:24 kz02 2600hz[2097]: |2d30c07ea57cb944dae8f73878ddcbc7|v1_resource:228 (<0.599.0>) is CORS request
Sep 30 12:58:24 kz02 2600hz[2097]: |2d30c07ea57cb944dae8f73878ddcbc7|crossbar_bindings:467 (<0.599.0>) matched [<<"*">>,<<"*">>,<<"finish_request">>,<<"v1_resource">>] to [<<"whitelabel">>,<<"options">>,<<"finish_request">>,<<"v1_resource">>]
Sep 30 12:58:24 kz02 2600hz[2097]: |2d30c07ea57cb944dae8f73878ddcbc7|v1_resource:97 (<0.599.0>) fulfilled in 19 ms
Sep 30 12:58:24 kz02 2600hz[2097]: |8801523cb2bdd1ff53fd19149e5bd1f1|v1_resource:74 (<0.599.0>) GET: /v1/accounts/f48a607afd0a6a2ea69a2a4b2ef4f3da/whitelabel?_=1349002744497
Sep 30 12:58:24 kz02 2600hz[2097]: |8801523cb2bdd1ff53fd19149e5bd1f1|v1_util:371 (<0.599.0>) mod accounts has params [<<"f48a607afd0a6a2ea69a2a4b2ef4f3da">>]
Sep 30 12:58:24 kz02 2600hz[2097]: |8801523cb2bdd1ff53fd19149e5bd1f1|v1_util:371 (<0.599.0>) mod whitelabel has params []
Sep 30 12:58:24 kz02 2600hz[2097]: |8801523cb2bdd1ff53fd19149e5bd1f1|v1_util:136 (<0.599.0>) application/json content type when getting req data
Sep 30 12:58:24 kz02 2600hz[2097]: |8801523cb2bdd1ff53fd19149e5bd1f1|v1_util:290 (<0.599.0>) request had no payload
Sep 30 12:58:24 kz02 2600hz[2097]: |8801523cb2bdd1ff53fd19149e5bd1f1|v1_util:330 (<0.599.0>) sticking with method GET
Sep 30 12:58:24 kz02 2600hz[2097]: |8801523cb2bdd1ff53fd19149e5bd1f1|v1_resource:186 (<0.599.0>) other: [{<<"404">>,[]}]
Sep 30 12:58:24 kz02 2600hz[2097]: |8801523cb2bdd1ff53fd19149e5bd1f1|v1_util:470 (<0.599.0>) using auth token from header
Sep 30 12:58:24 kz02 2600hz[2097]: |8801523cb2bdd1ff53fd19149e5bd1f1|crossbar_bindings:462 (<0.599.0>) exact match <<"v1_resource.authenticate">> to <<"v1_resource.authenticate">>
Sep 30 12:58:24 kz02 2600hz[2097]: |8801523cb2bdd1ff53fd19149e5bd1f1|cb_token_auth:106 (<0.599.0>) checking auth token: 3f5727fc8127c187964fba10892f4674
Sep 30 12:58:24 kz02 2600hz[2097]: |8801523cb2bdd1ff53fd19149e5bd1f1|cb_token_auth:109 (<0.599.0>) token auth is valid, authenticating
Sep 30 12:58:24 kz02 2600hz[2097]: |8801523cb2bdd1ff53fd19149e5bd1f1|v1_util:447 (<0.599.0>) is_authentic: true
Sep 30 12:58:24 kz02 2600hz[2097]: |8801523cb2bdd1ff53fd19149e5bd1f1|v1_util:801 (<0.599.0>) generating error 404 response, not found
Sep 30 12:58:24 kz02 2600hz[2097]: |8801523cb2bdd1ff53fd19149e5bd1f1|crossbar_bindings:467 (<0.599.0>) matched [<<"*">>,<<"*">>,<<"finish_request">>,<<"v1_resource">>] to [<<"404">>,<<"get">>,<<"finish_request">>,<<"v1_resource">>]
Sep 30 12:58:24 kz02 2600hz[2097]: |8801523cb2bdd1ff53fd19149e5bd1f1|cb_token_auth:57 (<0.599.0>) updating auth doc: 3f5727fc8127c187964fba10892f4674:2-108bc5184febdb64c437bc2e3b589990
Sep 30 12:58:24 kz02 2600hz[2097]: |8801523cb2bdd1ff53fd19149e5bd1f1|v1_resource:105 (<0.599.0>) fulfilled in 35 ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment