Git Product home page Git Product logo

kickbox-ruby's People

Contributors

brianisme avatar danhstevens avatar jhchabran avatar lucas-allydvm avatar rathboma avatar schaitanya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kickbox-ruby's Issues

undefined method `include?' for nil:NilClass

Over the weekend (the night of September 2nd) I got hundreds of these errors. It seems likely to me that Kickbox had an availability issue and went down for a while, but I would expect these errors to be more descriptive an allow me to recover better than a nil error.

Here's an example stack trace (email address redacted).

Sep 03 01:32:31 nova-background_i-60de5998 production.log: [2016-09-03T05:32:31.338866 #23985] ERROR Error verifing '********@hotmail.com' through Kickbox: undefined method `include?' for nil:NilClass
Sep 03 01:32:31 nova-background_i-60de5998 production.log: [2016-09-03T05:32:31.338950 #23985] ERROR /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/http_client/response_handler.rb:13:in `get_body'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/http_client/error_handler.rb:21:in `block in call'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/response.rb:57:in `on_complete'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/http_client/error_handler.rb:13:in `call'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/http_client/auth_handler.rb:34:in `call'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/connection.rb:140:in `get'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/http_client.rb:102:in `create_request'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/http_client.rb:101:in `instance_eval'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/http_client.rb:101:in `create_request'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/http_client.rb:85:in `request'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/http_client.rb:48:in `get'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/api/kickbox.rb:23:in `verify'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/app/lib/email_verification_service.rb:54:in `verify'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/app/lib/email_verification_service.rb:34:in `block (3 levels) in verify_batch'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/app/lib/email_verification_service.rb:33:in `each'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/app/lib/email_verification_service.rb:33:in `block (2 levels) in verify_batch'

Faraday dependency update?

Would it be possible to change the Faraday dependency to version 0.9.0 instead of 0.8.8? I can't currently install it (without forking myself) because of conflicts with other libraries that depend on 0.9.0.

kickbox installation error

We tried to install kickbox gem using bundle install command and got some error message.

Bundler could not find compatible versions for gem "faraday":
In Gemfile:
kickbox (>= 0) ruby depends on
faraday (~> 0.8.8) ruby

omniauth-facebook (>= 0) ruby depends on
  omniauth-oauth2 (~> 1.2) ruby depends on
    faraday (0.9.0)

Upgrade Faraday?

Would it be possible to upgrade the Faraday Gemspec for Kickbox? Faraday is now at 1.0 and Kickbox's gemspec is holding me back from upgrading other gems that require Faraday 1.0.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.