Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL Wrong Version Number Error #653

Open
joshmedeski opened this issue Sep 27, 2021 · 4 comments
Open

SSL Wrong Version Number Error #653

joshmedeski opened this issue Sep 27, 2021 · 4 comments

Comments

@joshmedeski
Copy link
Contributor

Describe the bug
When user's registers, I get the following error:

To Reproduce
Steps to reproduce the behavior:

  1. Set AUTO_ACTIVATE_NEW_USERS="false"
  2. Enable emails with SMTP
  3. Send a POST /auth/register

Expected behavior
Register a user successfully

Desktop (please complete the following information):

  • OS: Ubuntu
  • Browser Safari
  • Version 2.7.1

Additional context

[Error: 140369955355976:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:
] {
  library: 'SSL routines',
  function: 'ssl3_get_record',
  reason: 'wrong version number',
  code: 'ESOCKET',
  command: 'CONN'
}
@elitan
Copy link
Contributor

elitan commented Sep 27, 2021

I've seen this bug with some SMTP vendors.

Could be related to this: nodemailer/nodemailer#165 (comment)

@elitan
Copy link
Contributor

elitan commented Sep 27, 2021

@joshmedeski Can you also try to set SMTP_SECURE: false?

@joshmedeski
Copy link
Contributor Author

That fixed it. I may change the port numbers and turn SMTP_SECURE back to true.

@MaxSchilling
Copy link

@elitan that was also the error message that we received. Not finished with testing / fixing, works for some mails, but some users receive the mail now in their spam folder. Will try to provide clearer picture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants