Are you using docker? If so do you use the default image? In this case you could try the image ending with -ubuntu. This will probably solve this issue as there seem to be some SSL related problems with Alpine (which the default image uses).
Can you confirm that the mail server that you are connecting to actually requires SSL? From what I can find, this often occurs when you attempt to connect via SSL when SSL is not enabled on the other end.
Hope this is not a red herring but it is worth a quick look.
What specifically are you asking about TLS? TLS and SSL are essentially the same thing. According to this website:
Transport Layer Security (TLS) is the successor protocol to SSL. TLS is an improved version of SSL. It works in much the same way as the SSL, using encryption to protect the transfer of data and information. The two terms are often used interchangeably in the industry although SSL is still widely used.
It is worth a try but I am uncertain as to what the results may be.
I am having the same issue with a Ubuntu 20.04 instance running on Digital Ocean and Soverin email which has SSL/TLS enabled.
Error: 140169990450504:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:
at Socket.ondata (internal/js_stream_socket.js:77:22)
at Socket.emit (events.js:314:20)
at addChunk (_stream_readable.js:298:12)
at readableAddChunk (_stream_readable.js:273:9)
at Socket.Readable.push (_stream_readable.js:214:10)
at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
Update: “The image for the service you’re trying to recreate has been removed.”
Assuming the reply meant n8nio/n8n-ubuntu…
ERROR: The image for the service you’re trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.
Strange, old version of the image should still exist. But you can now use the Debian image. We renamed it for new versions as it turned out that it did actually use Debian and not Ubuntu under the hood. So simply replace -ubuntu with -debian.
Pulling n8n (n8nio/n8n-debian:)…
ERROR: pull access denied for n8nio/n8n-debian, repository does not exist or may require ‘docker login’: denied: requested access to the resource is denied
Happy to edits the docs when this is resolved, unless it’s just me being an idiot
Hello everyone, I had this and other errors like smtpCreddentials does not exist… Using the version for ubuntu(20), after activating GMAIL API you configure the permissions, it was only install the lib sudo apt-get install libsasl2-modules, it is it is working correctly.
I confirm this solution. Add to your docker env settings: N8N_SMTP_SSL=false
I assume STARTLS kicks in with that off.
In any case email sending works now.
It does indeed so you are telling it not to use SSL so it instead uses starttls, it seems a bit off but that is how the package under it handles things.