Unable to configure my SMTP email

J4N May 10, 2016

Hi,

I've installed JIRA on my windows computer(Running as service), and when I configure the SMTP domain, I got this message:

Unfortunately no connection was possible. Review the errors below and rectify:
SocketTimeoutException: Read timed out

But, if I do a telnet USED_MAIL_HOSTNAME 25 I get answer directly, so what could make that the tomcat/java is unable to connect?

Previously, I was having a SocketException, due to JIRA using IPV6 to connect to the server. This is no longer the case after the manipulation indicated here:https://confluence.atlassian.com/jirakb/error-socketexception-network-is-unreachable-connect-when-setting-outgoing-smtp-mail-server-in-jira-780865909.html 

1 answer

0 votes
Andre Lehmann
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 10, 2016

What about the setenv.bat? Did you set a proxy?

J4N May 10, 2016

No, I didn't change anything, I thought that if my computer was able to do a telnet, java running on the same computer should also be able to do it?

Andre Lehmann
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 10, 2016

Can you try setting a proxy (if you use a proxy)?

https://confluence.atlassian.com/jira/setting-properties-and-options-on-startup-120007.html

 

JIRA is starting in an own environment (JVM) so it has own settings. Hope that helps.

J4N May 12, 2016

I've no proxy set in internet explorer or chrome, so if there is one in the company, I have to admit that I don't know it

Suggest an answer

Log in or Sign up to answer