Skip to content

Fixed SSL handshake hang indefinitely with proxy setup #1032

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

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 11.0.3
- Fixed SSL handshake hang indefinitely with proxy setup [#1032](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1032)

## 11.0.2
- Validate that required functionality in Elasticsearch is available upon initial connection [#1015](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1015)

Expand Down
4 changes: 2 additions & 2 deletions logstash-output-elasticsearch.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'logstash-output-elasticsearch'
s.version = '11.0.2'
s.version = '11.0.3'

s.licenses = ['apache-2.0']
s.summary = "Stores logs in Elasticsearch"
Expand All @@ -21,7 +21,7 @@ Gem::Specification.new do |s|
# Special flag to let us know this is actually a logstash plugin
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }

s.add_runtime_dependency "manticore", '>= 0.5.4', '< 1.0.0'
s.add_runtime_dependency "manticore", '>= 0.7.1', '< 1.0.0'
s.add_runtime_dependency 'stud', ['>= 0.0.17', '~> 0.0']
s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
s.add_runtime_dependency 'logstash-mixin-ecs_compatibility_support', '~>1.0'
Expand Down
4 changes: 3 additions & 1 deletion spec/es_spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ def get_host_port
end

def get_client
Elasticsearch::Client.new(:hosts => [get_host_port])
Elasticsearch::Client.new(:hosts => [get_host_port]).tap do |client|
allow(client).to receive(:verify_elasticsearch).and_return(true) # bypass client side version checking
end
end

def doc_type
Expand Down