Skip to content

Instantly share code, notes, and snippets.

View samflores's full-sized avatar
🦕

Samuel Flores samflores

🦕
View GitHub Profile
2018-12-12T17:09:46.899010+00:00 app[web.1]: E, [2018-12-12T09:09:46.898840 #4] ERROR -- : Can't connect to MySQL server on 'beta-stacksocial-mysql-56-2018-11-25-19-07.cg7s5b3ozikc.us-east-1.rds.amazonaws.com' (4) (Mysql2::Error)
2018-12-12T17:09:46.899044+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/mysql2-0.3.20/lib/mysql2/client.rb:70:in `connect'
2018-12-12T17:09:46.899046+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/mysql2-0.3.20/lib/mysql2/client.rb:70:in `initialize'
2018-12-12T17:09:46.899049+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-5.1.6.1/lib/active_record/connection_adapters/mysql2_adapter.rb:21:in `new'
2018-12-12T17:09:46.899052+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-5.1.6.1/lib/active_record/connection_adapters/mysql2_adapter.rb:21:in `mysql2_connection'
2018-12-12T17:09:46.899055+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-5.1.6.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:759:in `ne
> RecurringSales::Renewal::CreateOrder.call(recurring_sale, next_renewal_date: Time.current - 1.day)
D, [2018-11-05T23:13:28.394607 #69] DEBUG -- : (203.9ms) BEGIN
D, [2018-11-05T23:13:28.549376 #69] DEBUG -- : (148.1ms) SELECT COUNT(*) FROM `products` INNER JOIN `product_sales` ON `products`.`id` = `product_sales`.`product_id` INNER JOIN `sales` ON `product_sales`.`sale_id` = `sales`.`id` WHERE `sales`.`id` = 16484
D, [2018-11-05T23:13:28.711214 #69] DEBUG -- : (159.3ms) SELECT COUNT(*) FROM `products` INNER JOIN `product_sales` ON `products`.`id` = `product_sales`.`product_id` INNER JOIN `sales` ON `product_sales`.`sale_id` = `sales`.`id` WHERE `sales`.`id` = 16484
D, [2018-11-05T23:13:28.906474 #69] DEBUG -- : (192.4ms) SELECT COUNT(*) FROM `products` INNER JOIN `product_sales` ON `products`.`id` = `product_sales`.`product_id` INNER JOIN `sales` ON `product_sales`.`sale_id` = `sales`.`id` WHERE `sales`.`id` = 16484
D, [2018-11-05T23:13:29.111299 #69] DEBUG -- : (202.1ms) SELECT COUNT(*)
[4] pry(#<API::V0::CheckoutsController>)> client = Sift::Client.new(api_key:ENV['SIFT_ACCESS_KEY'], account_id: ENV['SIFT_ACCOUNT_ID'])
=> #<Sift::Client:0x0055ce34aaba38
@account_id="[redacted]",
@api_key="[redacted]",
@path="/v204/events",
@timeout=2,
@version="204">
[5] pr
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/http.rb:879:in `initialize'"
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/http.rb:879:in `open'"
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/http.rb:879:in `block in connect'"
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/timeout.rb:89:in `block in timeout'"
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/timeout.rb:99:in `call'"
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/timeout.rb:99:in `timeout'"
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/http.rb:878:in `connect'"
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/http.rb:863:in `do_start'"
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/http.rb:852:in `start'"
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/http.rb:1375:in `request'"
04d927a41ffa7e40b31009daf70a29717ae07f285b36d94e205e22ed98211a049e5dbc2ae0a2a10ae0e0d2a60d004274c94e40c579c4426b2559836b31b3ad3f5e;fnando
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/authorizenet-1.8.2/lib/authorize_net/reporting/returned_item.rb:28: warning: duplicated key at line 28 ignored: :return_item_date_utc
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/premailer-1.7.9/lib/premailer/premailer.rb:49: warning: duplicated key at line 54 ignored: "’"
downloading structural dump to /Users/samflores/Code/cyanna/edvera/tmp/production_structural_dump_1516148541.sql and decompressing
loading backported structural data...
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/authorizenet-1.8.2/lib/authorize_net/reporting/returned_item.rb:28: warning: duplicated key at line 28 ignored: :return_item_date_utc
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/premailer-1.7.9/lib/premailer/premailer.rb:49: warning: duplicated key at line 54 ignored: "’"
injecting agency dependencies: iin_agency, cyanna
Seed permissions
Seed event queues
Seed-once webhooks
Ruby newer than 2.1 is very UNSUPPORTED
Ruby newer than 2.1 is very UNSUPPORTED
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/samflores/Code/cyanna/canvas-lms/Rakefile:11)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/samflores/Code/cyanna/canvas-lms/Rakefile:11)
DEPRECATION WARNING: You h
Client app 'canvas_quizzes' was built successfully.
--> Compiling React JSX
--> Generating plugin extensions
--> Creating ember app bundles
--> Pre-compiling ember handlebars templates
--> Pre-compiling handlebars templates
--> Generating plugin extensions finished in 0.0058429999990039505
--> Creating ember app bundles finished in 0.27774199999839766
--> Compiling CoffeeScript with 'coffee' binary
/Users/samflores/Code/cyanna/canvas-lms/gems/canvas_i18nliner/node_modules/jsdom/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js:5
> http post https://smartnexpoc.herokuapp.com/auth/sign_in [email protected] password=123123
HTTP/1.1 200 OK
Access-Token: LnTGqAFRdSnHt9hZa5xlfg
Cache-Control: max-age=0, private, must-revalidate
Client: rFVBonJgvKLh7Vm0IaE0qg
Connection: keep-alive
Content-Type: application/json; charset=utf-8
Date: Tue, 28 Nov 2017 20:01:45 GMT
Etag: W/"ef20f595211824df6fdc677c91cf6b21"
Expiry: 1543435306
> http post https://smartnexpoc.herokuapp.com/auth/sign_in [email protected] password=password
HTTP/1.1 200 OK
Access-Token: IDzSDVazKCkSMkoyy5qnKA
Cache-Control: max-age=0, private, must-revalidate
Client: DoXkvlRBluA9gk2smTvbxg
Connection: keep-alive
Content-Type: application/json; charset=utf-8
Date: Tue, 28 Nov 2017 18:13:42 GMT
Etag: W/"ec0df88a45df76267fffbcd7c65ad716"
Expiry: 1543428823