Troubleshooting
Common issues and solutions for Tommy's Radio system.
🎤 Microphone Issues
Problem: Microphone not working in-game
Solution:
- Open radio → ST button → Navigate with arrow keys → Select different microphone device
- Check FiveM permissions - ensure you clicked "Allow" for microphone access
Permission Reset
If you denied microphone permission, clear FiveM cache to get the permission prompt again.
🔌 Connection Issues
Problem: "Failed to connect to radio server"
Console Errors Indicate Blocked Port:
[Radio-Server] ERROR Health check failed after 4 attempt(s)
[Radio-Server] WARN HTTP endpoint test failed - connect ECONNREFUSEDPort Testing
- Start the radio resource on your server
- Go to https://portchecker.co/check-v0
- Enter your server IP and port (e.g.,
192.0.2.100:7777) - Check the result:
- ✅ "Open" = Port is configured correctly
- ❌ "Closed" = Port is blocked (see solutions below)
Web Panel Hosting Solutions
Problem: Port shows as "Closed" even after adding it in the panel
Common with Pterodactyl-Based Hosts
Many hosting providers (Gravel Host, RocketNode, VibeGames, etc.) require you to open a support ticket with them to actually open the port, even after adding it in your panel.
Steps:
- Verify new port added in panel's Network/Ports/Allocations section
- Confirm NOT using FiveM (30120) or txAdmin (40120) ports
- Set port in config.lua:
serverPort = 50978andconnectionAddr = "http://192.0.2.100:50978/" - Restart entire server from panel
- Test with portchecker.co
- If still closed, open support ticket: "Need port [YOUR_PORT] opened for voice server. Port added in panel but shows closed on port checker."
Common Provider-Specific Issues
| Provider | Common Issue | Solution |
|---|---|---|
| Gravel Host | Port added but not open | Usually requires ticket |
| RocketNode | Only 2 ports visible | Request 3rd port via ticket |
| VibeGames | Panel changes don't apply | Contact support via ticket |
| ZAP Hosting | Allocation not active | Restart server or contact support |
VPS/Dedicated Server Solutions
If you have direct server access, open the port manually:
Ubuntu/Debian:
sudo ufw allow 7777
sudo ufw reload
sudo ufw status # Verify it's openCentOS/RHEL:
sudo firewall-cmd --permanent --add-port=7777/tcp
sudo firewall-cmd --reloadWindows Server:
netsh advfirewall firewall add rule name="Radio Voice Server" dir=in action=allow protocol=TCP localport=7777Checklist
-
fx_version 'bodacious'in fxmanifest.lua - Port not in use (not 30120 or 40120)
-
serverPortandconnectionAddrmatch and use same port - Resource starts without errors
- Tested with portchecker.co while resource running
Error Messages
| Error | Cause |
|---|---|
| ECONNREFUSED | Port blocked, wrong IP/port, firewall blocking |
| Invalid URL | Wrong connectionAddr format, try connectionAddr = "" |
| xhr poll error | Port not accessible, provider hasn't opened port |
Still Not Working?
Contact your hosting provider with: server IP, port number, screenshots showing port added in panel and portchecker.co showing closed. This is almost always a hosting configuration issue.
Success Indicators
When everything is configured correctly, you should see:
[Radio-Server] ℹ Started Radio Server - Running Checks...
[Radio-Server] ℹ HTTP endpoint test passed (attempt 1/4)
[Radio-Server] ℹ Socket.IO connection test passed (attempt 1/4)
╭────────────────────────────────────────────────────╮
│ │
│ ✅ Tommy's Radio - System Ready │
│ │
│ Version: v3.1 │
│ Status: Started - All Systems Operational │
│ Panel: http://192.0.2.100:7777/ │
│ NAC ID: 141 │
│ FX Ver: bodacious │
│ Config: 3 zones, 12 channels │
│ │
╰────────────────────────────────────────────────────╯Key indicators of success:
- ✅ No "Health check failed" warnings
- ✅ No "ECONNREFUSED" errors
- ✅ Status shows "All Systems Operational"
- ✅ Port checker shows your port as "Open"
- ✅ Panel URL is accessible in browser
📞 Dispatch Panel Problems
Problem: NAC Code Doesn't Work in Desktop App
Cause: Desktop app defaults to demo server.
Solution:
- Open app, login with
141 - Click settings cog (⚙️) at top-right
- Change Endpoint URL to:
http://192.0.2.100:7777/(your IP and port) - Save - app refreshes
- Login with YOUR
dispatchNacId
Problem: "Where Do I Get the NAC Code?"
You CREATE it in config.lua - it's YOUR dispatch panel password.
Config = { dispatchNacId = "DISPATCH2024" } -- This is your login codeLogin at http://yourip:port/ using whatever you set as dispatchNacId.
Problem: Can't Talk on Dispatch Panel
Browsers block microphone on HTTP.
Solution: Use desktop app (recommended) or setup HTTPS for production.
🚨 Emergency Features
| Issue | Fix |
|---|---|
| Can't activate Signal 100 | Add NAC ID to Config.signalNacIds |
| Panic not visible | Check visibleToNacs in channel config |
| No emergency sounds | Set playTransmissionEffects = true |
📡 GPS & Tracking
GPS not showing?
- Check NAC permissions in channel config
- Enable GPS in radio settings (ST menu)
- Verify channel has GPS configured:
gps = { color = 54, visibleToNacs = { "100" } }
🔊 Audio Problems
| Symptom | Solution |
|---|---|
| No voice at all | Check NAC ID has channel access in allowedNacs |
| No background effects | Set playTransmissionEffects = true |
| Volume too low | Adjust voiceVolume and sfxVolume in config.lua |
| Static/interference | Check bonkingEnabled setting |
⚙️ Configuration Issues
| Issue | Fix |
|---|---|
| User can't connect to channel | Check allowedNacs includes their NAC ID |
| User can't scan channel | Verify scanAllowedNacs configuration |
| Wrong permissions | Review NAC ID assignment in getUserNacId function |
| Can't access zone | Add NAC ID to zone's nacIds array |
🐛 Debug Logging
Set Config.logLevel in config.lua:
- 0: Errors only | 1: Warnings | 2: Minimal | 3: Normal | 4: Detailed | 5: Verbose
Warning: Debug mode (4-5) creates extensive console output. Use only for troubleshooting.
📋 Support
Before asking for help:
- Check server console for errors
- Test on demo server
- Verify port is open with portchecker.co
Forum: FiveM Community Post
When reporting issues include:
- Console error messages
- Relevant config.lua sections
- Server framework (QBCore, ESX, etc.)