Emails are not sent from gitea #8941

Closed
opened 2025-11-02 08:23:44 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @zuhairamahdi on GitHub (May 12, 2022).

Description

after upgrading to gitea 1.16.5 gitea stopped sending emails and we are getting the following log:

StartTLS: tls: server selected unsupported protocol version 301

Gitea Version

1.16.5

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

in Windows with Windows SQL

Database

MSSQL

Originally created by @zuhairamahdi on GitHub (May 12, 2022). ### Description after upgrading to gitea 1.16.5 gitea stopped sending emails and we are getting the following log: `StartTLS: tls: server selected unsupported protocol version 301` ### Gitea Version 1.16.5 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? in Windows with Windows SQL ### Database MSSQL
GiteaMirror added the type/bug label 2025-11-02 08:23:44 -06:00
Author
Owner

@techknowlogick commented on GitHub (May 16, 2022):

This is sadly due to golang dropping support for tls 1.1 and below. If you are able to set env vars you can set GODEBUG=tls10default=1 (note, this will be removed with golang 1.19)

@techknowlogick commented on GitHub (May 16, 2022): This is sadly due to golang dropping support for tls 1.1 and below. If you are able to set env vars you can set `GODEBUG=tls10default=1` (note, this will be removed with golang 1.19)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#8941