Net::ReadTimeout | Confirmation email not sending

Got discourse installed and am trying to finish the installation process with the confirm email screen and the email isn’t being sent out. All of the creds for my SMTP work as I can login with the creds using anything else but discourse


My mail server is roundcube.
When I use discourse-doctor it outputs: Net::ReadTimeout

app.yml

  ## TODO: The SMTP mail server used to validate new accounts and send notifications
  # SMTP ADDRESS, username, and password are required
  # WARNING the char '#' in SMTP password can cause problems!
  DISCOURSE_SMTP_ADDRESS: smtp.REDACTED.gg
  DISCOURSE_SMTP_PORT: 465
  DISCOURSE_SMTP_USER_NAME: no-reply@REDACTED.gg
  DISCOURSE_SMTP_PASSWORD: REDACTED
  #DISCOURSE_SMTP_ENABLE_START_TLS: true           # (optional, default true)
  #DISCOURSE_SMTP_DOMAIN: REDACTED.gg    # (required by some providers)
  DISCOURSE_NOTIFICATION_EMAIL: no-reply@REDACTED.gg    # (address to send notifications from)
1 Like

not getting confirmation mail.

1 Like

Anyone know how I can fix?

1 Like

DISCOURSE_SMTP_USER_NAME: no-reply@REDACTED.gg

Is “no-reply@REDACTED.gg”

Is this your Roundcube SMTP login?

This Field is not your “noreply@yourdomain.com”. It will be your Roundcube login and password.

Does Roundcube support being a SMTP server?

Brevo com does have a free tier of 300 emails/day

yes, “no-reply@REDACTED.gg” is my login user, and roundcube does support SMTP

Have you tried Roundcube’s forum?

A general search I did came up with a video adding an SMTP to Roundcube

I already have SMTP setup for roundcube, and I use SMTP for it on a daily for my other applications. It’s just that discourse refuses to connect to it

Does the test email work during setup? Have you checked discourse logs ie sidekick and Roundcube logs?

Didn’t find anything in roundcube logs. I ran ./discourse-doctor and it output “Net::ReadTimeout”. Not sure where to check logs for discourse

Often on one of the instances I help manage. On the Dashboard for discourse you might see Sidekiq jobs failed. In my case this was due to the client not maintaining there SMTP account package.

Doing a search on discourse here there are a few topics regarding Roundcube but nothing that looks helpful.

What about the Roundcube support & forum?


I asked google Gemini AI. So this may help but don’t know.

1 Like

Roundcube is already setup for SMTP use as I use it for my other websites, and I can’t access the Discourse admin panel as I can’t finish the last bit of the installation (where I have to create the admin account and verify the email) as when I try and verify the admin email no email gets sent due to Net::ReadTimeout

2 Likes

Okay. I would recommend using brevo.com free tier to complete setup.

After completing then try swapping to Roundqube.

1 Like