davideuler / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

Issue with mail notifications. #622

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Email motifications works correctly during one or two days but it stop sending 
emails. 
After restart tomcat all the mails in the queue are sent. (If we restart tomcat 
before the mails are deleted from the queue) and continuous working for one or 
two days.

We set TRACE to log level, but we couln't find any information on the log that 
could help us to identify the issue. We only found one diference in logs entries

When the email works this the log entries are:

2014-11-05 10:09:30, DEBUG, util.Helper, token email added to send queue for 
XXXXXXXX@XXXXX.XXX
2014-11-05 10:09:31, TRACE, servlet.ResourceFileServlet, GET request for: 
/GestionCuenta/public/resources/nonce-i23bu8a5/flags/png/es.png (no params) 
2014-11-05 10:09:31, DEBUG, server.RestServerHelper, {2wo} REST WebService 
Request: GET request for: /GestionCuenta/public/rest/app-data/client (no 
params)  [X.X.X.X]
2014-11-05 10:09:35, DEBUG, queue.EmailQueueManager, successfully sent 
authenticated email: from: XXXXX@XXXXX.XXX, to: XXXXX@XXXXX.com, subject: 
XXXXXXXXXXX

As you can see in this log, the mail is stored in the queue and after that the 
email is sent.

When the email is not send the log entries are:

2014-11-05 11:29:13, DEBUG, util.Helper, token email added to send queue for 
XXXXXXXX@XXXX.XXX
2014-11-05 11:29:13, TRACE, servlet.ResourceFileServlet, GET request for: 
/GestionCuenta/public/resources/nonce-i23bu8a5/flags/png/es.png (no params) 
2014-11-05 11:29:14, DEBUG, server.RestServerHelper, {2vu} REST WebService 
Request: GET request for: /GestionCuenta/public/rest/app-data/client (no 
params)  [X.X.X.X]

As you can see the mail is added in the queue but never sent until we restart 
tomcat.

There are no error in the log or any relevant information between the last time 
a mail was sent and the first that fails.

What is the expected output? What do you see instead?

What version of PWM are you using?
1.7.0

What ldap directory and version are you using?
OpenLDAP

Please paste any error log messages below:

Original issue reported on code.google.com by bandd...@gmail.com on 5 Nov 2014 at 2:37

GoogleCodeExporter commented 9 years ago
Reopen if this occurs with a nightly build.

Original comment by jrivard on 19 Dec 2014 at 11:55