At the beginning
PostsController# (Timeout::Error) "execution expired"
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/sockets/connectable.rb:45:in `read'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/sockets/connectable.rb:45:in `block in read'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/sockets/connectable.rb:78:in `handle_socket_errors'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/sockets/connectable.rb:45:in `read'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/connection.rb:177:in `read_data'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/connection.rb:99:in `block in read'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/connection.rb:202:in `with_connection'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/connection.rb:97:in `read'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/protocol/query.rb:148:in `receive_replies'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/connection.rb:135:in `block in receive_replies'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/connection.rb:134:in `map'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/connection.rb:134:in `receive_replies'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/node.rb:561:in `block (2 levels) in flush'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/node.rb:129:in `ensure_connected'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/node.rb:559:in `block in flush'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/node.rb:574:in `logging'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/node.rb:558:in `flush'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/node.rb:547:in `process'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/node.rb:364:in `query'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/session/context.rb:44:in `block in query'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/session/context.rb:109:in `block in with_node'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/cluster.rb:205:in `block in with_primary'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/node.rb:189:in `ensure_primary'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/cluster.rb:204:in `with_primary'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/session/context.rb:108:in `with_node'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/session/context.rb:43:in `query'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/query.rb:114:in `first'
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.17/lib/mongoid/contextual/mongo.rb:201:in `first'
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.17/lib/mongoid/contextual.rb:18:in `first'
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.17/lib/mongoid/finders.rb:144:in `find_or'
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.17/lib/mongoid/finders.rb:87:in `find_or_initialize_by'
/app/app/controllers/posts_controller.rb:186:in `init_model'
6 minutes later
AthletesController# (Moped::Errors::ConnectionFailure) "Could not connect to a primary node for replica set <Moped::Cluster nodes=[<Moped::Node resolved_address=\"__suppressed__:10008\">]>"
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/cluster.rb:220:in `with_primary'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/cluster.rb:217:in `with_primary'
... about 3 dozen of these lines...
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/cluster.rb:217:in `with_primary'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/session/context.rb:108:in `with_node'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/session/context.rb:43:in `query'
/app/vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/query.rb:114:in `first'
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.17/lib/mongoid/contextual/mongo.rb:201:in `first'
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.17/lib/mongoid/contextual.rb:18:in `first'
/app/app/controllers/athletes_controller.rb:232:in `init_model'