Unable to send email from Ghost

If you’re looking for some help, it’s important to provide as much context as possible so that people are able to assist you. Try to always mention:

  • What’s your URL? This is the easiest way for others to debug your issue
    https://omgdebugging.com

  • What version of Ghost are you using?
    1.25.5

  • What errors or information do you see in the console?
    I am seeing a “Request was rejected due to server error” whenever I try to send out a test email. Please do note that I have added a couple of logging messages to get the below output.

I have configured mailgun correctly and I see the connection to the mail server using lsof -i :587 but it is always in hung up state. Tried disabling the firewall as well but still not working.

Any idea what might be wrong?

POST https://omgdebugging.com/ghost/api/v0.1/mail/test/ 504 ()
send @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:14572
ajax @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:14350
_makeRequest @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:96871
_makeRequest @ ghost.min-c430e65e0e6f8e04fb485a18a7581b61.js:1157
r @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:34893
request @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:96835
post @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:96912
(anonymous) @ ghost.min-c430e65e0e6f8e04fb485a18a7581b61.js:731
M @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:10673
(anonymous) @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:10651
e.(anonymous function) @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:10688
_resumeGenerator @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:101259
_handleResolvedContinueValue @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:101325
_proceed @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:101301
_scheduleProceed @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:101296
_start @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:101162
_startTaskInstance @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:101031
_flushQueues @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:101015
schedule @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:101000
_performShared @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:101514
perform @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:101497
click @ ghost.min-c430e65e0e6f8e04fb485a18a7581b61.js:327
trigger @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:35806
r @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:34893
e._run @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:22571
e._join @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:22555
e.join @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:22392
y.join @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:27881
(anonymous) @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:35886
e.flaggedInstrument @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:29091
handleEvent @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:35882
e.default.r.Mixin.create.l.handleEvent @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:35476
(anonymous) @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:35552
dispatch @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:12743
b.handle @ vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:12681
vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:96710

504 Gateway Time-out

504 Gateway Time-out


nginx/1.10.3 (Ubuntu)

vendor.min-85d45a7cb41b596bee271a6ecf3e4d99.js:formatted:96711

Http Error Code - 504

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.