I'm setting up the Jira Software using the docker and everything work just fine until I try to configure the SMTP mail server. I check on my configuration detail is correct but still having the error of
Unfortunately no connection was possible. Review the errors below and rectify:
I would suggest - build another container with SMTP Server, connect jira container and smtp container under a network.
use the same mail configuration and check if smtp and jira containers talk to each other.
I using the docker images which i found at https://hub.docker.com/r/cptactionhank/atlassian-jira/
When I try to access into the docker, it's only using the deamon user, where I can't telnet or do any root access task. Is that something miss configuration on the docker image it self?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your docker container network and your mail server network - they should be able to able to reach each other.
Here it looks like a network issue - your container network and mail server network have restrictions and cannot communicate , check that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jira can'T communicate with the SMTP mail server.
I check on my configuration detail is correct.... i dont think so :)
Check theconfiguration again, consider proxies/basic networking stuff/etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @David Cheong,
have tried to manually connect to the mail server from the Jira software server? Is it at all available?
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Again, log on the Jira server and try a
telnet <mailserver> <port>
I it reachable? Also a timeout?
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @David Cheong,
if you want to find the reason, you have to login via SSH on your Jira server. There you can do the telnet. Eventually, the route is blocked from this host. But you have to check it out, before you you continue.
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I not able to install the telnet command in the Docker container
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @David Cheong,
you need to find a way to get on this machine for troubleshooting. Otherwise it will get really hard to help you.
Can you post the exception found in the log file?
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The following is the log that I found in the server
bash-4.4$ cat atlassian-jira.log | grep smtp
2018-02-12 09:04:47,447 http-nio-8080-exec-16 ERROR david 544x8970x1 1rc8xwx 192.168.75.30 /secure/admin/VerifySmtpServerConnection!update.jspa [c.a.j.p.mail.webwork.VerifyMailServer] Unable to connect to the server at sm
tp.gmail.com due to the following exception: java.net.SocketTimeoutException: Read timed out
2018-02-12 09:05:41,216 http-nio-8080-exec-7 ERROR david 545x8978x1 1rc8xwx 192.168.75.30 /secure/admin/VerifySmtpServerConnection!update.jspa [c.a.j.p.mail.webwork.VerifyMailServer] Unable to connect to the server at smt
p.gmail.com due to the following exception: java.net.SocketTimeoutException: Read timed out
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yup - Jira cannot reach the server. The name will get resolved, but the response of the mail server is not received within the timeout.
Seems, that you looged in on the server. Can you telnet <mail_server> <port>?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.