W
W
WebforSelf2020-10-21 11:01:17
Node.js
WebforSelf, 2020-10-21 11:01:17

How to defeat nodejs error?

Site on Strapi , content blocks stopped working (server on Nodejs)

Instead of them, an error is displayed

Error: {"graphQLErrors":[],"networkError":{},"message":"Network error: Failed to fetch"}


Log errors are coming

2020/10/21 06:43:36 [error] 358#358: *49 connect() failed (111: Connection refused) while connecting to upstream, client: 62.115.15.146, server: , request: "GET / HTTP/1.1", upstream: "http://[::1]:3000/", host: "site.com"
2020/10/21 06:43:36 [error] 358#358: *49 connect() failed (111: Connection refused) while connecting to upstream, client: 62.115.15.146, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:3000/", host: "site.com"


After restarting the server, it stopped working, launched
5f8feab0726ef662615966.png
So that it launched the application, the site itself began to work, but the error above cut off all content

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question