#Cannot login on running pnpm start:dev
1 messages · Page 1 of 1 (latest)
So the login in the production doesn't work on the local setup, Novu user-database isn't running locally
am i missing the CORS chrome extension maybe ?
No, it's not that..
Can you walk me through all the steps you did? So I could try and replicate it?
@visual lion, you just advanced to level 2!
Were you following any particual documention page?
Consider visiting this page: https://docs.novu.co/community/run-in-local-machine
ok i already tried this
i get this error
Error: connect ECONNREFUSED 127.0.0.1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16)
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
errno: -61,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 6379
}
which means redis has issues right ?
so after that i only tried to run web
Right
how do i solve it ?
Our search bar over the docs also got AI integrated with our Documentation, GitHub and most Discord messages issues indexed..
When I asked it your question, it returned the following:
If you're running your application in a docker container, you might have to update your .env configuration file. Instead of using 127.0.0.1 as your REDIS_HOST, you might need to specify the correct docker service name as the host. This error commonly arises when the service name for redis in your docker-compose file differs from the value you've defined in your .env file.
Could you please tell me if it helped?
actually no cos i dont know which env file
since its a monorepo each application has its own
MONGO_URL=mongodb://localhost:27017/novu-db
MONGO_MAX_POOL_SIZE=500
REDIS_PORT=6379
REDIS_PREFIX=
REDIS_HOST=localhost
REDIS_DB_INDEX=2
what do i replace it with
@glacial sluice can you please have a look?
could it be a firewall issue?
@visual lion Did you manage to solve it?
Does it describes fully your experience so far?
yes
@glacial sluice Can you please have a look here?