Closed hmans closed 10 years ago
UserPoller is raising heaps of these when trying to talk to a host that has a faulty/untrusted SSL certificate.
UserPoller
An OpenSSL::SSL::SSLError occurred in background at 2014-10-22 11:10:39 +0200 : SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed /opt/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/http.rb:920:in `connect' ------------------------------- Backtrace: ------------------------------- /opt/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/http.rb:920:in `block in connect' /opt/rubies/ruby-2.1.2/lib/ruby/2.1.0/timeout.rb:76:in `timeout' /opt/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/http.rb:863:in `do_start' /opt/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/http.rb:852:in `start' /opt/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/http.rb:1369:in `request' /home/pants/shared/bundle/ruby/2.1.0/gems/httparty-0.13.1/lib/httparty/request.rb:93:in `perform' /home/pants/shared/bundle/ruby/2.1.0/gems/httparty-0.13.1/lib/httparty/request.rb:262:in `handle_response' /home/pants/shared/bundle/ruby/2.1.0/gems/httparty-0.13.1/lib/httparty/request.rb:107:in `perform' /home/pants/shared/bundle/ruby/2.1.0/gems/httparty-0.13.1/lib/httparty.rb:521:in `perform_request' /home/pants/shared/bundle/ruby/2.1.0/gems/httparty-0.13.1/lib/httparty.rb:457:in `get' /home/pants/shared/bundle/ruby/2.1.0/gems/httparty-0.13.1/lib/httparty.rb:559:in `get' /home/pants/releases/20140927211712/app/services/user_poller.rb:18:in `perform' /home/pants/releases/20140927211712/app/services/service.rb:22:in `block (3 levels) in perform!' /home/pants/shared/bundle/ruby/2.1.0/gems/activerecord-4.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:199:in `transaction' /home/pants/shared/bundle/ruby/2.1.0/gems/activerecord-4.1.6/lib/active_record/transactions.rb:208:in `transaction' /home/pants/releases/20140927211712/app/services/service.rb:57:in `with_transaction' /home/pants/releases/20140927211712/app/services/service.rb:21:in `block (2 levels) in perform!' /home/pants/releases/20140927211712/app/services/service.rb:34:in `with_exception_notifications' /home/pants/releases/20140927211712/app/services/service.rb:20:in `block in perform!' /home/pants/shared/bundle/ruby/2.1.0/gems/activerecord-4.1.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:294:in `with_connection' /home/pants/releases/20140927211712/app/services/service.rb:61:in `with_database' /home/pants/releases/20140927211712/app/services/service.rb:19:in `perform!' /home/pants/releases/20140927211712/app/services/service.rb:67:in `perform' /home/pants/releases/20140927211712/app/services/batch_user_poller.rb:8:in `block in perform' /home/pants/releases/20140927211712/app/services/batch_user_poller.rb:7:in `each' /home/pants/releases/20140927211712/app/services/batch_user_poller.rb:7:in `perform' /home/pants/releases/20140927211712/app/services/service.rb:22:in `block (3 levels) in perform!' /home/pants/shared/bundle/ruby/2.1.0/gems/activerecord-4.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction' /home/pants/shared/bundle/ruby/2.1.0/gems/activerecord-4.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction' /home/pants/shared/bundle/ruby/2.1.0/gems/activerecord-4.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction' /home/pants/shared/bundle/ruby/2.1.0/gems/activerecord-4.1.6/lib/active_record/transactions.rb:208:in `transaction' /home/pants/releases/20140927211712/app/services/service.rb:57:in `with_transaction' /home/pants/releases/20140927211712/app/services/service.rb:21:in `block (2 levels) in perform!' /home/pants/releases/20140927211712/app/services/service.rb:34:in `with_exception_notifications' /home/pants/releases/20140927211712/app/services/service.rb:20:in `block in perform!' /home/pants/shared/bundle/ruby/2.1.0/gems/activerecord-4.1.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:294:in `with_connection' /home/pants/releases/20140927211712/app/services/service.rb:61:in `with_database' /home/pants/releases/20140927211712/app/services/service.rb:19:in `perform!' /home/pants/releases/20140927211712/app/services/service.rb:67:in `perform' /home/pants/releases/20140927211712/config/initializers/scheduled_tasks.rb:30:in `block (2 levels) in start_worker!' /home/pants/shared/bundle/ruby/2.1.0/gems/timers-4.0.1/lib/timers/timer.rb:97:in `call' /home/pants/shared/bundle/ruby/2.1.0/gems/timers-4.0.1/lib/timers/timer.rb:97:in `fire' /home/pants/shared/bundle/ruby/2.1.0/gems/timers-4.0.1/lib/timers/events.rb:43:in `fire' /home/pants/shared/bundle/ruby/2.1.0/gems/timers-4.0.1/lib/timers/events.rb:85:in `block in fire' /home/pants/shared/bundle/ruby/2.1.0/gems/timers-4.0.1/lib/timers/events.rb:84:in `reverse_each' /home/pants/shared/bundle/ruby/2.1.0/gems/timers-4.0.1/lib/timers/events.rb:84:in `fire' /home/pants/shared/bundle/ruby/2.1.0/gems/timers-4.0.1/lib/timers/group.rb:80:in `fire' /home/pants/shared/bundle/ruby/2.1.0/gems/timers-4.0.1/lib/timers/group.rb:64:in `wait' /home/pants/releases/20140927211712/config/initializers/scheduled_tasks.rb:34:in `block (2 levels) in start_worker!' /home/pants/releases/20140927211712/config/initializers/scheduled_tasks.rb:34:in `loop' /home/pants/releases/20140927211712/config/initializers/scheduled_tasks.rb:34:in `block in start_worker!' ------------------------------- Data: ------------------------------- * data: {:class=>"UserPoller", :args=>["some.host.com"]}
Fixed in 02d58238d8eea95b9f9d724c0463d2a7add508d1.
UserPoller
is raising heaps of these when trying to talk to a host that has a faulty/untrusted SSL certificate.