Skip to content

Troubleshooting

Nicolas Thouvenin edited this page Oct 26, 2017 · 1 revision

Behind a proxy

If you launch lodex behind a proxy, environment variables http_proxy, https_proxy (optionally no_proxy) are required. Otherwise, you could get this error after make docker-run-dev:

npm http request GET https://registry.npmjs.org/pm2
npm info retry will retry, error on last attempt: Error: connect ETIMEDOUT

Using ezmaster

If you are behind a proxy, and try to test your development version, pay attention to your environment variables: http_proxy, https_proxy and no_proxy have to be passed to docker.

docker build -t lodex:dev --build-arg http_proxy --build-arg https_proxy --build-arg no_proxy .

Looking at the logs

The server's logs are within logs/http.log.

To look at it easily:

tail -f ./logs/http.log | jq
Clone this wiki locally