-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated reload_connections set false by default in in_opensearch.rb #140
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Oleh <[email protected]>
Signed-off-by: OlehPalanskyi <[email protected]> Signed-off-by: Oleh <[email protected]>
Signed-off-by: OlehPalanskyi <[email protected]> Signed-off-by: Oleh <[email protected]>
@@ -215,7 +215,7 @@ def reachable_host?(host) | |||
host: ["#{host[:scheme]}://#{host[:host]}:#{host[:port]}"], | |||
user: host[:user], | |||
password: host[:password], | |||
reload_connections: @reload_connections, | |||
# reload_connections: @reload_connections, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, could you describe why this line is commented out?
Would you mind if you revive this line?
@@ -343,14 +343,18 @@ def update_retry_state(error=nil) | |||
@retry = retry_state(@retry_randomize) | |||
end | |||
@retry.step | |||
if error.message.include?('EOFError (EOFError)') | |||
log.error("Restart plugin because hit error #{error.message}") | |||
exit(1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exit(1) caused entire termination. This is brutal manner for handling this exception. :(
Hi i getting this error in input when set parameter reload_connections true.
2024-05-31 23:49:44 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError){:id=>"GW1m2sPKhCIFjyBA", :name=>"server-004.local.host", :version=>"2.14.0", :host=>"10.23.42.24", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneA", "temp"=>"hot", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:49:44 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:49:44 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"a4fAWUWvlfpq_mjNhg", :name=>"server-005.local.host", :version=>"2.14.0", :host=>"10.23.42.25", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneB", "temp"=>"hot", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:49:44 +0000 [warn]: #0 failed to connect or search. retry_times=1 next_retry_time=2024-05-31 23:49:54 +0000 error="EOFError (EOFError)" 2024-05-31 23:49:54 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"OuVFdU5TM33F4zg", :name=>"server-026.local.host", :version=>"2.14.0", :host=>"10.23.42.34", :port=>"9200", :roles=>["ml"], :attributes=>{"zone"=>"zoneA", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:49:54 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:49:54 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"vscXqW6kZm94g3eQ", :name=>"server-011.local.host", :version=>"2.14.0", :host=>"10.23.42.32", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneB", "temp"=>"warm", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:49:54 +0000 [warn]: #0 failed to connect or search. retry_times=2 next_retry_time=2024-05-31 23:50:04 +0000 error="EOFError (EOFError)" 2024-05-31 23:50:04 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"YV-qlybhxP71PuZXA", :name=>"server-006.local.host", :version=>"2.14.0", :host=>"10.23.42.26", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneA", "temp"=>"warm", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:50:04 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:50:04 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"Cz9S2ORP9D8ty5jaw", :name=>"server-008.local.host", :version=>"2.14.0", :host=>"10.23.42.38", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneA", "temp"=>"warm", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:50:04 +0000 [warn]: #0 failed to connect or search. retry_times=3 next_retry_time=2024-05-31 23:50:15 +0000 error="EOFError (EOFError)" 2024-05-31 23:50:14 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"OC4DnWJWj2phJPoSw", :name=>"server-029.local.host", :version=>"2.14.0", :host=>"10.23.42.29", :port=>"9200", :roles=>["cluster_manager"], :attributes=>{"shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:50:14 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:50:14 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"93Tq6rhuTEfuquGw", :name=>"server-002.local.host", :version=>"2.14.0", :host=>"10.23.42.22", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneA", "temp"=>"hot", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:50:14 +0000 [warn]: #0 failed to connect or search. retry_times=4 next_retry_time=2024-05-31 23:50:25 +0000 error="EOFError (EOFError)" 2024-05-31 23:50:24 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"LvqjYJ-kdwkUIvEA", :name=>"server-003.local.host", :version=>"2.14.0", :host=>"10.23.42.23", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneB", "temp"=>"hot", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:50:24 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:50:24 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"WVzQ44f4NBysOuA", :name=>"server-009.local.host", :version=>"2.14.0", :host=>"10.23.42.39", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneB", "temp"=>"warm", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:50:24 +0000 [warn]: #0 failed to connect or search. retry_times=5 next_retry_time=2024-05-31 23:50:35 +0000 error="EOFError (EOFError)" 2024-05-31 23:50:35 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"GDjAmQlqkKwDGcWA", :name=>"server-027.local.host", :version=>"2.14.0", :host=>"10.23.42.27", :port=>"9200", :roles=>["cluster_manager"], :attributes=>{"shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:50:35 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:50:35 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"-lyPzKZwfw3Ly2uiQ", :name=>"server-010.local.host", :version=>"2.14.0", :host=>"10.23.42.31", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneA", "temp"=>"warm", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:50:35 +0000 [warn]: #0 failed to connect or search. retry_times=6 next_retry_time=2024-05-31 23:50:45 +0000 error="EOFError (EOFError)" 2024-05-31 23:50:45 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"hSRj6ZpeT7CY8OfQ", :name=>"server-028.local.host", :version=>"2.14.0", :host=>"10.23.42.28", :port=>"9200", :roles=>["cluster_manager"], :attributes=>{"shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:50:45 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:50:45 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"aTlvKHkswC2dRc4Q", :name=>"server-025.local.host", :version=>"2.14.0", :host=>"10.23.42.33", :port=>"9200", :roles=>["ml"], :attributes=>{"zone"=>"zoneB", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:50:45 +0000 [warn]: #0 failed to connect or search. retry_times=7 next_retry_time=2024-05-31 23:50:55 +0000 error="EOFError (EOFError)" 2024-05-31 23:50:55 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"W3UbOaA6QK-02rO0D20NdQ", :name=>"server-007.local.host", :version=>"2.14.0", :host=>"10.23.42.37", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneB", "temp"=>"warm", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:50:55 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:50:55 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"93Tq6rhuTEfuquGw", :name=>"server-002.local.host", :version=>"2.14.0", :host=>"10.23.42.22", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneA", "temp"=>"hot", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:50:55 +0000 [warn]: #0 failed to connect or search. retry_times=8 next_retry_time=2024-05-31 23:51:05 +0000 error="EOFError (EOFError)" 2024-05-31 23:51:05 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"GW1m2sPKhCIFjyBA", :name=>"server-004.local.host", :version=>"2.14.0", :host=>"10.23.42.24", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneA", "temp"=>"hot", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:51:05 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:51:05 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"-lyPzKZwfw3Ly2uiQ", :name=>"server-010.local.host", :version=>"2.14.0", :host=>"10.23.42.31", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneA", "temp"=>"warm", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:51:05 +0000 [warn]: #0 failed to connect or search. retry_times=9 next_retry_time=2024-05-31 23:51:16 +0000 error="EOFError (EOFError)" 2024-05-31 23:51:15 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"a4fAWUWvlfpq_mjNhg", :name=>"server-005.local.host", :version=>"2.14.0", :host=>"10.23.42.25", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneB", "temp"=>"hot", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:51:15 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:51:15 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"LvqjYJ-kdwkUIvEA", :name=>"server-003.local.host", :version=>"2.14.0", :host=>"10.23.42.23", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneB", "temp"=>"hot", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:51:15 +0000 [warn]: #0 failed to connect or search. retry_times=10 next_retry_time=2024-05-31 23:51:26 +0000 error="EOFError (EOFError)" 2024-05-31 23:51:25 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"OuVFdU5TM33F4zg", :name=>"server-026.local.host", :version=>"2.14.0", :host=>"10.23.42.34", :port=>"9200", :roles=>["ml"], :attributes=>{"zone"=>"zoneA", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:51:25 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:51:25 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"aTlvKHkswC2dRc4Q", :name=>"server-025.local.host", :version=>"2.14.0", :host=>"10.23.42.33", :port=>"9200", :roles=>["ml"], :attributes=>{"zone"=>"zoneB", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:51:25 +0000 [warn]: #0 failed to connect or search. retry_times=11 next_retry_time=2024-05-31 23:51:36 +0000 error="EOFError (EOFError)" 2024-05-31 23:51:36 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"vscXqW6kZm94g3eQ", :name=>"server-011.local.host", :version=>"2.14.0", :host=>"10.23.42.32", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneB", "temp"=>"warm", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:51:36 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:51:36 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"WVzQ44f4NBysOuA", :name=>"server-009.local.host", :version=>"2.14.0", :host=>"10.23.42.39", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneB", "temp"=>"warm", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:51:36 +0000 [warn]: #0 failed to connect or search. retry_times=12 next_retry_time=2024-05-31 23:51:46 +0000 error="EOFError (EOFError)" 2024-05-31 23:51:46 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"YV-qlybhxP71PuZXA", :name=>"server-006.local.host", :version=>"2.14.0", :host=>"10.23.42.26", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneA", "temp"=>"warm", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:51:46 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:51:46 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"hSRj6ZpeT7CY8OfQ", :name=>"server-028.local.host", :version=>"2.14.0", :host=>"10.23.42.28", :port=>"9200", :roles=>["cluster_manager"], :attributes=>{"shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:51:46 +0000 [warn]: #0 failed to connect or search. retry_times=13 next_retry_time=2024-05-31 23:51:56 +0000 error="EOFError (EOFError)" 2024-05-31 23:51:56 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"Cz9S2ORP9D8ty5jaw", :name=>"server-008.local.host", :version=>"2.14.0", :host=>"10.23.42.38", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneA", "temp"=>"warm", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:51:56 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:51:56 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"GDjAmQlqkKwDGcWA", :name=>"server-027.local.host", :version=>"2.14.0", :host=>"10.23.42.27", :port=>"9200", :roles=>["cluster_manager"], :attributes=>{"shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:51:56 +0000 [warn]: #0 failed to connect or search. retry_times=14 next_retry_time=2024-05-31 23:52:06 +0000 error="EOFError (EOFError)" 2024-05-31 23:52:06 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"OC4DnWJWj2phJPoSw", :name=>"server-029.local.host", :version=>"2.14.0", :host=>"10.23.42.29", :port=>"9200", :roles=>["cluster_manager"], :attributes=>{"shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:52:06 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:52:06 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"W3UbOaA6QK-02rO0D20NdQ", :name=>"server-007.local.host", :version=>"2.14.0", :host=>"10.23.42.37", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneB", "temp"=>"warm", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:52:06 +0000 [warn]: #0 failed to connect or search. retry_times=15 next_retry_time=2024-05-31 23:52:17 +0000 error="EOFError (EOFError)" 2024-05-31 23:52:16 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"93Tq6rhuTEfuquGw", :name=>"server-002.local.host", :version=>"2.14.0", :host=>"10.23.42.22", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneA", "temp"=>"hot", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:52:16 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:52:16 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"GW1m2sPKhCIFjyBA", :name=>"server-004.local.host", :version=>"2.14.0", :host=>"10.23.42.24", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneA", "temp"=>"hot", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:52:16 +0000 [warn]: #0 failed to connect or search. retry_times=16 next_retry_time=2024-05-31 23:52:27 +0000 error="EOFError (EOFError)" 2024-05-31 23:52:26 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"-lyPzKZwfw3Ly2uiQ", :name=>"server-010.local.host", :version=>"2.14.0", :host=>"10.23.42.31", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneA", "temp"=>"warm", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:52:26 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:52:26 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"a4fAWUWvlfpq_mjNhg", :name=>"server-005.local.host", :version=>"2.14.0", :host=>"10.23.42.25", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneB", "temp"=>"hot", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:52:26 +0000 [warn]: #0 failed to connect or search. retry_times=17 next_retry_time=2024-05-31 23:52:37 +0000 error="EOFError (EOFError)" 2024-05-31 23:52:37 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"LvqjYJ-kdwkUIvEA", :name=>"server-003.local.host", :version=>"2.14.0", :host=>"10.23.42.23", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneB", "temp"=>"hot", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:52:37 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:52:37 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"OuVFdU5TM33F4zg", :name=>"server-026.local.host", :version=>"2.14.0", :host=>"10.23.42.34", :port=>"9200", :roles=>["ml"], :attributes=>{"zone"=>"zoneA", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:52:37 +0000 [warn]: #0 failed to connect or search. retry_times=18 next_retry_time=2024-05-31 23:52:47 +0000 error="EOFError (EOFError)" 2024-05-31 23:52:47 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"aTlvKHkswC2dRc4Q", :name=>"server-025.local.host", :version=>"2.14.0", :host=>"10.23.42.33", :port=>"9200", :roles=>["ml"], :attributes=>{"zone"=>"zoneB", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:52:47 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:52:47 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"vscXqW6kZm94g3eQ", :name=>"server-011.local.host", :version=>"2.14.0", :host=>"10.23.42.32", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneB", "temp"=>"warm", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:52:47 +0000 [warn]: #0 failed to connect or search. retry_times=19 next_retry_time=2024-05-31 23:52:57 +0000 error="EOFError (EOFError)" 2024-05-31 23:52:57 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"WVzQ44f4NBysOuA", :name=>"server-009.local.host", :version=>"2.14.0", :host=>"10.23.42.39", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneB", "temp"=>"warm", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:52:57 +0000 [warn]: #0 [Faraday::ConnectionFailed] Reloading connections (attempt 1 of 15) 2024-05-31 23:52:57 +0000 [error]: #0 [Faraday::ConnectionFailed] EOFError (EOFError) {:id=>"YV-qlybhxP71PuZXA", :name=>"server-006.local.host", :version=>"2.14.0", :host=>"10.23.42.26", :port=>"9200", :roles=>["data", "ingest"], :attributes=>{"zone"=>"zoneA", "temp"=>"warm", "shard_indexing_pressure_enabled"=>"true"}, :protocol=>"http", :user=>"test_user", :password=><REDACTED>} 2024-05-31 23:52:57 +0000 [error]: #0 Hit limit for retries. retry_times: 20, EOFError (EOFError)
But I found if we set parameter reload_connections false we stop getting this error.
This way I set this parameter reload_connections false by default in code.