Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

FishEye/Crucible e-mail test failing

Edited

I have installed a FishEye/Crucible instance in AWS, running on Amazon Linux, with a Postgres database.  I also have Jira and Confluence servers in this same environment, and their e-mail (with these same parameters) works with no problems.

The FE/C version is Version:4.5.3 Build:20180321104931 2018-03-21

The e-mail settings look like this:

SMTP host name: email-smtp.us-east-1.amazonaws.com
SMTP port: 465
Use SSL/TLS: True
Username: xxxxxxxxxxxxxxxxxxxxxxxxxx
Password: zzzzzzzzzzzzzzzzzzzzzzzz
Connection timeout: 30
Timeout: 30

If I have no timeouts, the system will spin until I get a timeout page from Nginx (which is my reverse proxy server).  With the timeouts set to 30 (as shown above), and logging enabled, I get this trace:

Starting mail system...
mail.smtp.host = email-smtp.us-east-1.amazonaws.com
mail.smtp.starttls.enable = true
mail.smtp.port = 465
mail.from = crucible@mycompany.com
mail.smtp.connectiontimeout = 30000
mail.smtp.timeout = 30000
mail.smtp.auth = true
username = xxxxxxxxxxxxxxxxxxxx
password = *******
Mail system started.
Using from address: 'crucible@mycompany.com'
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "email-smtp.us-east-1.amazonaws.com", port 465, isSSL false
DEBUG SMTP: exception reading response: java.net.SocketTimeoutException: Read timed out
problem sending email
Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)

Note that it shows "isSSL False", even with the "Use SSL/TLS" parameter set to "True".  I think this is the cause of the failure, because AWS SES e-mail requires secure SMTP, but I don't know how to fix it.  It appears that the value I'm setting with the radio button is being ignored.

1 answer

1 accepted

0 votes
Answer accepted

Hi @David Rosenfeld,

It looks like you may be running into this known issue:

- FE-3912Fisheye mail doesn't work with SMTPS

 

The bug report above also contains a workaround that you could try.

 

Cheers,

Caterina - Atlassian

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

483 views 16 17
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you