Hello,
I try to add an SMTP profile (no password) in the email settings.
If I turned the pipeline mode to TEST MODE. The messages shows [hostname=,port=25] THIS PROFILE IS RUNNING IN TEST MODE. The following email WOULD have been sent So seems the configuration is okay.
While I test the pipeline and notification profile, there is below error message.
Do you have any idea how to solve it
Thanks in advance
javax.mail.AuthenticationFailedException: failed to connect, no password specified?
at javax.mail.Service.connect(Service.java:398)
at javax.mail.Service.connect(Service.java:245)
at javax.mail.Service.connect(Service.java:194)
at javax.mail.Transport.send0(Transport.java:253)
at javax.mail.Transport.send(Transport.java:124)
at com.inductiveautomation.ignition.alarming.notification.email.EmailNotificationProfile$EmailTask.run(EmailNotificationProfile.java:665)
at com.inductiveautomation.ignition.alarming.notification.email.EmailNotificationProfile$2.run(EmailNotificationProfile.java:447)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
No, running in test mode implies nothing about your SMTP configuration being correct. No contact with the SMTP server is attempted.
What version of Ignition are you using? I think some versions had an issue with trying to use no password but it may also turn out that you actually need one.
This particular error message means that a connection to your configured SMTP server was not able to be made, and that it noticed you did not specify a password and is suggesting that might be the issue.
Thank you for the reply!
I just noticed that it’s because I wrongly set the username which leads this message.
Now seems no error from log.
Last question, is there any way that I could find(or configure) the log like" the notification has been sent to the receivers". Cuz I can not involve myself to the receivers list.
But for debug purpose I would like to see the positive log (like the one you have in the TEST MODE)
There’s nothing built in to do this, but you could set up auditing and check the audit log or insert a Script Block somewhere in the pipeline with your own logging statement in it.
I have activated the Audit for logging.
Now the problem I met is
I tested the pipeline and notification profile from gateway -> User A could receive it -> ok
I try to active the alarm
from the Stato/Diagbostics/Log -> email notification :no error logged
Infomation (pipeline) : Alarm pipeline started.
from Audit table -> email has been sent to User A with STATUS_CODE=192
but from the point 2, User A haven’t received any email.
If you have any idea where I might miss to check
Thanks
I just ran into a similar issue today on my 7.9.12 gateway.
Step 1: I define an SMTP profile for sending email with a user account without password
_ The profile test with the gateway HMI (config> Email settings> test) works correctly OK
_ If I define a password, there is an error ‘No authentication mechanisms supported by both server and client’ NOK
Step 2: I associate the previous SMTP profile with the alarm notification.
_ The pipeline returns an empty password error and there is no send
_ If I define a password, there is an error ‘No authentication mechanisms supported by both server and client’ NOK
It seems that the ‘email sending test’ function works differently than the sending of email by the alarm notification module.
Thanks
sorry to revive an old thread, but I couldnt find the answer so sharing here.
I had the same problem occuring where I had a working SMTP profile (no password) setup that I could send emails with, but it wouldnt work with the notification block in an alarm pipeline.
javax.mail.AuthenticationFailedException: failed to connect, no password specified?
I just put in a random password into the email settings of the profile and saved it, and that made it work.
Hello @r.lebohec
Seems you have met the error similar with the one I had before. In this case, might be your smtp server also does not require any auth? and you could try to empty both username and password section in SMTP configuration and then test alarming part?
For me, it works! Hope this info could be helpful.
I am running 8.1.37 vision
I am getting the no password found error. In the user config, it requires me to enter a password. Is this normal with the newer version?
Also, using a VOIP call, it errors on no voice found. Where do i find a voice?