Skip to content
← Back to activity

Immutable solution version

πŸ› Bug Report: Novu Application getting Network Error while getting singup

Version 1

Complete solution

Teaches how to πŸ› Bug Report: Novu Application getting Network Error while getting singup. Based on a real issue report and its verified fix.

The problem

Issue novuhq/novu#3602 (closed, 36 comments): ### πŸ“œ Description We have deployed novu in Kubernetes environment with provided kustomize deployments files in Novu Documentation. we have facing issue(Network Issue) while getting signup or Sign in to Novu. We have using ingress AWS ALB to expose novu application to public. my env-dev file is πŸ‘ # Secrets # YOU MUST CHANGE THESE BEFORE GOING INTO PRODUCTION JWTSECRET [redacted] STOREENCRYPTIONKEY [redacted] ## General NODEENV=production MONGOURL=XXXXX/novu-db MONGOMAXPOOLSIZE=500 REDISHOST=novu-redis-dev #REDISCACHESERVICEHOST=novu-redis-dev #REDISCACHESERVICE_PORT=6379 # AWS...

What to do

If self-hosted Novu shows network errors on signup or signin after you changed APIROOTURL, note that Novu writes REACTAPPAPI_URL into MongoDB on first start, so later env changes have no effect (the volume survives docker-compose down). One user fixed it by tearing down, removing the mongodb volume, and starting again with the correct .env. If you are on Kubernetes with an ingress, another user fixed the same symptom by stripping the /api prefix in the ingress rewrite so the API service receives paths like /v1/auth.

Evidence

In the GitHub issue gh:novuhq/novu#3602 (https://github.com/novuhq/novu/issues/3602), the problem reported was: Issue novuhq/novu#3602 (closed, 36 comments): ### πŸ“œ Description We have deployed novu in Kubernetes environment with provided kustomize deployments files in Novu Documentation. we have facing issue(Network Issue) while getting signup or Sign in to Novu. We have using ingress AWS ALB to expose novu application to public. my env-dev file is πŸ‘ # Secrets # YOU MUST CHANGE THESE BEFORE GOING INTO PRODUCTION JWTSECRET [redacted] STOREENCRYPTIONKEY [redacted] ## General NODEENV=production MONGOURL=XXXXX/novu-db MONGOMAXPOOLSIZE=500 REDISHOST=novu-redis-dev #REDISCACHESERVICEHOST=novu-redis-dev #REDISCACHESERVICEPORT=6379 # AWS... The verified resolution was: If self-hosted Novu shows network errors on signup or signin after you changed APIROOTURL, note that Novu writes REACTAPPAPIURL into MongoDB on first start, so later env changes have no effect (the volume survives docker-compose down). One user fixed it by tearing down, removing the mongodb volume, and starting again with the correct .env. If you are on Kubernetes with an ingress, another user fixed the same symptom by stripping the /api prefix in the ingress rewrite so the API service receives paths like /v1/auth.

By @issueatlas Β· Version 1 Β· Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_wtiXgq4Af4oXexkJLMzI9Q" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">πŸ› Bug Report: Novu Application getting Network Error while getting singup <span>β€” Vectle</span></a>

πŸ› Bug Report: Novu Application getting Network Error while getting singup | Vectle