Mail Handler throws an error when testing

Volodymyr January 14, 2022

Hi everyone, hope you're doing great.
Maybe someone can help me with such a problem I faced for the first time. Does anyone know an answer or tips to solve it?

When creating a Mail server, everything works correctly - a test confirms It.test_mail_server.png


When creating a Mail Handler during the test, an error appears:test_mail_handler.png

Messaging Exception in service 'com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl' when getting mail: Open failedjavax.mail.MessagingException: Open failed
The connection is no longer open, messages marked as deleted will not be purged from the remote server: outlook.office365.com until the next run.

I've checked others mail handlers and all are working fine so far. I checked with other settings and nothing has changed (e.g., another handler, default reporter).

Every time the logs show this error:
Jira-Incoming-email:
2022-01-14 09:51:40,592+0000 WARN [email_to_issue_133] http-nio-8080-exec-1744 Volodymyr_Kushnir 591x69346001x11 qyrwji 195.56.119.209,10.253.226.137,10.253.237.52 /rest/jira-mail-plugin/1.0/message-handlers/test Unknown execution id. This is probably a test run.

attlasian-jira-logs:
2022-01-14 11:20:51,623+0000 http-nio-8080-exec-1603 WARN Volodymyr_Kushnir 680x69685184x14 qyrwji 195.56.119.209,10.253.226.132,10.253.237.52 /secure/admin/IncomingMailServers.jspa [c.a.j.p.mail.webwork.ViewMailServers] Cannot find mail server with id 12601
2022-01-14 11:20:51,642+0000 http-nio-8080-exec-1603 WARN Volodymyr_Kushnir 680x69685184x14 qyrwji 195.56.119.209,10.253.226.132,10.253.237.52 /secure/admin/IncomingMailServers.jspa [c.a.j.p.mail.webwork.ViewMailServers] Cannot find mail server with id 11500
2022-01-14 11:20:51,713+0000 http-nio-8080-exec-1603 WARN Volodymyr_Kushnir 680x69685184x14 qyrwji 195.56.119.209,10.253.226.132,10.253.237.52 /secure/admin/IncomingMailServers.jspa [c.a.j.p.mail.webwork.ViewMailServers] Cannot find mail server with id 12300
2022-01-14 11:20:51,730+0000 http-nio-8080-exec-1603 WARN Volodymyr_Kushnir 680x69685184x14 qyrwji 195.56.119.209,10.253.226.132,10.253.237.52 /secure/admin/IncomingMailServers.jspa [c.a.j.p.mail.webwork.ViewMailServers] Cannot find mail server with id 12100
2022-01-14 11:20:51,752+0000 http-nio-8080-exec-1603 WARN Volodymyr_Kushnir 680x69685184x14 qyrwji 195.56.119.209,10.253.226.132,10.253.237.52 /secure/admin/IncomingMailServers.jspa [c.a.j.p.mail.webwork.ViewMailServers] Cannot find mail server with id 12600
2022-01-14 11:20:51,769+0000 http-nio-8080-exec-1603 WARN Volodymyr_Kushnir 680x69685184x14 qyrwji 195.56.119.209,10.253.226.132,10.253.237.52 /secure/admin/IncomingMailServers.jspa [c.a.j.p.mail.webwork.ViewMailServers] Cannot find mail server with id 10700

3 answers

1 accepted

0 votes
Answer accepted
Volodymyr January 21, 2022

It turned out that the license of the Office365 of the auto-user has expired. The errors are caused by the fact that the auto-user has lost the ability to have email folders.

0 votes
Prachi Bolar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 18, 2024
0 votes
tupakulapraveenkumar March 24, 2023

Hello,

 

There is a chance with IMAP authentication in office 365,

if IMAP authentication stopped then also you will get this error,

 

Thanks,

Suggest an answer

Log in or Sign up to answer