© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4mo ago•
12 replies
Sebas

Broadcasting not emitting events

I am having some issues getting broadcasting to work locally. I have created a very permissive migration (see screenshot) to test.
It follows the official Supabase documentation on how to setup broadcasting and, for confirmation that it is actually triggering the function, I also add a record to the
broadcast_debug_log
broadcast_debug_log
table.

When I run my application, I can confirm that there are records being inserted in the table, but no broadcast events are emitted.
I am using the
realtime inspector
realtime inspector
as
service_role
service_role
to subscribe to the channel
topic:worker_run_tracking_changes
topic:worker_run_tracking_changes
and I see the
postgres_changes
postgres_changes
events coming in but no
broadcast
broadcast
events

I also have a
realtime-listener.js
realtime-listener.js
script (see screenshots as well) that listens for events that is also not receiving any of the
broadcast
broadcast
messages.
The only messages I see are ones that I manually trigger through another JS script:
  const payload = {
    msg: "🚀 Hello from broadcaster!",
    time: new Date().toISOString(),
    pid: process.pid,
  };

  const result = await channel.send({
    type: "broadcast",
    event: "manual_test",
    payload,
  });
  console.log("📬 Broadcast result:", result);
  const payload = {
    msg: "🚀 Hello from broadcaster!",
    time: new Date().toISOString(),
    pid: process.pid,
  };

  const result = await channel.send({
    type: "broadcast",
    event: "manual_test",
    payload,
  });
  console.log("📬 Broadcast result:", result);


What might I be doing wrong? Why isn't the broadcasting working?
image.png
image.png
image.png
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

realtime only emitting DELETE events no INSERT or UPDATE events
SupabaseSSupabase / help-and-questions
4y ago
Supabase realtime not always emitting
SupabaseSSupabase / help-and-questions
4y ago
Realtime not receiving events
SupabaseSSupabase / help-and-questions
4y ago
Broadcasting on databasse tables and RLS
SupabaseSSupabase / help-and-questions
9mo ago