[GH-ISSUE #976] Error sending SMTP test email LetreErr #694

Closed
opened 2026-03-03 02:02:17 +03:00 by kerem · 3 comments
Owner

Originally created by @russdyer on GitHub (Apr 26, 2020).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/976

When trying to setup SMTP settings & send a test email, I get error "Error sending SMTP test email LetreErr".

Using latest version of bitwardenrs using Unraid container. Tried several email hosts, both result in same error.

Log:

[2020-04-26 14:07:04][response][INFO] POST /admin/test/smtp (test_smtp) => 400 Bad Request
[2020-04-26 14:08:36][request][INFO] GET /icons/github.com/icon.png
[2020-04-26 14:08:37][bitwarden_rs::api::icons][INFO] Downloaded icon from https://github.githubassets.com/apple-touch-icon-180x180.png
[2020-04-26 14:08:37][response][INFO] GET /icons//icon.png (icon) => 200 OK
[2020-04-26 14:08:49][request][INFO] GET /icons/github.com/icon.png
[2020-04-26 14:08:49][response][INFO] GET /icons//icon.png (icon) => 200 OK
[2020-04-26 14:12:47][request][INFO] GET /admin
[2020-04-26 14:12:47][response][INFO] GET /admin [2] (admin_login) => 200 OK
[2020-04-26 14:13:02][request][INFO] POST /admin
[2020-04-26 14:13:02][response][INFO] POST /admin (post_admin_login) => 303 See Other
[2020-04-26 14:13:02][request][INFO] GET /admin
[2020-04-26 14:13:02][response][INFO] GET /admin (admin_page) => 200 OK
[2020-04-26 14:13:11][request][INFO] POST /admin/test/smtp/
[2020-04-26 14:13:12][error][ERROR] LetreErr.
[CAUSE] Io(
Custom {
kind: Other,
error: Failure(
Ssl(
Error {
code: ErrorCode(
1,
),
cause: Some(
Ssl(
ErrorStack(
[
Error {
code: 336130315,
library: "SSL routines",
function: "ssl3_get_record",
reason: "wrong version number",
file: "../ssl/record/ssl3_record.c",
line: 332,
},
],
),
),
),
},
X509VerifyResult {
code: 0,
error: "ok",
},
),
),
},
)
[2020-04-26 14:13:12][response][INFO] POST /admin/test/smtp (test_smtp) => 400 Bad Request

Originally created by @russdyer on GitHub (Apr 26, 2020). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/976 When trying to setup SMTP settings & send a test email, I get error "Error sending SMTP test email LetreErr". Using latest version of bitwardenrs using Unraid container. Tried several email hosts, both result in same error. Log: [2020-04-26 14:07:04][response][INFO] POST /admin/test/smtp (test_smtp) => 400 Bad Request [2020-04-26 14:08:36][request][INFO] GET /icons/github.com/icon.png [2020-04-26 14:08:37][bitwarden_rs::api::icons][INFO] Downloaded icon from https://github.githubassets.com/apple-touch-icon-180x180.png [2020-04-26 14:08:37][response][INFO] GET /icons/<domain>/icon.png (icon) => 200 OK [2020-04-26 14:08:49][request][INFO] GET /icons/github.com/icon.png [2020-04-26 14:08:49][response][INFO] GET /icons/<domain>/icon.png (icon) => 200 OK [2020-04-26 14:12:47][request][INFO] GET /admin [2020-04-26 14:12:47][response][INFO] GET /admin [2] (admin_login) => 200 OK [2020-04-26 14:13:02][request][INFO] POST /admin [2020-04-26 14:13:02][response][INFO] POST /admin (post_admin_login) => 303 See Other [2020-04-26 14:13:02][request][INFO] GET /admin [2020-04-26 14:13:02][response][INFO] GET /admin (admin_page) => 200 OK [2020-04-26 14:13:11][request][INFO] POST /admin/test/smtp/ [2020-04-26 14:13:12][error][ERROR] LetreErr. [CAUSE] Io( Custom { kind: Other, error: Failure( Ssl( Error { code: ErrorCode( 1, ), cause: Some( Ssl( ErrorStack( [ Error { code: 336130315, library: "SSL routines", function: "ssl3_get_record", reason: "wrong version number", file: "../ssl/record/ssl3_record.c", line: 332, }, ], ), ), ), }, X509VerifyResult { code: 0, error: "ok", }, ), ), }, ) [2020-04-26 14:13:12][response][INFO] POST /admin/test/smtp (test_smtp) => 400 Bad Request
kerem closed this issue 2026-03-03 02:02:17 +03:00
Author
Owner

@Zciwobukaj commented on GitHub (Apr 29, 2020):

Hi, I had this issue too, and was able to solve it by uncheck "Use explicit TLS" option and check "Enable SSL" option.

<!-- gh-comment-id:621009392 --> @Zciwobukaj commented on GitHub (Apr 29, 2020): Hi, I had this issue too, and was able to solve it by uncheck "Use explicit TLS" option and check "Enable SSL" option.
Author
Owner

@russdyer commented on GitHub (May 1, 2020):

That worked perfectly, thank you!

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Virus-free.
www.avg.com
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Wed, Apr 29, 2020 at 2:09 AM Zciwobukaj notifications@github.com wrote:

Hi, I had this issue too, and was able to solve it by uncheck "Use
explicit TLS" option and check "Enable SSL" option.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dani-garcia/bitwarden_rs/issues/976#issuecomment-621009392,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHBKZP5WJCLVJ7XQ3C76BLRO7ACDANCNFSM4MRK7BNA
.

<!-- gh-comment-id:622224927 --> @russdyer commented on GitHub (May 1, 2020): That worked perfectly, thank you! <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avg.com <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Wed, Apr 29, 2020 at 2:09 AM Zciwobukaj <notifications@github.com> wrote: > Hi, I had this issue too, and was able to solve it by uncheck "Use > explicit TLS" option and check "Enable SSL" option. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/dani-garcia/bitwarden_rs/issues/976#issuecomment-621009392>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABHBKZP5WJCLVJ7XQ3C76BLRO7ACDANCNFSM4MRK7BNA> > . >
Author
Owner

@dani-garcia commented on GitHub (May 13, 2020):

This is solved so closing it.

<!-- gh-comment-id:628288953 --> @dani-garcia commented on GitHub (May 13, 2020): This is solved so closing it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#694
No description provided.