toeverything / AFFiNE

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
https://affine.pro
Other
42.76k stars 2.8k forks source link

​Cannot send email through Gmail SMTP server: wrong version #8879

Open dto opened 1 week ago

dto commented 1 week ago

What happened?

I get the error message shown in the logs when trying to send invites through Gmail SMTP. It reports "wrong version". Supposedly this relates to TLS settings? Or authentication...

Distribution version

Linux

What browsers are you seeing the problem on if you're using web version?

Chrome, Firefox

Are you self-hosting?

Relevant log output

[Nest] 109  - 11/20/2024, 2:16:20 PM    WARN [WorkspaceResolver] failed to send 3804357b-52c6-4a37-9947-30e7eaf5a189 invite email to REDACTED@EMAIL, but successfully revoked permission: Error: 805C9257FC7E0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:354:

[Nest] 109  - 11/20/2024, 2:16:20 PM   ERROR [WorkspaceResolver] failed to invite user
[Nest] 109  - 11/20/2024, 2:16:20 PM   ERROR [WorkspaceResolver] internal_server_error: An internal error occurred.

Anything else?

version info Screenshot at 2024-11-19 12-38-57

dto commented 1 week ago

I've now tried 3 different SMTP servers, differing ports and values of SECURE, and still get "wrong version"