Member subscribe not working

I am getting Sorry, something went wrong. Please try again. when testing my subscription

I have setup mailgun

 "mail": {
    "from": "'Techie Mike' <postmaster@techiemike.com>",
    "transport": "SMTP",
    "options": {
      "service": "Mailgun",
      "host": "smtp.mailgun.org",
      "port": 465,
      "secure": false,
      "auth": {
        "user": "postmaster@techiemike.com",
        "pass": "*****************************************************"
      }
    }
  },

URL techiemike.com
Ghost-CLI version: 1.24.0
Ghost version: 5.53.3

Installed on oracle cloud using Ubuntu image
Node V 16.20
error log
[2023-07-01 14:58:30] ERROR “POST /members/api/send-magic-link/” 500 30108ms

NAME: EmailError
CODE: ETIMEDOUT
MESSAGE: Failed to send email. Reason: Greeting never received.

level: normal

Click subscribe enter name and email address - popup Sorry, something went wrong. Please try again.

The config is incorrect. If you’re using port 465, it’s a secure negotiation. Preferably, use 587, and add "requireTLS": true,.

mailgun supports Our servers listen on ports 25 , 587 , and465 (SSL/TLS)

I added your code same error

is there a way to disable the lockout when I check the logs I get [2023-07-02 12:24:30] ERROR “POST /members/api/send-magic-link/” 429 18ms

NAME: TooManyRequestsError
MESSAGE: Too many sign-in attempts try again in 10 minutes

level: normal
I am not trying to sign in I am trying to register, or get the registration working, so frustrating, it was all working fine until I updated!

I was using these settings from my theme developers blog but changed the port based on another users problems with the 587 port How to Configure Ghost with Mailgun | Bright Themes

  "mail": {
    "transport": "SMTP",
    "options": {
      "service": "Mailgun",
      "host": "smtp.mailgun.org",
      "port": 587,
      "secure": false,
"requireTLS": true,
      "auth": { 

but still doesn’t work, there is no mention of the requireTLS when I look at mailgun smtp settings?

New error message now

[2023-07-02 12:34:56] ERROR "POST /members/api/send-magic-link/" 500 296ms

NAME: EmailError
CODE: ESOCKET
MESSAGE: Failed to send email. Reason: 281473155756064:error:1408F10B:SSL routin                                es:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_                                record.c:332:

Working again with this

 "mail": {
  "transport": "SMTP",
  "options": {
    "service": "Mailgun", 
    "host": "smtp.mailgun.org",
    "port": "465",
    "secure": true,

1 Like

As I said earlier …

Previously, you had:

    "secure": false,