I was setting up jira service desk in our organization server and configured it all. The connection tests were all fine. Then I created a project and for that project, I configured the email request. After filling all fields and saving and authorizing, I was prompted with an error.
We could not connect to your mail server, Something has gone wrong with your request. If symptoms persist contact your System Administrator. Check out our troubleshooting docs for help resolving the issue.
However, the connection to the mail server and its desired port was all fine.
Kindly help us resolve this issue.
Hello everyone, You can also try this;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @F1 System,
Welcome to the Atlassian community.
This depends on what is in the logs and what the specific error is when connecting to the mail server.
Some possibilities include a changed server name, an expired SSL certificate, a firewall change, it just cannot be stated without further information.
Thanks,
Moga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @mogavenasan
We have not changed server name, SSL certificate also hasn't expired and there is no change in firewall. I tried checking logs but there are not relevant log files where such incidents are recorded.
Is there any way to record logs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It should be in the atlassian-jira.log or atlassian-jira-incoming-mail.log. If you are not seeing anything in those log files, then you can enable DEBUG logging for the incoming mail as per this doc:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am getting following error. However, I'm able to login to the outlook with same credentials.
2021-02-16 17:44:18,757+0545 ERROR [] Caesium-1-4 ServiceRunner Messaging Error when MailPullerWorker pulls emails from csd@fonepay.com: Logon failure: unknown user name or bad password.
2021-02-16 17:44:46,715+0545 ERROR [] http-nio-8080-exec-16 fonepay 1064x166x1 mm7b9o 10.13.222.1,0:0:0:0:0:0:0:1 /rest/servicedesk/1/servicedesk/admin/email/test Unable to connect to the server at mail.f1soft.com due to the following exception:
javax.mail.AuthenticationFailedException: Logon failure: unknown user name or bad password.
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:193) [jakarta.mail-1.6.5-atlassian-2.jar:1.6.5-atlassian-2]
at javax.mail.Service.connect(Service.java:342) [jakarta.mail-1.6.5-atlassian-2.jar:1.6.5-atlassian-2]
at javax.mail.Service.connect(Service.java:222) [jakarta.mail-1.6.5-atlassian-2.jar:1.6.5-atlassian-2]
at javax.mail.Service.connect(Service.java:243) [jakarta.mail-1.6.5-atlassian-2.jar:1.6.5-atlassian-2]
at com.atlassian.jira.internal.mail.processor.feature.channel.connectionverifier.DefaultChannelConnectionVerifier.verifyConnectionDefinition(DefaultChannelConnectionVerifier.java:88) [?:?]
at com.atlassian.jira.internal.mail.processor.feature.channel.connectionverifier.DefaultChannelConnectionVerifier.verifyConnectionDefinition(DefaultChannelConnectionVerifier.java:68) [?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_275]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_275]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_275]
at java.lang.reflect.Method.invoke(Method.java:498) [?:1.8.0_275]
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) [spring-aop-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) [?:?]
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) [?:?]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) [spring-aop-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136) [spring-aop-5.1.18.RELEASE.jar:5.1.18.RELEASE]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just a guess from the outside - but I would probably change the password of the mail account (to one without special characters) and try again.
Assuming there are special characters in password maybe they are preventing authentication (for whatever exactly case...).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @F1 System,
Finally, we have something from the log files!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Daniel Ebers , I had used password with special characters while setting up the email request and it had worked. But when I'd changed the password of email account, and changed it in the email request as well, that error was notified.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @mogavenasan, the email account is in the domain, but I didn't find the configuration file where to include the information of email domain. Please provide me the path to the location of configuration file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The configuration is not in any files, it's on the UI. It's the same place where you configure the Incoming Mail server configuration.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@mogavenasan , When I use the same configuration in Incoming Mail configuration, the connection is fine, but when I use it in email request section of project, the error is seen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried changing the username on the Incoming Mail configuration to have the domain property and configure the email request?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What's the error in the log files?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Apologies, I mentioned the wrong configuration here. We should be focusing on the email channel only:
The username on this page should be updated. Are you getting the same result in this case? You will need to check with the Mail Server admin if the combination is the Emaill + Password or Username + Password.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I'd updated the username and password in this section. I can login with the credentials in mail server hosted in our organization but once I update the the password and save and authorize I am prompted with the error. Also the configuration is also not saved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @mogavenasan ,
I setup jira from scratch again and this time I can change the credentials with no issue. But this time, the email puller is pulling mails from mailbox but ticket is not being generated. Please suggest to fix this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What do you see under the Jira Administration > Applications > Jira Service Management - Email requests? You should be able to see the connectivity and the processing logs.
Once the email is processed, you will be able to see the processing log. A screenshot of this would be helpful to identify what's going on.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the information, I checked the processing log and it showed failure or rejected with details signup is not currently available. I changed the signup options for customer, and now email puller is pulling emails.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.