Open monolithed opened 3 years ago
There was a typo in the .env file, however that bug fix did not solve the issue
-MAILER_FROM="Test mail" <someusername@denrox.com>
+MAILER_FROM="Test mail <someusername@denrox.com>"
Hi, thank you for the report! Please confirm that before running tests command you executed steps:
If yes, then could you please leave a comment here with the results of command "docker ps -a" You should have a mongo container up and running with hostname "db" and the port number "27017"
➜ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ba89956a7c37 nestjs-microservices-example_task "docker-entrypoint.s…" 7 days ago Up About a minute 0.0.0.0:8001->8001/tcp, :::8001->8001/tcp nestjs-microservices-example_task_1
e60a36b6ced3 nestjs-microservices-example_user "docker-entrypoint.s…" 7 days ago Up About a minute 0.0.0.0:8003->8003/tcp, :::8003->8003/tcp nestjs-microservices-example_user_1
6af4fe7b8847 nestjs-microservices-example_token "docker-entrypoint.s…" 7 days ago Up About a minute 0.0.0.0:8002->8002/tcp, :::8002->8002/tcp nestjs-microservices-example_token_1
dceed300bb9a mongo:3.7 "docker-entrypoint.s…" 7 days ago Up About a minute 0.0.0.0:27017->27017/tcp, :::27017->27017/tcp nestjs-microservices-example_db_1
2bdf18076dd4 nestjs-microservices-example_mailer "docker-entrypoint.s…" 7 days ago Up About a minute 0.0.0.0:8004->8004/tcp, :::8004->8004/tcp nestjs-microservices-example_mailer_1
e8c6cb753717 nestjs-microservices-example_permission "docker-entrypoint.s…" 7 days ago Up About a minute 0.0.0.0:8005->8005/tcp, :::8005->8005/tcp nestjs-microservices-example_permission_1
5d75b795a4ed nestjs-microservices-example_gateway "docker-entrypoint.s…" 7 days ago Up About a minute 0.0.0.0:8000->8000/tcp, :::8000->8000/tcp nestjs-microservices-example_gateway_1
➜ curl -X 'GET' \
> 'http://localhost:8000/users' \
> -H 'accept: application/json'
{"message":"token_decode_unauthorized","data":null,"errors":null}
It looks like the user was not created
Hi, I suggest you to apply a temporary fix for this issue
Please add a record
127.0.0.1 db
To the /etc/hosts
file on your machine
To get rid of previously created containers with errors, pls run docker rm -f $(docker ps -aq | grep "nestjs")
After this you can rerun steps for running tests.
This is kind of a temporary spike. But I will introduce a proper fix via docker networking on next update
Hi, I suggest you to apply a temporary fix for this issue
Please add a record
127.0.0.1 db
To the/etc/hosts
file on your machineTo get rid of previously created containers with errors, pls run
docker rm -f $(docker ps -aq | grep "nestjs")
After this you can rerun steps for running tests.
This is kind of a temporary spike. But I will introduce a proper fix via docker networking on next update
Waiting for the update.