Docker installation fails with ngixn

Hello Guys,

Sorry, I would like to know if somebody can help me with this:

I have installed Twake by using docker files by following the official documentation

and I got the following error (I have attached screenshot):


Failed to load resource: the server responded with a status of 502 (Bad Gateway)
main.c9e97b1b.chunk.js:1 Error while reading jwt tokens from:

502 Bad Gateway

502 Bad Gateway


nginx/1.14.2

SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()


I’m not sure what is, I think it is related to docker proxy configuration since I got this error in the log file
(twake/docker-data/logs/nginx):

2021/09/11 01:20:10 [error] 12#12: *15 connect() failed (111: Connection refused) while connecting to upstream, client: 186.001.xx.xx, server: localhost, request
: “GET /internal/services/general/v1/server HTTP/1.1”, upstream: “hxxp://172.18.0.5:3000/internal/services/general/v1/server”, host: “hxxp://1xx.9x.12.1x9:8000”, refer
rer: “hxxp://1xx.9x.12.1x9:8000/”

This error even happens with a fresh installation (ubuntu re-installed → not previous nginx, not firewall)

I really appreciated any help! thank you very much

Could you try too use an older version of Twake / send us the logs of the node server ?