bibbox / app-openspecimen

BIBBOX openspecimen application
8 stars 4 forks source link

Docker container can't send Email. #15

Open Kris33 opened 1 year ago

Kris33 commented 1 year ago

As said in title.

Error message is :

Unable to send email. Verify your email server settings. For details, refer to the error (Mail server connection failed; nested exception is com.sun.mail.util.MailConnectException: Couldn't connect to host, port: mymailserver.com, 587; timeout 10000;\n nested exception is:\n\tjava.net.NoRouteToHostException: No route to host (Host unreachable). Failed messages: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: mymailserver.com, 587; timeout 10000;\n nested exception is:\n\tjava.net.NoRouteToHostException: No route to host (Host unreachable)) stack trace in os.log file."

Other than that lims works well no other issue.

Kris33 commented 1 year ago

Host is almalinux . I attempted disabling selinux and firewalld but to no avail. container doesn't seem to have network tools installed to debug the issue. although in openspeciment I tried using mailserver FQDN, mailserver IP and port 25, 465,587 with startls enabled or disabled.

todiap commented 1 month ago

have you found any solution? i have the same problem. ubuntu 20