Troubleshooting¶
Common issues and solutions for Bubbaloop.
Installation Issues¶
"pixi: command not found"¶
Pixi is not in your PATH.
Solution:
GStreamer plugin errors¶
Missing GStreamer plugins.
Solution:
# Verify plugins
pixi run gst-inspect-1.0 rtspsrc
pixi run gst-inspect-1.0 h264parse
# Reinstall dependencies
pixi install --force
Build failures¶
Compilation errors.
Solution:
# Clean build cache
pixi run cargo clean
pixi run build
# Check for missing system dependencies
pixi install
Camera Issues¶
Camera not connecting¶
RTSP connection fails.
Checklist:
- Verify RTSP URL is correct
- Test with VLC:
vlc rtsp://... - Check firewall allows RTSP (port 554)
- Verify credentials are correct
- Ensure camera is on the same network
Debug:
"Waiting for keyframe" in dashboard¶
Stream is running but video not displaying.
Causes:
- Waiting for H264 keyframe (IDR frame)
- Stream is H265/HEVC (not supported)
- Incorrect topic subscription
Solutions:
- Wait a few seconds for the next keyframe
- Verify camera streams H264 (not H265)
- Check topic pattern is correct
Low FPS / stuttering¶
Video is choppy or low frame rate.
Checklist:
- Check network bandwidth
- Use sub-stream instead of main stream
- Reduce number of cameras
- Increase
latencyin config
High latency¶
Video is significantly delayed.
Solutions:
- Decrease
latencyin camera config - Use wired connection instead of WiFi
- Use sub-stream for lower bandwidth
Dashboard Issues¶
"WebSocket disconnected"¶
Dashboard can't connect to Zenoh bridge.
Checklist:
- Verify bridge is running:
pixi run bridge - Check bridge listening on port 10001
- Try refreshing the page
- Check browser console for errors
"WebCodecs not supported"¶
Browser doesn't support H264 decoding.
Solution:
- Use Chrome 94+, Edge 94+, or Safari 16.4+
- Firefox is NOT supported
- Access via
localhostor HTTPS
Black screen / no video¶
Video element shows nothing.
Checklist:
- Verify camera is connected (check
bubbaloop node logs rtsp-cameraoutput) - Verify topic is correct in panel settings
- Check browser console for decoder errors
- Try refreshing the page
Certificate error (remote access)¶
Browser shows security warning.
Solution:
- This is expected for self-signed certificates
- Click "Advanced" → "Proceed to site"
- Certificate is per-browser, repeat for each browser
Zenoh Issues¶
Can't connect to Zenoh router¶
Services can't connect to tcp/127.0.0.1:7447.
Checklist:
- Start Zenoh router first:
zenohd -c zenoh.json5 - Or use
pixi run upto start everything - Check port 7447 is not in use
Topics not appearing¶
Services running but no data in dashboard.
Debug steps:
- Check
bubbaloop debug topics - Verify services are publishing
- Check Zenoh connectivity
Remote connection fails¶
Can't connect to Zenoh on another machine.
Checklist:
- Verify server IP is correct
- Check firewall allows port 7447
- Ensure router config listens on
0.0.0.0:
Weather Issues¶
No weather data¶
OpenMeteo service not publishing.
Checklist:
- Check internet connectivity
- Verify service is running:
bubbaloop node logs openmeteo - Check service logs for API errors
- Verify Open-Meteo API is accessible
Wrong location¶
Weather data for incorrect location.
Solutions:
- Set explicit coordinates in config
- Disable
auto_discover:
Performance Issues¶
High CPU usage¶
System running slowly.
Possible causes:
- Too many cameras
- Main streams instead of sub-streams
- Debug logging enabled
Solutions:
- Use sub-streams (lower resolution)
- Reduce number of cameras
- Use
RUST_LOG=info(not debug)
High memory usage¶
Memory consumption growing.
Possible causes:
- Memory leak in long-running session
- Too many cameras
- Large video buffers
Solutions:
- Restart services periodically
- Reduce camera count
- Lower
latencyvalues
Browser Console Errors¶
"Failed to execute 'decode' on 'VideoDecoder'"¶
WebCodecs decoder error.
Causes:
- Invalid H264 data
- Missing SPS/PPS headers
- Stream corruption
Solutions:
- Refresh the page
- Wait for next keyframe
- Check camera is outputting valid H264
"WebSocket connection failed"¶
Can't establish WebSocket.
Causes:
- Bridge not running
- Proxy misconfiguration
- Network issues
Solutions:
- Verify
pixi run bridgeis running - Check port 10001 is accessible
- Check browser dev tools Network tab
Logging¶
Enable debug logging¶
View specific module logs¶
# Set RUST_LOG before starting the node, or check logs via journalctl
RUST_LOG=trace bubbaloop node logs rtsp-camera -f
Browser console¶
- Open browser Developer Tools (F12)
- Go to Console tab
- Look for errors and warnings
Getting Help¶
If issues persist:
- Check GitHub Issues
- Join Discord
- Include:
- OS and version
- Browser and version
- Error messages
- Steps to reproduce
Next Steps¶
- CLI Commands — Command reference
- Configuration — Configuration options
- Architecture — System design