twilio / authy-ruby

**Deprecated** Ruby library to access the authy API
MIT License
156 stars 47 forks source link

no implicit conversion from nil to integer #11

Closed tamvm closed 8 years ago

tamvm commented 10 years ago

Have you ever got above error? Sometimes, I got that but sometimes, I don't. I don't know how to reproduce it. Here is some log that I got:

A TypeError occurred in sessions#resend_token:

  no implicit conversion from nil to integer
  /Users/tamvo/.rbenv/versions/2.0.0-p451/lib/ruby/2.0.0/timeout.rb:57:in `block in timeout'

-------------------------------
Request:
-------------------------------

  * URL        : http://localhost:3000/sessions/resend_token
  * HTTP Method: POST
  * IP address : 127.0.0.1
  * Parameters : {"email"=>"test@gmail.com", "controller"=>"sessions", "action"=>"resend_token", "session"=>{"email"=>"test@gmail.com"}}
  * Timestamp  : 2014-04-05 13:59:08 UTC
  * Rails root : /Volumes/DATA/code/rails/vax
  * Process: 92428

Note that there's no stacktrace here.

senekis commented 9 years ago

hi @tam-vo,

were you able to resolve this issue? I think it has something to do with your code