Skip to content

Instantly share code, notes, and snippets.

@heyogrady
Created August 21, 2015 15:20
Show Gist options
  • Select an option

  • Save heyogrady/1a320d92fc49e56fb57b to your computer and use it in GitHub Desktop.

Select an option

Save heyogrady/1a320d92fc49e56fb57b to your computer and use it in GitHub Desktop.
the description for this gist
195 <190>1 2015-08-19T20:19:59.948736+00:00 app web.1 - -  (17.3ms) BEGIN /*application:AGENTBRIGHT,controller:nylas_accounts,action:messages*/
597 <190>1 2015-08-19T20:19:59.976407+00:00 app web.1 - - SQL (24.4ms) INSERT INTO "api_responses" ("api_type", "api_called_at", "status", "message", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" /*application:AGENTBRIGHT,controller:nylas_accounts,action:messages*/ [["api_type", "inboxapp"], ["api_called_at", "2015-08-19 20:19:59.930367"], ["status", "success"], ["message", "Successfully connected to InboxApp"], ["created_at", "2015-08-19 20:19:59.949542"], ["updated_at", "2015-08-19 20:19:59.949542"]]
195 <190>1 2015-08-19T20:19:59.980154+00:00 app web.1 - -  (2.3ms) COMMIT /*application:AGENTBRIGHT,controller:nylas_accounts,action:messages*/
298 <158>1 2015-08-19T20:20:00.230317+00:00 heroku router - - at=info method=HEAD path="/favicon.ico?_=472209376" host=beta.agentbright.com request_id=fafb4203-87ae-45e3-a17a-b7616fd71502 fwd="99.17.86.166" dyno=web.1 connect=0ms service=3ms status=200 bytes=454
299 <158>1 2015-08-19T20:20:00.897632+00:00 heroku router - - at=info method=HEAD path="/favicon.ico?_=794627444" host=beta.agentbright.com request_id=63a4a9bd-4bac-45d5-896f-786149291650 fwd="99.17.86.166" dyno=web.1 connect=0ms service=5ms status=200 bytes=1604
299 <158>1 2015-08-19T20:20:00.788718+00:00 heroku router - - at=info method=HEAD path="/favicon.ico?_=678556801" host=beta.agentbright.com request_id=ae534ff1-1bce-4b7c-8b89-144acae0d517 fwd="99.17.86.166" dyno=web.1 connect=1ms service=3ms status=200 bytes=1604
300 <158>1 2015-08-19T20:19:22.063106+00:00 heroku router - - at=info method=HEAD path="/favicon.ico?_=816722885" host=beta.agentbright.com request_id=613d31b4-e4fe-460e-ab58-d27fe18001b6 fwd="50.250.42.142" dyno=web.1 connect=1ms service=3ms status=200 bytes=1642
300 <158>1 2015-08-19T20:19:22.103339+00:00 heroku router - - at=info method=HEAD path="/favicon.ico?_=689510154" host=beta.agentbright.com request_id=722a79fc-e4d4-4724-8960-01dfbe56ae5e fwd="50.250.42.142" dyno=web.1 connect=0ms service=2ms status=200 bytes=1642
299 <158>1 2015-08-19T20:19:22.182207+00:00 heroku router - - at=info method=HEAD path="/favicon.ico?_=766183705" host=beta.agentbright.com request_id=c2b0ed3d-a849-4720-9446-8a9d23fb7741 fwd="50.250.42.142" dyno=web.1 connect=1ms service=4ms status=200 bytes=492
335 <158>1 2015-08-19T20:20:01.865433+00:00 heroku router - - at=info method=GET path="/nylas_accounts/messages?contact_id=10304&_=1440015598917" host=beta.agentbright.com request_id=52e14c42-eff2-410e-b006-e1be75a6eb70 fwd="99.17.86.166" dyno=web.1 connect=1ms service=2857ms status=200 bytes=12949
418 <190>1 2015-08-19T20:20:01.840237+00:00 app web.1 - - EmailAddress Load (4.1ms) SELECT "email_addresses".* FROM "email_addresses" WHERE "email_addresses"."owner_id" = $1 AND "email_addresses"."owner_type" = $2 ORDER BY created_at ASC /*application:AGENTBRIGHT,controller:nylas_accounts,action:messages*/ [["owner_id", 10304], ["owner_type", "Contact"]]
378 <158>1 2015-08-19T20:19:16.053785+00:00 heroku router - - at=info method=GET path="/assets/super_admin-3532ee3540e1151716b1a7116c8c73417368c9f6faf39c9061367236a34a7f22.js" host=beta.agentbright.com request_id=40e995a4-e590-496e-a925-b04a9f3e142b fwd="50.250.42.142,205.251.250.131" dyno=web.1 connect=0ms service=97ms status=200 bytes=424
138 <190>1 2015-08-19T20:20:01.852883+00:00 app web.1 - - Rendered emails/_message.html.erb (30.5ms)
299 <158>1 2015-08-19T20:19:28.419603+00:00 heroku router - - at=info method=HEAD path="/favicon.ico?_=415627060" host=beta.agentbright.com request_id=af1e8626-7c6d-413d-bfa7-cc3653703588 fwd="50.250.42.142" dyno=web.1 connect=0ms service=3ms status=200 bytes=492
299 <158>1 2015-08-19T20:20:01.999778+00:00 heroku router - - at=info method=HEAD path="/favicon.ico?_=201089939" host=beta.agentbright.com request_id=895b70c6-f033-4428-9f6e-e959bf9a8580 fwd="99.17.86.166" dyno=web.1 connect=1ms service=6ms status=200 bytes=1604
146 <190>1 2015-08-19T20:20:01.853070+00:00 app web.1 - - Rendered nylas_accounts/messages.html.erb (34.5ms)
159 <190>1 2015-08-19T20:20:01.853588+00:00 app web.1 - - Completed 200 OK in 2787ms (Views: 38.7ms | ActiveRecord: 75.7ms)
352 <158>1 2015-08-19T20:20:02.743596+00:00 heroku router - - at=info method=GET path="/inbox/login?utf8=%E2%9C%93&email=patrick%40agentbright.com&commit=Adding..." host=beta.agentbright.com request_id=963c7715-48fd-40f2-ae1b-648e5fbb0982 fwd="50.250.42.142" dyno=web.1 connect=0ms service=97ms status=302 bytes=1444
231 <190>1 2015-08-19T20:20:02.652680+00:00 app web.1 - - Started GET "/inbox/login?utf8=%E2%9C%93&email=patrick%40agentbright.com&commit=Adding..." for 50.250.42.142 at 2015-08-19 20:20:02 +0000
164 <190>1 2015-08-19T20:20:02.665695+00:00 app web.1 - - Processing by AuthorizationsController#add_inbox_email_address as HTML
182 <190>1 2015-08-19T20:20:02.665793+00:00 app web.1 - - Parameters: {"utf8"=>"", "email"=>"patrick@agentbright.com", "commit"=>"Adding..."}
308 <190>1 2015-08-19T20:20:02.668926+00:00 app web.1 - -  (2.2ms) select count(*) from pg_stat_activity where pid <> pg_backend_pid() and usename = current_user; /*application:AGENTBRIGHT,controller:authorizations,action:add_inbox_email_address*/
154 <190>1 2015-08-19T20:20:02.672200+00:00 app web.1 - - ============================================================
159 <190>1 2015-08-19T20:20:02.672272+00:00 app web.1 - - Number of connections allowed by Active Record per application: 5
135 <190>1 2015-08-19T20:20:02.672328+00:00 app web.1 - - Number of connections to the database: 3
117 <190>1 2015-08-19T20:20:02.672375+00:00 app web.1 - - pid: 14752, state: idle
125 <190>1 2015-08-19T20:20:02.672410+00:00 app web.1 - - application_name: /app/bin/rake
590 <190>1 2015-08-19T20:20:02.672452+00:00 app web.1 - - query: UPDATE "delayed_jobs" SET locked_at = '2015-08-19 20:19:31.657279', locked_by = 'host:12dc656d-6573-4ffb-b125-f6915373d787 pid:3' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2015-08-19 20:19:31.656401' AND (locked_at IS NULL OR locked_at < '2015-08-19 19:59:31.656457') OR locked_by = 'host:12dc656d-6573-4ffb-b125-f6915373d787 pid:3') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING * /*application:AGENTBRIGHT*/
94 <190>1 2015-08-19T20:20:02.672497+00:00 app web.1 - -
117 <190>1 2015-08-19T20:20:02.672530+00:00 app web.1 - - pid: 16173, state: idle
161 <190>1 2015-08-19T20:20:02.672563+00:00 app web.1 - - application_name: unicorn worker[0] -p 46314 -c ./config/unicorn.rb
325 <190>1 2015-08-19T20:20:02.672614+00:00 app web.1 - - query: SELECT "email_addresses".* FROM "email_addresses" WHERE "email_addresses"."owner_id" = $1 AND "email_addresses"."owner_type" = $2 ORDER BY created_at ASC /*application:AGENTBRIGHT,controller:nylas_accounts,action:messages*/
94 <190>1 2015-08-19T20:20:02.672646+00:00 app web.1 - -
117 <190>1 2015-08-19T20:20:02.672679+00:00 app web.1 - - pid: 14777, state: idle
125 <190>1 2015-08-19T20:20:02.672738+00:00 app web.1 - - application_name: /app/bin/rake
303 <190>1 2015-08-19T20:20:02.672773+00:00 app web.1 - - query: SELECT COUNT(*) AS count_all, priority AS priority FROM "delayed_jobs" WHERE (run_at <= '2015-08-19 20:19:41.682809' and failed_at is NULL) GROUP BY "delayed_jobs"."priority" /*application:AGENTBRIGHT*/
94 <190>1 2015-08-19T20:20:02.672826+00:00 app web.1 - -
154 <190>1 2015-08-19T20:20:02.672862+00:00 app web.1 - - ============================================================
330 <190>1 2015-08-19T20:20:02.676487+00:00 app web.1 - - Subscription Load (2.3ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."user_id" = $1 /*application:AGENTBRIGHT,controller:authorizations,action:add_inbox_email_address*/ [["user_id", 27]]
259 <190>1 2015-08-19T20:20:02.663423+00:00 app web.1 - - User Load (2.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 /*application:AGENTBRIGHT*/ [["id", 27]]
336 <190>1 2015-08-19T20:20:02.671724+00:00 app web.1 - -  (2.2ms) SELECT pid, state, usename, application_name, query FROM pg_stat_activity where pid <> pg_backend_pid() and usename = current_user; /*application:AGENTBRIGHT,controller:authorizations,action:add_inbox_email_address*/
209 <190>1 2015-08-19T20:20:02.680299+00:00 app web.1 - -  (2.0ms) BEGIN /*application:AGENTBRIGHT,controller:authorizations,action:add_inbox_email_address*/
210 <190>1 2015-08-19T20:20:02.724152+00:00 app web.1 - -  (3.6ms) COMMIT /*application:AGENTBRIGHT,controller:authorizations,action:add_inbox_email_address*/
603 <190>1 2015-08-19T20:20:02.731732+00:00 app web.1 - - SQL (2.8ms) INSERT INTO "api_responses" ("api_type", "api_called_at", "status", "message", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" /*application:AGENTBRIGHT,controller:authorizations,action:add_inbox_email_address*/ [["api_type", "inboxapp"], ["api_called_at", "2015-08-19 20:20:02.724463"], ["status", "success"], ["message", "Successfully connected to InboxApp"], ["created_at", "2015-08-19 20:20:02.727615"], ["updated_at", "2015-08-19 20:20:02.727615"]]
299 <158>1 2015-08-19T20:20:02.836852+00:00 heroku router - - at=info method=HEAD path="/favicon.ico?_=545739240" host=beta.agentbright.com request_id=39b41daa-ffe7-4925-95b1-dbcd4700d334 fwd="99.17.86.166" dyno=web.1 connect=1ms service=4ms status=200 bytes=1604
612 <190>1 2015-08-19T20:20:02.719487+00:00 app web.1 - - SQL (37.4ms) INSERT INTO "api_responses" ("api_type", "api_called_at", "status", "message", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" /*application:AGENTBRIGHT,controller:authorizations,action:add_inbox_email_address*/ [["api_type", "inboxapp"], ["api_called_at", "2015-08-19 20:20:02.677678"], ["status", "success"], ["message", "Successfully connected to InboxApp"], ["created_at", "2015-08-19 20:20:02.680672"], ["updated_at", "2015-08-19 20:20:02.680672"]]
217 <190>1 2015-08-19T20:20:02.727219+00:00 app web.1 - -  (2.3ms) BEGIN /*application:AGENTBRIGHT,controller:authorizations,action:add_inbox_email_address*/
218 <190>1 2015-08-19T20:20:02.735867+00:00 app web.1 - -  (3.2ms) COMMIT /*application:AGENTBRIGHT,controller:authorizations,action:add_inbox_email_address*/
144 <190>1 2015-08-19T20:20:02.737338+00:00 app web.1 - - Completed 302 Found in 71ms (ActiveRecord: 58.0ms)
296 <190>1 2015-08-19T20:20:02.737127+00:00 app web.1 - - Redirected to https://api.nylas.com/oauth/authorize?client_id=&trial=false&response_type=code&scope=email&login_hint=patrick@agentbright.com&redirect_uri=http://beta.agentbright.com/inbox/login_callback
364 <190>1 2015-08-19T20:20:02.906830+00:00 app web.1 - - Started GET "/inbox/login_callback?reason=Sorry%2C+you+must+provide+a+valid+%60client_id%60.+The+%60client_id%60+request+parameter+should+be+the+App+ID+of+your+application+in+the+Nylas+Developer+Portal.&error=access_denied" for 50.250.42.142 at 2015-08-19 20:20:02 +0000
260 <190>1 2015-08-19T20:20:02.936945+00:00 app web.1 - - User Load (21.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 /*application:AGENTBRIGHT*/ [["id", 27]]
298 <190>1 2015-08-19T20:20:02.968006+00:00 app web.1 - - Parameters: {"reason"=>"Sorry, you must provide a valid `client_id`. The `client_id` request parameter should be the App ID of your application in the Nylas Developer Portal.", "error"=>"access_denied"}
334 <190>1 2015-08-19T20:20:03.000939+00:00 app web.1 - -  (14.6ms) SELECT pid, state, usename, application_name, query FROM pg_stat_activity where pid <> pg_backend_pid() and usename = current_user; /*application:AGENTBRIGHT,controller:authorizations,action:inbox_login_callback*/
154 <190>1 2015-08-19T20:20:03.000944+00:00 app web.1 - - ============================================================
159 <190>1 2015-08-19T20:20:03.000948+00:00 app web.1 - - Number of connections allowed by Active Record per application: 5
135 <190>1 2015-08-19T20:20:03.000950+00:00 app web.1 - - Number of connections to the database: 3
117 <190>1 2015-08-19T20:20:03.000951+00:00 app web.1 - - pid: 16172, state: idle
161 <190>1 2015-08-19T20:20:03.000953+00:00 app web.1 - - application_name: unicorn worker[1] -p 46314 -c ./config/unicorn.rb
192 <190>1 2015-08-19T20:20:03.000955+00:00 app web.1 - - query: COMMIT /*application:AGENTBRIGHT,controller:authorizations,action:add_inbox_email_address*/
94 <190>1 2015-08-19T20:20:03.000956+00:00 app web.1 - -
117 <190>1 2015-08-19T20:20:03.000958+00:00 app web.1 - - pid: 14752, state: idle
125 <190>1 2015-08-19T20:20:03.000959+00:00 app web.1 - - application_name: /app/bin/rake
590 <190>1 2015-08-19T20:20:03.000961+00:00 app web.1 - - query: UPDATE "delayed_jobs" SET locked_at = '2015-08-19 20:19:31.657279', locked_by = 'host:12dc656d-6573-4ffb-b125-f6915373d787 pid:3' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2015-08-19 20:19:31.656401' AND (locked_at IS NULL OR locked_at < '2015-08-19 19:59:31.656457') OR locked_by = 'host:12dc656d-6573-4ffb-b125-f6915373d787 pid:3') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING * /*application:AGENTBRIGHT*/
94 <190>1 2015-08-19T20:20:03.000962+00:00 app web.1 - -
117 <190>1 2015-08-19T20:20:03.000964+00:00 app web.1 - - pid: 14777, state: idle
125 <190>1 2015-08-19T20:20:03.000965+00:00 app web.1 - - application_name: /app/bin/rake
303 <190>1 2015-08-19T20:20:03.000967+00:00 app web.1 - - query: SELECT COUNT(*) AS count_all, priority AS priority FROM "delayed_jobs" WHERE (run_at <= '2015-08-19 20:19:41.682809' and failed_at is NULL) GROUP BY "delayed_jobs"."priority" /*application:AGENTBRIGHT*/
94 <190>1 2015-08-19T20:20:03.000969+00:00 app web.1 - -
154 <190>1 2015-08-19T20:20:03.000970+00:00 app web.1 - - ============================================================
327 <190>1 2015-08-19T20:20:03.008570+00:00 app web.1 - - Subscription Load (3.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."user_id" = $1 /*application:AGENTBRIGHT,controller:authorizations,action:inbox_login_callback*/ [["user_id", 27]]
161 <190>1 2015-08-19T20:20:02.963346+00:00 app web.1 - - Processing by AuthorizationsController#inbox_login_callback as HTML
305 <190>1 2015-08-19T20:20:02.977394+00:00 app web.1 - -  (7.9ms) select count(*) from pg_stat_activity where pid <> pg_backend_pid() and usename = current_user; /*application:AGENTBRIGHT,controller:authorizations,action:inbox_login_callback*/
161 <190>1 2015-08-19T20:20:03.394109+00:00 app web.1 - - Completed 500 Internal Server Error in 426ms (ActiveRecord: 25.7ms)
94 <190>1 2015-08-19T20:20:03.435239+00:00 app web.1 - -
153 <190>1 2015-08-19T20:20:03.435247+00:00 app web.1 - - Inbox::UnexpectedResponse (757: unexpected token at '<html>
100 <190>1 2015-08-19T20:20:03.435248+00:00 app web.1 - - <head>
172 <190>1 2015-08-19T20:20:03.435251+00:00 app web.1 - - <meta http-equiv="content-type" content="text/html; charset=windows-1252">
167 <190>1 2015-08-19T20:20:03.435252+00:00 app web.1 - - <meta name="viewport" content="width=device-width, user-scalable=no">
94 <190>1 2015-08-19T20:20:03.435253+00:00 app web.1 - -
134 <190>1 2015-08-19T20:20:03.435255+00:00 app web.1 - - <title>Sign in to your email</title>
98 <190>1 2015-08-19T20:20:03.435257+00:00 app web.1 - -
153 <190>1 2015-08-19T20:20:03.435258+00:00 app web.1 - - <link rel="stylesheet" href="/static/fonts/Avenir.css">
150 <190>1 2015-08-19T20:20:03.435259+00:00 app web.1 - - <link rel="stylesheet" href="/static/css/oauth.css">
200 <190>1 2015-08-19T20:20:03.435261+00:00 app web.1 - - <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600" type="text/css">
94 <190>1 2015-08-19T20:20:03.435263+00:00 app web.1 - -
101 <190>1 2015-08-19T20:20:03.435264+00:00 app web.1 - - </head>
100 <190>1 2015-08-19T20:20:03.435265+00:00 app web.1 - - <body>
94 <190>1 2015-08-19T20:20:03.435266+00:00 app web.1 - -
118 <190>1 2015-08-19T20:20:03.435268+00:00 app web.1 - - <div id="container">
98 <190>1 2015-08-19T20:20:03.435269+00:00 app web.1 - -
106 <190>1 2015-08-19T20:20:03.435270+00:00 app web.1 - -
102 <190>1 2015-08-19T20:20:03.435271+00:00 app web.1 - -
94 <190>1 2015-08-19T20:20:03.435273+00:00 app web.1 - -
127 <190>1 2015-08-19T20:20:03.435274+00:00 app web.1 - - <form action="#" method="post">
94 <190>1 2015-08-19T20:20:03.435275+00:00 app web.1 - -
116 <190>1 2015-08-19T20:20:03.435276+00:00 app web.1 - - <div id="white-box">
141 <190>1 2015-08-19T20:20:03.435278+00:00 app web.1 - - <div id="user_action" style="padding:30px;">
94 <190>1 2015-08-19T20:20:03.435279+00:00 app web.1 - -
112 <190>1 2015-08-19T20:20:03.435281+00:00 app web.1 - - <h2>Error</h2>
94 <190>1 2015-08-19T20:20:03.435282+00:00 app web.1 - -
115 <190>1 2015-08-19T20:20:03.435283+00:00 app web.1 - - <p class="alert">
125 <190>1 2015-08-19T20:20:03.435284+00:00 app web.1 - - Sorry, an error occurred :(
102 <190>1 2015-08-19T20:20:03.435286+00:00 app web.1 - - </p>
98 <190>1 2015-08-19T20:20:03.435287+00:00 app web.1 - -
99 <190>1 2015-08-19T20:20:03.435288+00:00 app web.1 - -
138 <190>1 2015-08-19T20:20:03.435290+00:00 app web.1 - - <p class="error-display">Error 400:</p>
99 <190>1 2015-08-19T20:20:03.435291+00:00 app web.1 - -
206 <190>1 2015-08-19T20:20:03.435293+00:00 app web.1 - - <p class="error-display">Sorry, you must provide the `code`, `client_id`, and `client_secret` parameters</p>
98 <190>1 2015-08-19T20:20:03.435294+00:00 app web.1 - -
98 <190>1 2015-08-19T20:20:03.435295+00:00 app web.1 - -
103 <190>1 2015-08-19T20:20:03.435296+00:00 app web.1 - - </div>
102 <190>1 2015-08-19T20:20:03.435298+00:00 app web.1 - - </div>
94 <190>1 2015-08-19T20:20:03.435299+00:00 app web.1 - -
103 <190>1 2015-08-19T20:20:03.435300+00:00 app web.1 - - </form>
94 <190>1 2015-08-19T20:20:03.435302+00:00 app web.1 - -
101 <190>1 2015-08-19T20:20:03.435303+00:00 app web.1 - - </div>
94 <190>1 2015-08-19T20:20:03.435304+00:00 app web.1 - -
94 <190>1 2015-08-19T20:20:03.435305+00:00 app web.1 - -
94 <190>1 2015-08-19T20:20:03.435307+00:00 app web.1 - -
104 <190>1 2015-08-19T20:20:03.435308+00:00 app web.1 - - </div>
94 <190>1 2015-08-19T20:20:03.435309+00:00 app web.1 - -
101 <190>1 2015-08-19T20:20:03.435310+00:00 app web.1 - - </body>
104 <190>1 2015-08-19T20:20:03.435311+00:00 app web.1 - - </html>'):
169 <190>1 2015-08-19T20:20:03.435313+00:00 app web.1 - - app/controllers/authorizations_controller.rb:25:in `inbox_login_callback'
160 <190>1 2015-08-19T20:20:03.435314+00:00 app web.1 - - app/controllers/application_controller.rb:83:in `user_time_zone'
134 <190>1 2015-08-19T20:20:03.435315+00:00 app web.1 - - lib/email_tracker/rack.rb:48:in `call'
94 <190>1 2015-08-19T20:20:03.435317+00:00 app web.1 - -
94 <190>1 2015-08-19T20:20:03.435318+00:00 app web.1 - -
486 <158>1 2015-08-19T20:20:03.522012+00:00 heroku router - - at=info method=GET path="/inbox/login_callback?reason=Sorry%2C+you+must+provide+a+valid+%60client_id%60.+The+%60client_id%60+request+parameter+should+be+the+App+ID+of+your+application+in+the+Nylas+Developer+Portal.&error=access_denied" host=beta.agentbright.com request_id=cffec22a-b919-4778-8e71-b3c85ff751ab fwd="50.250.42.142" dyno=web.1 connect=1ms service=614ms status=500 bytes=5057
154 <190>1 2015-08-19T20:20:08.461824+00:00 app web.1 - - Started GET "/" for 69.59.28.19 at 2015-08-19 20:20:08 +0000
274 <190>1 2015-08-19T20:20:08.468893+00:00 app web.1 - -  (1.2ms) select count(*) from pg_stat_activity where pid <> pg_backend_pid() and usename = current_user; /*application:AGENTBRIGHT,controller:sessions,action:new*/
154 <190>1 2015-08-19T20:20:08.470695+00:00 app web.1 - - ============================================================
159 <190>1 2015-08-19T20:20:08.470736+00:00 app web.1 - - Number of connections allowed by Active Record per application: 5
135 <190>1 2015-08-19T20:20:08.470772+00:00 app web.1 - - Number of connections to the database: 3
117 <190>1 2015-08-19T20:20:08.470805+00:00 app web.1 - - pid: 16172, state: idle
161 <190>1 2015-08-19T20:20:08.470838+00:00 app web.1 - - application_name: unicorn worker[1] -p 46314 -c ./config/unicorn.rb
192 <190>1 2015-08-19T20:20:08.470872+00:00 app web.1 - - query: COMMIT /*application:AGENTBRIGHT,controller:authorizations,action:add_inbox_email_address*/
94 <190>1 2015-08-19T20:20:08.470904+00:00 app web.1 - -
117 <190>1 2015-08-19T20:20:08.470937+00:00 app web.1 - - pid: 14752, state: idle
125 <190>1 2015-08-19T20:20:08.470969+00:00 app web.1 - - application_name: /app/bin/rake
590 <190>1 2015-08-19T20:20:08.471005+00:00 app web.1 - - query: UPDATE "delayed_jobs" SET locked_at = '2015-08-19 20:19:31.657279', locked_by = 'host:12dc656d-6573-4ffb-b125-f6915373d787 pid:3' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2015-08-19 20:19:31.656401' AND (locked_at IS NULL OR locked_at < '2015-08-19 19:59:31.656457') OR locked_by = 'host:12dc656d-6573-4ffb-b125-f6915373d787 pid:3') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING * /*application:AGENTBRIGHT*/
94 <190>1 2015-08-19T20:20:08.471038+00:00 app web.1 - -
117 <190>1 2015-08-19T20:20:08.471071+00:00 app web.1 - - pid: 14777, state: idle
125 <190>1 2015-08-19T20:20:08.471103+00:00 app web.1 - - application_name: /app/bin/rake
303 <190>1 2015-08-19T20:20:08.471138+00:00 app web.1 - - query: SELECT COUNT(*) AS count_all, priority AS priority FROM "delayed_jobs" WHERE (run_at <= '2015-08-19 20:19:41.682809' and failed_at is NULL) GROUP BY "delayed_jobs"."priority" /*application:AGENTBRIGHT*/
145 <190>1 2015-08-19T20:20:08.466571+00:00 app web.1 - - Processing by Users::SessionsController#new as HTML
276 <158>1 2015-08-19T20:20:08.491961+00:00 heroku router - - at=info method=GET path="/" host=beta.agentbright.com request_id=0a47c1aa-a1fc-45ae-81af-469f87b47b03 fwd="69.59.28.19" dyno=web.1 connect=2ms service=31ms status=200 bytes=19594
94 <190>1 2015-08-19T20:20:08.471169+00:00 app web.1 - -
154 <190>1 2015-08-19T20:20:08.471202+00:00 app web.1 - - ============================================================
136 <190>1 2015-08-19T20:20:08.481352+00:00 app web.1 - - Rendered users/shared/_links.erb (1.5ms)
148 <190>1 2015-08-19T20:20:08.483334+00:00 app web.1 - - Rendered application/_head_contents.html.erb (1.1ms)
137 <190>1 2015-08-19T20:20:08.484597+00:00 app web.1 - - Rendered shared/_flashes.html.erb (0.2ms)
143 <190>1 2015-08-19T20:20:08.485813+00:00 app web.1 - - Rendered application/_usersnap.html.erb (0.3ms)
148 <190>1 2015-08-19T20:20:08.485961+00:00 app web.1 - - Rendered application/_extra_content.html.erb (1.2ms)
156 <190>1 2015-08-19T20:20:08.486854+00:00 app web.1 - - Completed 200 OK in 20ms (Views: 14.0ms | ActiveRecord: 2.1ms)
318 <190>1 2015-08-19T20:20:08.470439+00:00 app web.1 - -  (0.9ms) SELECT pid, state, usename, application_name, query FROM pg_stat_activity where pid <> pg_backend_pid() and usename = current_user; /*application:AGENTBRIGHT,controller:sessions,action:new*/
169 <190>1 2015-08-19T20:20:08.481978+00:00 app web.1 - - Rendered users/sessions/new.html.erb within layouts/landing-pages (9.1ms)
148 <190>1 2015-08-19T20:20:08.484169+00:00 app web.1 - - Rendered shared/_environment_banner.html.erb (0.3ms)
135 <190>1 2015-08-19T20:20:08.485151+00:00 app web.1 - - Rendered shared/_modal.html.erb (0.1ms)
587 <134>1 2015-08-19T20:19:57+00:00 app heroku-postgres - - source=HEROKU_POSTGRESQL_CRIMSON sample#current_transaction=8601791 sample#db_size=640747704bytes sample#tables=57 sample#active-connections=6 sample#waiting-connections=0 sample#index-cache-hit-rate=0.99967 sample#table-cache-hit-rate=0.99932 sample#load-avg-1m=0.11 sample#load-avg-5m=0.165 sample#load-avg-15m=0.135 sample#read-iops=78.987 sample#write-iops=1.9968 sample#memory-total=15405616kB sample#memory-free=663836kB sample#memory-cached=13885520kB sample#memory-postgres=396340kB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment