question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Mail] TLS/SSL issue

See original GitHub issue

I tried to set my SMTP server both via config and via admin panel, but wekan still can not send mails.

wekan:
  image: wekanteam/wekan:meteor-1.4
  restart: always
  links:
    - wekandb
  environment:
    - MONGO_URL=mongodb://wekandb/wekan
    - ROOT_URL=http://wekan.mydomain.de
    #- MAIL_URL=smtp://robot@mydomain.de:SOMEPASSWORD@mail.mydomain.de:587/
    - MAIL_FROM=robot@mydomain.de
  ports:
    - 9201:80

wekandb:
  image: mongo
  restart: always
  volumes:
    - /home/wekan/data:/data/db

Error

Error: 140372779964192:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:794:

Furthermore, it prints another error:

{ Error: Cannot find module '../build/Release/bson'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/build/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/node_modules/bson/ext/index.js:15:10)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3) code: 'MODULE_NOT_FOUND' }
js-bson: Failed to load c++ bson extension, using pure JS version
Note: you are using a pure-JavaScript implementation of bcrypt.
While this implementation will work correctly, it is known to be
approximately three times slower than the native implementation.
In order to use the native implementation instead, run

  meteor npm install --save bcrypt

in the root directory of your application.

It may be related to my SMTP server not accepting SSLv3 connections (security reasons)?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
rsnymancommented, May 18, 2017

Once I figured out what my problem was, I decided to write a wiki page to help other people troubleshoot what might be going wrong with their mail: https://github.com/wekan/wekan/wiki/Troubleshooting-Mail

1reaction
matheusirricontrolcommented, Nov 20, 2020

@xet7 It worked! Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use SSL to connect to the outgoing mail server in Mail on Mac
Use SSL to connect to the outgoing mail server in Mail on Mac · In the Mail app on your Mac, choose Mail...
Read more >
SSL/TLS Error When Connecting to IMAP/SMTP Email Server
An error occurred while attempting to establish an SSL or TLS connection. One possibility is that you are trying to connect to a...
Read more >
Unable to send mail using SMTP on SSL/TLS encryption
I'm only able to send a mail when I select STARTTLS as encrypted connection type on port 587. If I change it to...
Read more >
How to fix email error '403 4.7.0 TLS handshake failed' in ...
The error happens in mail servers that try to use TLS protocol for email transmission. TLS protocol is used for encrypting the data...
Read more >
Why do I get a pop-up warning when I use SSL/TLS in my ...
You may see a warning stating that the mail server you are connecting to attempts to identify itself with invalid information. This happens...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found