Skip to content

Instantly share code, notes, and snippets.

@carlisia
Created May 30, 2014 12:48
Show Gist options
  • Save carlisia/1ac550b1c1ddd1a6f577 to your computer and use it in GitHub Desktop.
Save carlisia/1ac550b1c1ddd1a6f577 to your computer and use it in GitHub Desktop.
Completed 401 Unauthorized - in Deals
~/dev/deals
☻ tail -f log/development.log ruby-1.9.3p484 master 1526ca4 ✗
Cache fetch_hit: iso_code_whitelist ({:expires_in=>3600 seconds, :force=>false}) [trace_id=1401391554_WuUCIP]
Cache fetch_hit ==> iso_code_whitelist (0.0ms) [trace_id=1401391554_WuUCIP]
Cache read: iso_code_whitelist ({:expires_in=>3600 seconds, :force=>false}) [trace_id=1401391554_WuUCIP]
Cache read ==> iso_code_whitelist (0.0ms) HIT [trace_id=1401391554_WuUCIP]
Cache fetch_hit: iso_code_whitelist ({:expires_in=>3600 seconds, :force=>false}) [trace_id=1401391554_WuUCIP]
Cache fetch_hit ==> iso_code_whitelist (0.0ms) [trace_id=1401391554_WuUCIP]
Started request_method="POST" request_url=""http://lsdev.co/api/v3/merchant/vouchers/37528807/redemption.json?amount_paid_at_redemption=0.0"" at request_time="2014-05-29 12:25:55 -0700" request_ip="127.0.0.1" headers: HTTP_USER_AGENT="Ruby" params: accept="json" content_type="json" X-LivingSocial-API-Key="2fda5dd71abc8b9fb7ef6948e338567b68eff66e" IMPRINTID="1401391554_tnwEXE" cookies="" Accept-Language="en-US" Accept="*/*" X-LS-Merchant-API-Key="AtyWDtmRuAGUYK9lhVqN4mWNUkC1MN3weAVstTJD1LajdKIZXJyCg" amount_paid_at_redemption="0.0" action="create" controller="api/v3/merchant/redemptions" voucher_id="37528807" format="json" viewer_id="nil" living_social_user_id="nil" [trace_id=1401391554_WuUCIP]
Statsd: deals.api_tracking.api.v3.merchant.total:1|c [trace_id=1401391554_WuUCIP]
Statsd: deals.api_tracking.api.v3.merchant.redemptions.create:1|c [trace_id=1401391554_WuUCIP]
Completed 401 Unauthorized in 12ms (Memcache: 0.3ms) [trace_id=1401391554_WuUCIP]
Statsd: deals.coverband.request.recorded.false:1|c
[trace_id=1401391626_QWSpxu]
[trace_id=1401391626_QWSpxu]
Started POST "/api/v3/merchant/vouchers/37528807/redemption.json?amount_paid_at_redemption=0.0" for 127.0.0.1 at 2014-05-29 12:27:06 -0700 [trace_id=1401391626_QWSpxu]
Processing by Api::V3::Merchant::RedemptionsController#create as JSON [trace_id=1401391626_QWSpxu]
Parameters: {"accept"=>"json", "content_type"=>"json", "X-LivingSocial-API-Key"=>"2fda5dd71abc8b9fb7ef6948e338567b68eff66e", "IMPRINTID"=>"1401391625_unTVUq", "cookies"=>"", "Accept-Language"=>"en-US", "Accept"=>"*/*", "X-LS-Merchant-API-Key"=>"AtyWDtmRuAGUYK9lhVqN4mWNUkC1MN3weAVstTJD1LajdKIZXJyCg", "amount_paid_at_redemption"=>"0.0", "voucher_id"=>"37528807"} [trace_id=1401391626_QWSpxu]
Cache read: iso_code_whitelist ({:expires_in=>3600 seconds, :force=>false}) [trace_id=1401391626_QWSpxu]
Cache read ==> iso_code_whitelist (0.3ms) HIT [trace_id=1401391626_QWSpxu]
Cache fetch_hit: iso_code_whitelist ({:expires_in=>3600 seconds, :force=>false}) [trace_id=1401391626_QWSpxu]
Cache fetch_hit ==> iso_code_whitelist (0.0ms) [trace_id=1401391626_QWSpxu]
Cache read: iso_code_whitelist ({:expires_in=>3600 seconds, :force=>false}) [trace_id=1401391626_QWSpxu]
Cache read ==> iso_code_whitelist (0.0ms) HIT [trace_id=1401391626_QWSpxu]
Cache fetch_hit: iso_code_whitelist ({:expires_in=>3600 seconds, :force=>false}) [trace_id=1401391626_QWSpxu]
Cache fetch_hit ==> iso_code_whitelist (0.0ms) [trace_id=1401391626_QWSpxu]
Cache read: iso_code_whitelist ({:expires_in=>3600 seconds, :force=>false}) [trace_id=1401391626_QWSpxu]
Cache read ==> iso_code_whitelist (0.0ms) HIT [trace_id=1401391626_QWSpxu]
Cache fetch_hit: iso_code_whitelist ({:expires_in=>3600 seconds, :force=>false}) [trace_id=1401391626_QWSpxu]
Cache fetch_hit ==> iso_code_whitelist (0.0ms) [trace_id=1401391626_QWSpxu]
Cache read: iso_code_whitelist ({:expires_in=>3600 seconds, :force=>false}) [trace_id=1401391626_QWSpxu]
Cache read ==> iso_code_whitelist (0.0ms) HIT [trace_id=1401391626_QWSpxu]
Cache fetch_hit: iso_code_whitelist ({:expires_in=>3600 seconds, :force=>false}) [trace_id=1401391626_QWSpxu]
Cache fetch_hit ==> iso_code_whitelist (0.0ms) [trace_id=1401391626_QWSpxu]
Started request_method="POST" request_url=""http://lsdev.co/api/v3/merchant/vouchers/37528807/redemption.json?amount_paid_at_redemption=0.0"" at request_time="2014-05-29 12:27:07 -0700" request_ip="127.0.0.1" headers: HTTP_USER_AGENT="Ruby" params: accept="json" content_type="json" X-LivingSocial-API-Key="2fda5dd71abc8b9fb7ef6948e338567b68eff66e" IMPRINTID="1401391625_unTVUq" cookies="" Accept-Language="en-US" Accept="*/*" X-LS-Merchant-API-Key="AtyWDtmRuAGUYK9lhVqN4mWNUkC1MN3weAVstTJD1LajdKIZXJyCg" amount_paid_at_redemption="0.0" action="create" controller="api/v3/merchant/redemptions" voucher_id="37528807" format="json" viewer_id="nil" living_social_user_id="nil" [trace_id=1401391626_QWSpxu]
Statsd: deals.api_tracking.api.v3.merchant.total:1|c [trace_id=1401391626_QWSpxu]
Statsd: deals.api_tracking.api.v3.merchant.redemptions.create:1|c [trace_id=1401391626_QWSpxu]
Completed 401 Unauthorized in 14ms (Memcache: 0.3ms) [trace_id=1401391626_QWSpxu]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment