haproxy is not configure right on single node with plain couchdb
Aug 20 16:04:13 staging webapp[1927]: RestClient::ServiceUnavailable (503 Service Unavailable):#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in `return!'#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:230:in `process_result'#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:178:in `block in transmit'#012 /usr/lib/ruby/1.9.1/net/http.rb:745:in `start'#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:172:in `transmit'#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in `execute'#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in `execute'#012 vendor/bundle/ruby/1.9.1/gems/couchrest-1.1.3/lib/couchrest/rest_api.rb:94:in `execute'#012 vendor/bundle/ruby/1.9.1/gems/couchrest-1.1.3/lib/couchrest/rest_api.rb:50:in `put'#012 vendor/bundle/ruby/1.9.1/gems/couchrest-1.1.3/lib/couchrest/database.rb:130:in `save_doc'#012 vendor/bundle/ruby/1.9.1/gems/couchrest_session_store-0.2.4/lib/couchrest/session/document.rb:69:in `save'#012 vendor/bundle/ruby/1.9.1/gems/couchrest_session_store-0.2.4/lib/couchrest/session/store.rb:58:in `set_session'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:327:in `commit_session'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:211:in `context'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/cookies.rb:341:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in `_run__4328436360071461597__call__247457088656219224__callbacks'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in `__run_callback'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:81:in `run_callbacks'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/callbacks.rb:27:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:32:in `call_app'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:16:in `block in call'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/tagged_logging.rb:22:in `tagged'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:16:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/request_id.rb:22:in `call'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/cache/strategy/local_cache.rb:72:in `call'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'#012 vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'#012 vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'#012 vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'#012 vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'#012 vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/engine.rb:484:in `call'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/application.rb:231:in `call'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/railtie/configurable.rb:30:in `method_missing'#012 vendor/bundle/ruby/1.9.1/gems/http_accept_language-2.0.0/lib/http_accept_language/middleware.rb:13:in `call'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/request_handler.rb:96:in `process_request'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_request_handler.rb:516:in `accept_and_process_next_request'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb:206:in `start_request_handler'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb:171:in `block in handle_spawn_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:479:in `safe_fork'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb:166:in `handle_spawn_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:in `server_main_loop'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:206:in `start_synchronously'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:180:in `start'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb:129:in `start'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:253:in `block (2 levels) in spawn_rack_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:246:in `block in spawn_rack_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:82:in `block in synchronize'#012 :10:in `synchronize'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:137:in `spawn_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:in `server_main_loop'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:206:in `start_synchronously'#012 /usr/share/phusion-passenger/helper-scripts/passenger-spawn-server:99:in `' Aug 20 16:04:13 staging webapp[1927]: Processing by ErrorsController#server_error as HTML Aug 20 16:04:13 staging webapp[1927]: Rendered errors/server_error.html.haml within layouts/application (0.4ms) Aug 20 16:04:13 staging webapp[1927]: Rendered layouts/_masthead.html.haml (0.3ms) Aug 20 16:04:13 staging webapp[1927]: Rendered layouts/_messages.html.haml (0.1ms) Aug 20 16:04:13 staging webapp[1927]: Rendered layouts/_content.html.haml (0.3ms) Aug 20 16:04:13 staging webapp[1927]: Rendered layouts/_footer.html.haml (0.6ms) Aug 20 16:04:13 staging webapp[1927]: Completed 200 OK in 3.8ms (Views: 3.6ms)
(from redmine: created on 2014-08-20, closed on 2014-10-22, relates #6004 (closed), relates #6135 (closed))