You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is no request for a certain amount of idle time for OpenSearch, an error occurs when a request is sent to Logstash afterward.
Attempted to send a bulk request but there are no living connections in the pool (perhaps OpenSearch is unreachable or down?) {:message=>"No Available connections", :exception=>LogStash::Outputs::OpenSearch::HttpClient::Pool::NoConnectionAvailableError, :will_retry_in_seconds=>16}
The OpenSearch server has no problem, and the requests are processed successfully as the connection is re-established during the retry process.
It seems that the stale connections in the connection pool are not being refreshed properly.
In this cases, is there a way to manage the connections in the connection pool to ensure they are always kept alive?
There is a validate_after_inactivity setting, but it doesn't seem to work as I want it to.
Would enabling sniffing help in this case?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi, Thanks for your reply.
It is not easy to reproduce this phenomenon.
in my case, this occurred when logstash was idle for a long time without any calls after connecting to OpenSearch.
You may be able to reproduce it by calling a few hours or a day later (This may vary depending on the environment)
If there is no request for a certain amount of idle time for OpenSearch, an error occurs when a request is sent to Logstash afterward.
The OpenSearch server has no problem, and the requests are processed successfully as the connection is re-established during the retry process.
It seems that the stale connections in the connection pool are not being refreshed properly.
In this cases, is there a way to manage the connections in the connection pool to ensure they are always kept alive?
There is a
validate_after_inactivity
setting, but it doesn't seem to work as I want it to.Would enabling sniffing help in this case?
Thanks in advance.
The text was updated successfully, but these errors were encountered: