Too many requests after trying to login for first time

Hi all, i just set up Ghost self-hosted for the first time, and I’ve set up mailgun with my domain, then put the all the necessary email configuration into config.development.json. It looks like this:

{
  "url": "http://localhost:2368/",
  "server": {
    "port": 2368,
    "host": "127.0.0.1"
  },
  "database": {
    "client": "mysql",
    "connection": {
      "host": "127.0.0.1",
      "port": 3306,
      "user": "",
      "password": "",
      "database": ""  
    }
  },
  "mail": {
    "transport": "SMTP",
    "options": {
      "service": "Mailgun",
      "host": "smtp.mailgun.org",
      "port": 465,
      "secure": false,
      "auth": {
        "user": "postmaster@mail.averwhy.net",
        "pass": ""
      }
    }  
  },
  "logging": {
    "transports": [
      "file",
      "stdout"
    ]
  },
  "process": "local",
  "paths": {
    "contentPath": "/home/aver/blog/content"
  }
}

Everything seems ok, but when I goto register/login on the main site, i get one of two errors:
it will either spin out and after 2 minutes return a 500:

Or it will immediately deny with a 429 too many requests.

in this case, it denied after 2 minutes and returned that 500, then after it will return the 429.

Any ideas?? I am running this on a remote server (with the websites port forwarded through VSCode ssh.)

Update: i changed the port to

"port": "587",

And i got a success message!

However, now i haven’t seen the email in my inbox yet… But thats another issue, lol

Check your mailgun logs for that next problem. :)

1 Like