Simple Voice Chat issues

Hello all,

I am attempting to use the Simple Voice Chat mod on my hosted Minecraft server, but am having trouble connecting to the SVC server on my Minecraft client through the server’s public IP. Connecting to the Minecraft server and the SVC server works fine when the SVC server is using the default voicechat-server.properties configuration and connecting over local network. Connecting to the Minecraft server works fine using the playit.gg IP, but the SVC server does not connect.

Setup:

OS: ZimaOS v1.6.1

Software: Crafty Controller v.4.10.4

Server version: Fabric v1.21.11

Relevant voicechat-server.properties lines:
port=24454

bind_address=

voice-host=publicip:port # (would be the actual IP:port)

All other lines are default and have not been modified.

Crafty Controller is run in a Docker container and the relevant ports are as follows:

Server port is 25566 in container and on host machine, and is publicly accessible through the playit.gg tunnel with no issues, as well as through local network.

Port 24454 (in container) is a TCP+UDP port accessible through port 24454 on the host machine.

Relevant playit.gg configurations:

Tunnel 1 (MC server): public IP → server at port 25566 (works as expected)
Tunnel 2 (SVC server, setup using the MC: Simple Voice Chat tunnel type): public IP → server at port 24454

Server logs (successful connect over local network):

Server logs (connecting over public IP):

[21:56:56] [VoiceChatServerThread/INFO]: [voicechat] Voice chat server started at port 24454
[21:57:04] [User Authenticator #1/INFO]: UUID of player i_dunno1234 is c018d05c-dfb3-4fb2-9070-fb7a1939bf02
[21:57:06] [Server thread/INFO]: i_dunno1234[/192.168.0.237:62191] logged in with entity id 205 at (-511.6195736681106, 113.0, -216.69999998807907)
[21:57:06] [Server thread/INFO]: [voicechat] Using Fabric Permissions API
[21:57:06] [Server thread/INFO]: i_dunno1234 joined the game
[21:57:06] [Server thread/INFO]: [voicechat] Received secret request of i_dunno1234 (20)
[21:57:06] [Server thread/INFO]: [voicechat] Sent secret to i_dunno1234
[21:57:08] [Server thread/WARN]: Can’t keep up! Is the server overloaded? Running 2063ms or 41 ticks behind

I have followed the guide here for setting up the Simple Voice Chat mod as well as the forum guide here. I believe the issue is somewhere in my configuration or firewall but I am not sure where.

This could have something to do with it, server is lagging by 2s could cause a good number of issues.

I’m not sure what would cause that though, and it does that regardless of whether I connect over LAN or the tunnel. I do have a fair few optimization mods including Packet Fixer and Krypton that may mess with it though, I’ll do a little more messing around.

I’ll also have to poke around and make sure every port forwarding thing is setup right with Docker, and try putting it on the host network instead of its own network.

I have gotten it working, and will leave what worked for me here:

voicechat-server.properties:

port=24454

bind_address= # blank

voice_host=IP:port

Crafty Controller run with the host network instead of the container’s network