Skip to content
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

SSL peer shut down incorrectly #1061

Open
pabloandrei opened this issue Dec 22, 2021 · 1 comment
Open

SSL peer shut down incorrectly #1061

pabloandrei opened this issue Dec 22, 2021 · 1 comment
Labels

Comments

@pabloandrei
Copy link

Hi, I need help from this group.
I'm using plugins to perform an extraction in the Oracle database, this extraction should be sent to Elasticsearch.

Logstash is running locally, via docker.
Elasticsearch is on Azure via ECK.

I access all ECK features through Ingress, both Elastic and Kibana.

But in Logstash is giving the error below...
Log with ERROR:
logstash | [2021-12-22T18:12:11,238][WARN ][logstash.outputs.elasticsearch][main] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"https://elastic:xxxxxx@URL:80/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [https://elastic:xxxxxx@URL:80/][Manticore::ClientProtocolException] SSL peer shut down incorrectly"}

Anyone have any tips?

My topology:
ELK-2-Page-1 drawio

My pipeline output:

output {
    if "logstash-tempo-parado-total" in [tags] {
        elasticsearch {
            hosts => ["URL:80"]
            ssl => true
            ssl_certificate_verification => false
            user => "elastic"
            password => "????????"
            cacert => '/usr/share/logstash/etc/tls.crt'   
            index => "logstash-tempo-parado-total-%{+YYYY.MM}"            
        }
    }
}
  • Version: 7.7.0
  • Operating System: ubuntu on K8S (ECK)
  • Config File:
version: "3"
services:
    logstash:
        image: docker.elastic.co/logstash/logstash:7.7.0
        container_name: logstash
        hostname: logstash
        ports:
            - 9600:9600
            - 8089:8089
        volumes:
          - .\logstash:/usr/share/logstash/pipeline/
          - .\etc:/usr/share/logstash/etc/
        links:
            - elasticsearch:elasticsearch
        depends_on:
          - elasticsearch
        networks:
          - elknetwork

networks:
    elknetwork:
        driver: bridge

My Ingress config:
02

Accessing using brower:
01

@kares
Copy link
Contributor

kares commented Jan 19, 2022

SSL peer shut down incorrectly usually means the plugin can not talk to ES (via HTTP), due a TLS issue.
This is something you'll need to review, there isn't much we can do about the issue and isn't a bug in the output itself.

Logstash is running locally, via docker.
Elasticsearch is on Azure via ECK.

@kares kares added the invalid label Jan 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants