Issue about Incoming Mail handler setup in Jira. error is 'SocketTimeoutException: connect timed out'


I want to set Incoming mail handler in jira. When i try to do so using ( as hostname and username password same as of jira app, getting error as  "Unfortunately no connection was possible. SocketTimeoutException: connect timed out". 

Pinging the host name works fine.

Do we have to set any other parameter in Jira?


struggling on this issue from long time..please help..


2 answers

0 vote

You need to debug the network connection between JIRA and the mail server, or the mail server.  A timeout usually means that JIRA can see the mail server (confirmed with a ping test), but that when it tries to log in, the mail server does not respond - that can be down to the traffic being blocked on the network, or the mail server is not running, or accepting requests from your machine/network.

Thanks Nic..does it means that i have to check my mailbox seeting? is it related to Mapy setting of outlook mailbox? or any other setting to be enable?


Yes, it probably is something on the mail server. Are you using POP3 or IMAP?

I have very limited knowledge of mail server. Not sure how to chcek about traffice on network. I tried with all options of POP and IMAP (sercure_POP, secure_IMAP) and get the same exception. Do i need to use any specific?

Sorry, I've just noticed you said Mapy and Outlook. I'm assuming you mean Mapi and you're using Exchange as the mail server. MAPI is a closed, proprietary protocol that Jira does not support because it would cost far too much. More recent versions of Exchange turn off support for the (much better) IMAP protocol by default and you need to get that enabled in order to connect to JIRA (actually, I'd use IMAP over SSL myself, but SSL is a default for mee)

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,321 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot