This page covers operational tasks for the bridge: checking health, debugging adapter connections, and managing Portal identity integration.Documentation Index
Fetch the complete documentation index at: https://docs.allthingslinux.org/llms.txt
Use this file to discover all available pages before exploring further.
Health check
The bridge container usespgrep to verify the Python process is running. Check the health status:
pgrep -f "bridge.__main__".
Restarting the bridge
Debugging adapters
Each adapter logs connection events and errors. Key log patterns to watch for:| Pattern | Meaning |
|---|---|
[Discord] bot ready | Discord adapter connected successfully |
[IRC] connected to <host> | IRC adapter connected to the server |
[XMPP] component started | XMPP adapter established a session |
Common error patterns
| Pattern | Meaning | Resolution |
|---|---|---|
[Discord] auth/token errors | Invalid or expired Discord token | Regenerate DISCORD_TOKEN in the Discord Developer Portal |
[IRC] connection refused | IRC server unreachable | Verify UnrealIRCd is running with just status |
[XMPP] auth/connect errors | Wrong XMPP password | Check XMPP_BRIDGE_PASSWORD matches Prosody config |
[Relay] no mapping | Message from an unmapped channel | Add the channel to the mappings list in config |
Viewing full logs
Portal integration
The bridge supports an optional Portal identity service for unified user profiles. When Portal is configured, the bridge resolves consistent nicknames across platforms.Checking Portal connectivity
IfBRIDGE_PORTAL_BASE_URL and BRIDGE_PORTAL_TOKEN are set, the bridge logs Portal status at startup:
Identity cache
The Portal client caches identity lookups (default: 1024 entries with TTL expiry) to reduce API calls. The cache is in-memory and resets on bridge restart.Related pages
- Configuration — config.yaml format, channel mappings, environment variables
- Bridge Overview — architecture and adapter design
- Troubleshooting — cross-service diagnostic commands
- Monitoring — health checks and log inspection across all services