Radio bot online with presence but never in voice on live — root cause pending the admin-page reading #39
Closed
opened 2026-10-04 22:43:17 -04:00 by logan
·
2 comments
No Branch/Tag Specified
main
feat/45-trunk-recorder
fix/44-upload-spool
feat/41-disk-reporting
fix/41-updater-prune
fix/discord-voice-join
fix/updater-safe-directory
fix/28-amd64-images
fix/18-install-token-argv
fix/19-image-tag-skew
feat/discord-system
feat/24-p25-conventional
feat/local-ui-usable
fix/14-15-provision-ota
feat/sdr-pins
feat/secondary-sdr-priority
feat/second-sdr-adsb-ais
feat/publish-public-images
fix/install-rerun-pickup
pulse-recorder
v1.1.0
v1
Labels
Clear labels
area/ai-pipeline
area/auth
area/billing
area/correlation
area/discord
area/frontend
area/governance
area/growth
area/infra-deploy
area/legal
area/map
area/mqtt
area/node-ota
area/osint
area/recording-audio
area/sdr-radio
area/transcription
board
board:agenda
Scene/entity extraction, summarizer, AI providers, embeddings
AuthN/Z, roles, tenancy/org scoping, API keys, credentials
Plans, entitlements, AI spend accounting and caps
Incident correlation, linking, lifecycle, severity, corr_debug
Discord bot, radio bots, voice streams, bot tokens, webhooks
Web UI: Next.js app and the edge-node local dashboard
Board process, minutes, unattended runner, agent tooling
Go-to-market, outreach, cold email, discovery conversations
CI/CD, VM, registry, Firestore rules/indexes deploy, Terraform/Caddy
ToS, retention, licences/DAAs, CAN-SPAM, E&O, name suppression
Live map: pins, paths, tiles, legend, geocoding
Node-C2 MQTT, checkins, commands, node sweeper, dynsec
Node install, enrollment, OTA updater, image skew
External feeds: cameras, 511, ADS-B, AIS, outages, and their licences
Call capture, boundaries, PulseAudio, ring buffer, trimming, attribution
OP25 decode, SDR hardware/tuning, conventional, second SDR, mesh radio
STT, transcript correction, place verification, name accuracy
Board process: minutes and board-filed items
Needs board scoping at the next sitting; CEO removes the label once scoped
kind
behavior-bug
Wrong product behavior; the instrument reads it correctly
kind
measurement-bug
Corrupts the recording/instrument (debug data, evals, health checks), not behavior
priority
p0
Drop everything: prod broken, live exposure, or owner-ruled P0
priority
p1
Next up: blocks a gate, a customer, or core incident quality
priority
p2
Normal: real defect or planned work, schedule in turn
priority
p3
Low: minor, cosmetic, or someday
status
blocked
Waiting on an external party, spend, or another issue
status
in-progress
Branch or PR open against it
status
needs-decision
Waiting on an owner or board ruling before work
status
needs-info
Root cause or repro unknown; needs a reading first
type
bug
Something built is wrong: code, data, or a measurement
type
chore
Maintenance, refactor, tests, pinning, cleanup: no user-visible change
type
decision
A ruling to make or record: board minutes, owner calls, legal reviews
type
docs
Docs, runbooks, CLAUDE.md, skills, SOPs
type
feature
New capability or an extension of an existing one
type
security
Security, privacy, credential or tenant-isolation exposure
type
tracking
Tracker, checklist, initiative or punch-list spanning several changes
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: logan/node-26#39
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Owner report, prod fabdf58 / nodes on v1 (
44e41b3): the radio bot comes online with the right presence but never joins the voice channel. PR #38 makes the failure readable and makes presence honest. The root cause is not confirmed yet.Discriminator: the "Desired → actual" cell for this stream in Settings › Discord › Radio channels (with #38 deployed)
error+ "lacks Connect / View Channel / Speak" or "channel is full"error+ "timed out"voice_statelineserror+ "RuntimeError: davey/PyNaCl library needed"discord.py[voice]>=2.7)connectedbut the bot is not visible in that channelpendingand neverconnectingPre-#38 reading (v1 still live)
On v1, presence "Listening to " proves
channel.connect()succeeded at least once (presence is set only after a join and never cleared). If the bot instead shows "Listening to the radio", that is the server discord-bot's presence (drb-server-discord-bot/app/bot.py). That means either the wrong bot is being watched or the main bot's token was added to the radio pool.POST /tokensdoes not reject the main bot's token. If that is the case, file a server-26 follow-up.Evidence ruled out: DAVE deps for a current build (uv resolves discord.py 2.7.1 + davey 0.1.6 for py3.14 aarch64/x86_64). Guild cache (
Intents.guildsset, guild.me is always cached). Swallowed errors: all voice paths publishactual.error.Review correction to the reading guide: a stale (pre-2.7, no-DAVE) image would NOT show
RuntimeError ... davey. discord.py <2.7 has no DAVE code; Discord closes the voice ws with 4017, discord.py retries 5x (1/3/5/7/9s backoff) and hits its 30swait_for-> the admin page showsconnect_timeout("timed out"). The davey RuntimeError only happens with 2.7+ installed without davey, which the[voice]extra prevents. So: "timed out" -> grep the node's edge-node log for4017(stale image) vs no 4017 (UDP egress / handshake). Also verified independently: PyPI shows davey first in the[voice]extra at 2.7.0 (2026-02-27); requirements.txt last changed 2026-08-16, so the registry buildcache layer cannot predate 2.7. And the main bot (Serverdrb-server-discord-bot/app/bot.py:28) sets "Listening to the radio" on ready; confirm which bot the owner is looking at first. Fixups pushed to PR #38 in2065446.Closing per owner (2026-10-27): the radio bot does join voice on live now, so the root-cause hunt is moot. Reopen if it comes back.