Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

UnknownHostException: smtp.gmail.com

Harold G January 29, 2018

Hi please you can help me to configuration of my email account in my jira server 7.70 thank you

 

Error show me

 

Unfortunately no connection was possible. Review the errors below and rectify:

  • UnknownHostException: smtp.gmail.com

error_jira2.jpg

  • error_jira.jpg

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 30, 2018

Hello!

Testing with my Gmail account, the following works:

  • SECURE_SMTP protocol with port 465 and TLS unchecked

  • SMTP protocol with port 587 and TLS checked

Another possibility is you may need to enable Less Secure Apps or create an App-Specific Password if you're using Two-Step Verification.

If the above fails, can you please have a look at your Jira Server Application Logs when you trigger the error and let me know what error messages you see? It'll let us know exactly what the problem is.

Regards,
Shannon

Harold G January 30, 2018

Hi Shannon I doit all this recomendation but I have the same problem please you can help me with another recomendation thank you for help me 

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 30, 2018

Hi,

I'm happy to, but we will need to see what errors appear in your Jira Server logs. Could you have a look at that and let me know? Then we will know what the actual problem is.

Regards,

Shannon

Harold G January 30, 2018

Hi Shannon please you can see this file in this link thank you very much.

Before have version 7.4 and I dont have this problem maybe the upgrade its the problem to 7.70

https://www.dropbox.com/s/y4205ya5tjrv0aw/catalina.out?dl=0

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 30, 2018

Hi there,

I'm testing this in Jira 7.7.0 so I don't believe it's a problem there.

The errors are saying that they're timing out and not able to connect to the host. Do you happen to be behind a firewall or proxy that doesn't allow connections to Gmail via either of those ports?

Could you try to connect to smtp.gmail.com on ports 465 or 587 via Telnet from the server? 

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events