I decided to try the server on a fresh Ubuntu 20.04 installation, and there the test email works perfectly!
The following message appears: Connection OK And nothing get logged in the server log. I can also see the message in the mail account. I then decided to install the server on a clean Windows 10 (2004) installation, and there I also get the same error: There was an unknown error performing the operation. Possible reason (Not Acceptable) So it looks like sending mail messages (to this mail server) is broken on Windows 10, but works on Ubuntu 20.04. I will file an issue on GitHub. - Jeroen On Thursday, 27 August 2020 at 17:05:20 UTC+2 Jeroen Oortwijn wrote: > Hello, > > I'm trying to set up the Email server on the GoCD server ( > http://localhost:8153/go/admin/config/server#!email-server), but I can't > get it to work. > > When I fill in all the details and click the Send Test Email button, after > a while the following message appears: > There was an unknown error performing the operation. Possible reason (Not > Acceptable) > > In the server log (go-server.log) appears the following: > 2020-08-27 16:51:18,460 ERROR [Thread-5048] GoSmtpMailSender:56 - Sending > failed for email [Go Email Notification] to [gocd@***.**] > javax.mail.MessagingException: Exception reading response > at > com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2460) > at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2187) > at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:740) > at javax.mail.Service.connect(Service.java:366) > at > com.thoughtworks.go.config.GoSmtpMailSender.send(GoSmtpMailSender.java:51) > at > com.thoughtworks.go.config.BackgroundMailSender.lambda$send$0(BackgroundMailSender.java:48) > at java.base/java.lang.Thread.run(Unknown Source) > Caused by: java.net.SocketTimeoutException: Read timed out > at java.base/sun.nio.ch.NioSocketImpl.timedRead(Unknown Source) > at java.base/sun.nio.ch.NioSocketImpl.implRead(Unknown Source) > at java.base/sun.nio.ch.NioSocketImpl.read(Unknown Source) > at java.base/sun.nio.ch.NioSocketImpl$1.read(Unknown Source) > at java.base/java.net.Socket$SocketInputStream.read(Unknown Source) > at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:126) > at java.base/java.io.BufferedInputStream.fill(Unknown Source) > at java.base/java.io.BufferedInputStream.read(Unknown Source) > at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:106) > at > com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2440) > ... 6 common frames omitted > > Above messages aren't really helpful in debugging the problem, so I want > to view the SMTP log, but couldn't find it. > Is there a way to enable the SMTP log and where is it then located? > > Kind regards, > > Jeroen Oortwijn > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/92c90e9f-4a42-450b-8f64-5f287dcd7d91n%40googlegroups.com.
