Error occurred while trying to proxy from localhost:8080 to http://localhost:5000/ (ECONNRESET)

Issue Summary

When I type npm run start i get this error

Error occurred while trying to proxy request /api/session from localhost:8080 to http://localhost:5000/ (ECONNRESET) (Errors | Node.js v16.2.0 Documentation)

All Docker services are running (docker-compose start) :

webpack Dev Server:

webpack Dev Server runs very well but after one minute or 2 minutes i get the error mentioned above.

what I get when i open http://localhost:5000/ :no_mouth:

  • Loading of the page is pending.
  • In the console no response from the server appeared.

Technical details:

  • How did you install Redash: i used this tutorial redash

What do you see in your docker logs?

docker-compose logs -f

1 Like

I think there is one error in the log :

raise ConnectionError(self._error_message(e)) redis.exceptions.ConnectionError: Error 113 connecting to redis:6379. No route to host.

Are you certain all your node dependencies are installed?

npm install
npm run build
npm run start
1 Like

Yes, I have run all these commands and they passed correctly

:smiley: I fixed the problem by running the following commands :

  • docker-compose build worker.

  • docker-compose build server.