AWS Thinkbox Discussion Forums

SMTP reporting / GMail (RC1)

It seems to be impossible to get this running with GMail. Enabling SSL and setting port 465, and then attempting to send a test mail to myself, Deadline Monitor simply hangs and produces no output in the reporting section of this dialog. Using port 587, though, I get a chunk of output that the decryption has failed (presumably because it’s the wrong port for using SSL). So, two issues :

  • following the instructions from GMail, it’s impossible to get Deadline to talk to GMail right now with SSL and port 465
  • the test mail routine hangs, for some reason, with no output and no recovery method other than force-killing the monitor process.

It would be helpful to have at least some information in the output pane so that an attempt to understand the issue could be made :frowning:

Searching the forum, it looks like these issues go back to at least Deadline 4.1…

We’ve seen clients have success with gmail accounts before, and from looking at past tickets, using port 587 was necessary. Can you post the full decryption error message you are getting?

The only information we can pass on is the information we get back from the server. If it hangs, then there is no information to get back. We could maybe look at threading this and imposing a timeout, and then report that no response was received, but that’s all we can really do.

Cheers,

  • Ryan

With 587 / SSL :

Attempting to send test email... Error occurred while trying to send email: System.Net.Mail.SmtpException - Message could not be sent. System.IO.IOException - The authentication or decryption has failed. System.InvalidOperationException - SSL authentication error: RemoteCertificateNotAvailable, RemoteCertificateChainErrors

Turns out this is likely specific to Mono, but you can allow Mono to use SSL with SMTP by following these steps:
mono-project.com/FAQ:_Securi … GMail.3F

I’m guessing you’ll have to run this on each of your nodes. You should just have to run the command without the --machine argument.

If this works, let us know! It will definitely be useful to add this to our email notification documentation!

Cheers,

  • Ryan

Sadly, that doesn’t seem to help here. Also, running those commands on an active node causes the DL slave process to terminate, leaving the render process running untracked.

After debugging this issue all morning (because we can reproduce it on our Mac), it turns out the inclusion of the Npgsql.dll reference that we use to store statistics in a database is the source of the problem. If we remove this reference, Deadline sends the emails just fine. I have absolutely no idea at this point why this happens. I’ve logged this as a bug, and hopefully at some point we can figure out how to workaround it.

Cheers,

  • Ryan

Did this get poked for 5.2? I confess that I’ve not yet had time to revisit this…

I added one line of code to our internal build to deal with certificate requests, and now it seems like I can send emails using gmail and ssl from osx without issue. The only thing that stood out to me was that I had to use port 587 instead of 465, but other than that, everything worked as expected.

This will be included in RC2.

Thanks for digging this one up!

Cheers,

  • Ryan

It’s a very late reply because I’ve been swamped. I wanted to let you know that this is working nicely here under OS X. Thanks!

Awesome! Thanks for confirming.

Privacy | Site terms | Cookie preferences