Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Facing an issue in elasticsearch container logs for alerting is Could not convert socket to TLS, statuscode: 1 #394

@Kanmanir

Description

@Kanmanir

Facing an issue in elasticsearch container logs for alerting is Could not convert socket to TLS, statuscode: 1

Alerting plugin version Iam using is 1.13.1.0. and our elasticsearch as 4 nodes coordinating node, master node, node1 and node2.

Steps i followed is:

 1) Created an email destination with smtp host as smtp.XXX.com, port as 587 , security TLS.

 2) Configured the sender details in elasticsearch-keystore file as [email protected] and password as XXX.

 3) Reloaded the security settings API in dev tool of kibana using as follows
     POST _nodes/reload_secure_settings
     Response of the above API is:
          {
              “_nodes” : {
                      “total” : 4,
                      “successful” : 4,
                      “failed” : 0
                       },
              “cluster_name” : “odfe-cluster”,
               “nodes” : {
                              “1234” : {
                                   “name” : “odfe-cn”
                              },
                             “5678” : {
                                 “name” : “odfe-master”
                             },
                             “12ED” : {
                                   “name” : “odfe-node1”
                              },
                             “A123D” : {
                                   “name” : “odfe-node2”
                              }
               }
        }

 4) Created monitor , trigger and tried to send a test mail from action faced the above error in elasticsearch docker container log.

   [2021-11-29T13:32:36,803][INFO ][c.a.o.a.m.d.Destination ] [odfe-cn] Message published for action name: XXXX, messageid: Could not convert socket to TLS, statuscode: 1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions