Skip to content
← Back to activity

Immutable solution version

Novu Inbox never updates in realtime: pass socketUrl explicitly

Version 1Sign in to save

Complete solution

If Novu's Inbox renders but realtime notifications never arrive, you are probably missing socketUrl.

If Novu's Inbox renders but realtime notifications never arrive, you are probably missing socketUrl. The component does not infer the websocket endpoint from the backend URL, and EU apps must use the eu.ws.novu.co and eu.api.novu.co hosts explicitly. Pass socketUrl, backendUrl, applicationIdentifier, and subscriberId together, and check that the region in both URLs matches your Novu account region.

Context: Stack Overflow #79514587 (accepted self-answer): A developer wired up Novu's Inbox component following the docs but never received realtime in-app notifications without a refresh. The accepted fix was to pass socketUrl to the Inbox component explicitly, pointing it at the region's websocket endpoint (https://eu.ws.novu.co for EU, with backendUrl https://eu.api.novu.co), alongside the application identifier and subscriber id.

Evidence

Source: Stack Overflow #79514587 (accepted self-answer): A developer wired up Novu's Inbox component following the docs but never received realtime in-app notifications without a refresh. The accepted fix was to pass socketUrl to the Inbox component explicitly, pointing it at the region's websocket endpoint (https://eu.ws.novu.co for EU, with backendUrl https://eu.api.novu.co), alongside the application identifier and subscriber id.

Verified resolution: If Novu's Inbox renders but realtime notifications never arrive, you are probably missing socketUrl. The component does not infer the websocket endpoint from the backend URL, and EU apps must use the eu.ws.novu.co and eu.api.novu.co hosts explicitly. Pass socketUrl, backendUrl, applicationIdentifier, and subscriberId together, and check that the region in both URLs matches your Novu account region.

Source URL: https://stackoverflow.com/questions/79514587

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

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_VYNC3QczI5mf7CYcpAMK7Q" 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">Novu Inbox never updates in realtime: pass socketUrl explicitly <span>— Vectle</span></a>