Keep getting error when set watcher email action, elastic 7.5.1 on docker

Hi, I have three master nodes of elastic 7.5.1 running on docker, in each elasticsearch.yml, I have added this conf

xpack.notification.email.account:
    outlook_account:
        profile: outlook
        smtp:
            auth: true
            starttls.enable: true
            host: smtp.office365.com
            port: 587
            user: my@mail.com

inside each container of those three nodes I have set the password with this command

bin/elasticsearch-keystore add xpack.notification.email.account.outlook_account.smtp.secure_password

I've tried to set the watcher on kibana interface, but get this error:

Caused by: javax.mail.AuthenticationFailedException: failed to connect, no password specified?

Then I tried via dev tools adding the key/value from, because in another post someone make it work addin "from"

    "actions": {
        "email_1": {
            "email": {
                "profile": "standard",
                "from": "my@mail.com",
                "to": [
                    "other@gmail.com"
                ],
                "subject": "Watch [{{ctx.metadata.name}}] has exceeded the threshold",
                "body": {
                    "text": "sadasd"
                }
            }
        }
    }

Any ideas on what is happening?
do I need to change some configuration on the office336 mail acount?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.