After upgrading, Bamboo stop sending emails and throws 'Unknown encrypted data format' exception

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

問題

After upgrading, Bamboo stops sending email notifications.

atlassian-bamboo.log に次のメッセージが出力される。

2017-05-09 08:11:10,903 WARN [mail-queue-processor-pool-15-thread-1] [EmailService] Uncaught exception while processing mail queue
java.lang.IllegalArgumentException: Unknown encrypted data format: [xxxxxxx]
at com.atlassian.bamboo.crypto.instance.SecretEncryptionServiceInternalImpl$ArmoredString.from(SecretEncryptionServiceInternalImpl.java:78)
at com.atlassian.bamboo.crypto.instance.SecretEncryptionServiceInternalImpl.decrypt(SecretEncryptionServiceInternalImpl.java:123)
at sun.reflect.GeneratedMethodAccessor303.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy228.decrypt(Unknown Source)
at com.atlassian.bamboo.crypto.instance.SecretEncryptionServiceImpl.decrypt(SecretEncryptionServiceImpl.java:24)
at com.atlassian.bamboo.mail.SMTPMailServerWithEncryptedPassword$EncryptedPasswordAuthenticator.getUnencryptedPassword(SMTPMailServerWithEncryptedPassword.java:54)
at com.atlassian.bamboo.mail.SMTPMailServerWithEncryptedPassword$EncryptedPasswordAuthenticator.getPasswordAuthentication(SMTPMailServerWithEncryptedPassword.java:45)
at javax.mail.Authenticator.requestPasswordAuthentication(Authenticator.java:114)
at javax.mail.Session.requestPasswordAuthentication(Session.java:881)
at javax.mail.Service.connect(Service.java:377)
at javax.mail.Service.connect(Service.java:245)
at javax.mail.Service.connect(Service.java:194)
at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:185)
at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:162)
at com.atlassian.bamboo.mail.EmailService.sendEmailSynchronously(EmailService.java:138)
at com.atlassian.bamboo.mail.EmailService$MailQueueProcessor.run(EmailService.java:83)
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:748)

原因

Bamboo is unable to process the existing passwords for the mail server.

ソリューション

  1. Make note of the existing mail server settings.
  2. Remove the existing mail server settings and save.
  3. Reconfigure the mail server settings with the previous settings and save.

 

最終更新日 2017 年 5 月 12 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.