EzTexting/eztexting — Issue #8: SSL errors, crashing
Author: jacobpatton
Created: 2011-10-28 21:59:39+00:00
State: open

Hi there,

We're seeing our app go down when this gem encounters an SSL error with EZtexting. Do you have any ideas about how to rescue/recover from such a thing?

Here's error we're seeing:

SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:678:in `connect'
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:678:in `block in connect'
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/timeout.rb:44:in `timeout'
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/timeout.rb:89:in `timeout'
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:678:in `connect'
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:637:in `do_start'
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:626:in `start'
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:1168:in `request'
/var/www/apps/tandem/production/shared/bundle/ruby/1.9.1/gems/httparty-0.7.3/lib/httparty/request.rb:69:in `perform'
/var/www/apps/tandem/production/shared/bundle/ruby/1.9.1/gems/httparty-0.7.3/lib/httparty.rb:394:in `perform_request'
/var/www/apps/tandem/production/shared/bundle/ruby/1.9.1/gems/httparty-0.7.3/lib/httparty.rb:362:in `post'
/var/www/apps/tandem/production/shared/bundle/ruby/1.9.1/gems/eztexting-0.3.4/lib/eztexting/base.rb:11:in `do_post'
/var/www/apps/tandem/production/shared/bundle/ruby/1.9.1/gems/eztexting-0.3.4/lib/eztexting/sms.rb:25:in `block in multi'
/var/www/apps/tandem/production/shared/bundle/ruby/1.9.1/gems/eztexting-0.3.4/lib/eztexting/sms.rb:23:in `each'
/var/www/apps/tandem/production/shared/bundle/ruby/1.9.1/gems/eztexting-0.3.4/lib/eztexting/sms.rb:23:in `each_with_index'
/var/www/apps/tandem/production/shared/bundle/ruby/1.9.1/gems/eztexting-0.3.4/lib/eztexting/sms.rb:23:in `multi'

thanks,

Jacob