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

ERROR {io.siddhi.core.stream.output.sink.Sink} - Error on 'APIM_ALERT_EMAIL_NOTIFICATION' #74

Open
Ritubansal123 opened this issue Feb 26, 2020 · 2 comments

Comments

@Ritubansal123
Copy link

While running WSO2 gateway sending the mail below error is coming

ERROR {io.siddhi.core.stream.output.sink.Sink} - Error on 'APIM_ALERT_EMAIL_NOTIFICATION'. Error is encountered while connecting to the smtp server.Error is encountered while creating the connection using the session.Couldn't connect to host, port: smtp.gmail.com, 465; timeout -1, error while connecting at Sink 'email' at 'EmailNotificationStream', will retry in '30 sec'. io.siddhi.core.exception.ConnectionUnavailableException: Error is encountered while connecting to the smtp server.

@pcnfernando
Copy link
Contributor

As the error log suggests, the Email sink fails to connect to the SMTP server using the provided configurations. Check whether the server configurations are valid. Furthermore, if you are trying out gmail, you might need to enable less secure apps configuration in gmail

@pcnfernando
Copy link
Contributor

Furthermore, this issue needs to be moved to siddhi-io-email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants