i have installed novu with docker compose lates version i am getting an error [network error]
And i see all the container are up and running without any error
can any one help to fix this issue
20 Replies
Hi @Wilson, I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question.
-----------------------------
While I generate an answer, here are some sources that might be helpful:
* AWS
* Run Novu in local machine
* Deploy with Docker
* MacOS/Linux
-----------------------------
Answer
It sounds like you're encountering a network error after setting up Novu with Docker Compose. This could be related to several factors, including configuration issues or missing environment variables. Unfortunately, the provided information sources do not contain a direct solution to a "network error" issue following a Docker Compose setup.
However, a common point of consideration when facing such issues involves ensuring that all necessary environment variables are correctly set and that the Novu version you're using is fully compatible with your setup. As seen in a similar context, updating to certain versions of Novu required additional setup steps, like setting up a new worker service (1) , which was a breaking change introduced in version 0.14.0. Moreover, ensuring that your
.env
file is correctly configured as per the latest Novu documentation can also be crucial (2) .
For more detailed troubleshooting, it might help to check the Docker logs for any specific errors that could point to the cause of the network issue. Additionally, verifying that all Novu services are correctly connected and that there are no issues with external dependencies like databases or mail services could also provide more insights.
Given the complexity of Docker setups and the multitude of factors that can lead to network errors, if you're still encountering issues, it might be beneficial to look for similar cases or discussions in the Novu community or documentation that closely match your setup and the specific error message you're seeing.Got it. Tagging @Support for additional help.
Start by posting what the error is 🙂
HI Daniel
@Wilson, you just advanced to level 3!
This the error i am getting
can you please help to fix the issiue
did you take a look in the network tab to see why the request fails? Did you check the container logs?
This is network error i am getting
did you setup your reverse proxy for that domain and point to the correct local port for the docker container?
oh, seems like it's pointing to 0.0.0.0?
did you edit your environment file and set correct ip/domain?
by default its taks as 0.0.0.0 i have changed to local ip
i am geting same error
all the container are up and running
I have setup in local machine
if everying woks fine i will will serup in produciton environment
try setting it to the same IP you go to in the browser
@Daniel, you just advanced to level 1!
yes same ip [http://192.168.2.97:4200/auth/login]
i am unable to register
its throwirng network error
In your screenshot it looks like you've set it to localhost?
Yes I have installed in local machine
HI Daniel
can you please suggest me how to edit the docket container on novu .env to production
i heard it works