Skip to content

Troubleshooting

This guide covers the most frequent issues encountered by users and provides step-by-step solutions to resolve them.


If your client fails to connect with a 401 error, verify your authorization header.

If the connection times out after 10-20 seconds:

  1. Ensure the port (default 2333) is open in your firewall.
  2. Check if you are using a reverse proxy (like Nginx/Cloudflare) and ensure WebSocket support is enabled.

Stuttering is usually caused by network congestion or CPU starvation.

  1. Check CPU Usage: Ensure the host isn’t hitting 100% CPU. Audio encoding is intensive.
  2. Network Jitter: Check the connection between Rustalink and Discord’s voice servers.
  3. Buffering: Increase the buffer_duration_ms in your configuration if the network is unstable.

Rustalink is designed to be lean. If you see memory usage exceeding 200-300MB per 100 players:

  • Check if you have extremely large queues.
  • Ensure you are using the latest stable version.

If running in Docker, localhost refers to the container itself.

  • Use 0.0.0.0 as the address in config.toml to allow external connections.
  • Ensure you have mapped the ports correctly: -p 2333:2333.

Join our community on Discord or open an issue on GitHub.