This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D, [2019-01-29T09:01:35.568921 #41] DEBUG -- : ETHON: performed EASY effective_url=https://foo:bar@cypress-318260196.eu-west-1.bonsaisearch.net/pressrooms/_doc/4--Pressroom response_code=404 return_code=ok total_time=0.004958 | |
D, [2019-01-29T09:03:05.582615 #41] DEBUG -- : ETHON: performed EASY effective_url=https://foo:bar@cypress-318260196.eu-west-1.bonsaisearch.net/materials/_doc/_delete_by_query response_code=504 return_code=ok total_time=90.004653 | |
rake aborted! | |
Elasticsearch::Transport::Transport::Errors::GatewayTimeout: [504] {"code":504,"message":"A timeout occured during the request. Please check status.bonsai.io or contact support@bonsai.io for assistance."} | |
/app/vendor/bundle/ruby/2.5.0/gems/elasticsearch-transport-6.1.0/lib/elasticsearch/transport/transport/base.rb:205:in `__raise_transport_error' | |
/app/vendor/bundle/ruby/2.5.0/gems/elasticsearch-transport-6.1.0/lib/elasticsearch/transport/transport/base.rb:323:in `perform_request' | |
/app/vendor/bundle/ruby/2.5.0/gems/elasticsearch-transport-6.1.0/lib/elasticsearch/transport/transport/http/faraday.rb:20:in `perform_request' | |
/app/vendor/bundle/ruby/2.5.0/gems/elasticsearch-transport-6.1.0/lib/elasticsearch/transport/client.rb:131:in `perform_request' | |
/app/vendor/bundle/ruby/2.5.0/gems/elasticsearch-api-6.1.0/lib/elasticsearch/api/actions/delete_by_query.rb:101:in `delete_by_query' | |
/app/app/services/mnd_elasticsearch/base/repository.rb:65:in `bulk_delete' | |
/app/app/services/mnd_elasticsearch/materials_index/repository.rb:57:in `bulk_delete_materials' | |
/app/app/models/pressroom.rb:691:in `remove_materials_from_search_index' | |
/app/app/models/pressroom.rb:681:in `remove_from_search_index' | |
/app/app/models/pressroom.rb:675:in `update_search_index' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activesupport/lib/active_support/callbacks.rb:426:in `block in make_lambda' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activesupport/lib/active_support/callbacks.rb:261:in `block in conditional' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activesupport/lib/active_support/callbacks.rb:517:in `block in invoke_after' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activesupport/lib/active_support/callbacks.rb:517:in `each' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activesupport/lib/active_support/callbacks.rb:517:in `invoke_after' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activesupport/lib/active_support/callbacks.rb:133:in `run_callbacks' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activesupport/lib/active_support/callbacks.rb:816:in `_run_commit_callbacks' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activerecord/lib/active_record/transactions.rb:346:in `committed!' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb:128:in `commit_records' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb:223:in `block in commit_transaction' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb:213:in `commit_transaction' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb:252:in `block in within_new_transaction' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in `transaction' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activerecord/lib/active_record/transactions.rb:212:in `transaction' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activerecord/lib/active_record/associations/collection_association.rb:133:in `transaction' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activerecord/lib/active_record/associations/collection_association.rb:358:in `_create_record' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activerecord/lib/active_record/associations/has_many_association.rb:123:in `_create_record' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activerecord/lib/active_record/associations/association.rb:186:in `create!' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activerecord/lib/active_record/associations/collection_proxy.rb:366:in `create!' | |
/app/db/seed/generators.rb:17:in `block in generate_news' | |
/app/db/seed/generators.rb:16:in `times' | |
/app/db/seed/generators.rb:16:in `generate_news' | |
/app/lib/tasks/generator.rake:26:in `block (3 levels) in <main>' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activerecord/lib/active_record/relation/delegation.rb:41:in `each' | |
/app/vendor/bundle/ruby/2.5.0/bundler/gems/rails-ba701670623d/activerecord/lib/active_record/relation/delegation.rb:41:in `each' | |
/app/lib/tasks/generator.rake:21:in `block (2 levels) in <main>' | |
/app/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>' | |
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `load' | |
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `kernel_load' | |
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:27:in `run' | |
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli.rb:360:in `exec' | |
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' | |
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' | |
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' | |
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli.rb:20:in `dispatch' | |
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' | |
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli.rb:10:in `start' | |
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/exe/bundle:30:in `block in <top (required)>' | |
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' | |
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/exe/bundle:22:in `<top (required)>' | |
/app/bin/bundle:3:in `load' | |
/app/bin/bundle:3:in `<main>' | |
Tasks: TOP => generators:bunch_of_material | |
(See full trace by running task with --trace) | |
ERROR: Failed to setup postgresql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment