504 Gateway Time out on ghost blog

#1

I have (I have had) a ghost blog running on glitch at https://luck-cafe.glitch.me/.

I just went to write a post and saw that the blog was down with a 504 error. When I went to investigate in Glitch it looked like an issue with my version of node, saying:
ERROR: Unsupported version of Node

11:09 PM

Ghost needs Node version 8.15.0 you are using version 8.15.1

I fiddled around and tried to install a few different versions of Node. Now I’m getting this error:
(node:19026) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:16 PM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

11:16 PM

(node:19026) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)

11:16 PM

(node:19026) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

11:16 PM

(node:19026) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:16 PM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

11:16 PM

(node:19026) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

11:16 PM

(node:19026) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:16 PM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

11:16 PM

(node:19026) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)

11:16 PM

(node:19026) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:16 PM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

11:16 PM

(node:19026) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)

11:16 PM

(node:19026) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:16 PM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

11:16 PM

(node:19026) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5)

11:16 PM

(node:19026) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:16 PM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

11:16 PM

(node:19026) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 6)

11:16 PM

(node:19026) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:16 PM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

11:16 PM

(node:19026) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 7)

11:16 PM

(node:19026) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:16 PM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

11:16 PM

(node:19026) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 8)

11:16 PM

(node:19026) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:17 PM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

11:17 PM

(node:19026) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 9)

11:17 PM

(node:19026) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:17 PM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

11:17 PM

(node:19026) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 10)

11:17 PM

(node:19026) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:17 PM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

11:17 PM

(node:19026) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 11)

11:17 PM

(node:19026) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:17 PM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

11:17 PM

(node:19026) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 12)

11:17 PM

(node:19026) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:18 PM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

11:18 PM

(node:19026) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 13)

11:18 PM

(node:19026) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:18 PM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

11:18 PM

(node:19026) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 14)

11:18 PM

(node:19026) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:19 PM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

11:19 PM

(node:19026) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 15)

11:19 PM

(node:19026) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:19 PM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

11:19 PM

(node:19026) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 16)

11:19 PM

(node:19026) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:20 PM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

11:20 PM

(node:19026) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 17)

11:20 PM

(node:19026) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:20 PM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

11:20 PM

(node:19026) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 18)

11:20 PM

Any ideas or tips of direction welcome!

#2

Hello @eveahe! Let me take a look. You may be able to update your version of the ghost blog software instead of upgrading node.

#3

Thank you @potch! Do I update the version of ghost in the package.json file as well?

#4

taking a look at your project, it actually looks like it’s running fine- https://luck-cafe.glitch.me/

Can you confirm it’s working for you?

#5

weiiird! i guess updating node worked it just…took a while…? in any case, thank you thank you for your time!

1 Like
#6

sure thing! glad it’s working.

1 Like