NovuN
Novu3y ago
13 replies
Rifki

Self Hosted instance tries to connect to localhost instead of custom URL

Hi Team. I was able to successfully setup Novu using docker and the containers managed to start up with no issues. I have set up the env variables in the .env file successfully. However, when I try to connect to my self hosted instance and sign up, I get "Network Error" in the UI. Upon checking the console, I see that the POST request related to registering the user is being sent to http://localhost:3000/v1/auth/register instead of the custom URL which would obviously fail
xhr.js:247          POST http://localhost:3000/v1/auth/register net::ERR_CONNECTION_REFUSED

I checked similar threads and tried to use ghcr.io/joeyeamigh/novu/web:nv-1803 as the web container, but I get the same issue.
Additionally, I am using NGINX as a reverse proxy and I have set the context paths accordingly
Was this page helpful?