Simple Voice Chat

Simple Voice Chat

31M Downloads

Netcat Port Test Works, But I am still getting "Voice chat unavailable" message

JurassikLizard opened this issue ยท 19 comments

commented

I setup the server I was supposed to, I added the mod to the server and I added the fabric API. I also have 3 more mods, Lithium, Posphor and Carboard (Bukkit4Fabric). On my client I have the voice chat mod, fabric API, and OptiFabric and OptiFine.

I setup netcat like it says on the wiki page. And the connection worked, I am using port 25570.

First picture is client, second one is server, I accidentally typed hey in the server window.

image

image

commented

https://www.curseforge.com/minecraft/mc-mods/simple-voice-chat/files/all

image

You might want to ask your hoster for the port and the bind address.

commented

This isn't a standard minecraft host, it's a private vm that is being used to host minecraft, it's not a designated minecraft hoster, it's cloud virtual machines. and that is my bind address, it is what I use to connect to my server.

image

commented

I know that. But there might be something special you need to do, to bind the address.

Quote from the FAQ:

I am not tech support. Ask your server hoster or use the internet to search for a solution.

The issue section is only for bugs and feature requests. I can't help everyone with their problems. I have not enough time to help everybody. You have to find that out by yourself.

commented

It seems to have fixed it self, oh well

commented

Does it work both ways?
Are you using a server with multiple network adapters?
Have you tried it without any other mods?
Please send me your log files and the contents of your client and server configs.
Which mod version and which Fabric version are you using?

commented

Both ways? So when I type in server it sends to client? Yes, it works both ways. I am using the most recent version of the VoiceChat mod and the most recent Fabric version as well (Both for 1.16.5, I set the server up today)

And, if it helps, it says that my client constantly times out it game
image

commented

Server Config:

#Tue Mar 09 15:07:22 UTC 2021
voice_fade_distance=90.0
sample_rate=16000
port=25570
mtu_size=900
voice_distance=110.0
keep_alive=1000
bind_address=

Client Config:

#Tue Mar 09 09:05:22 EST 2021
output_buffer_size=6
voice_activation_threshold=-60.036363636363646
speaker=Headset Earphone (Plantronics Blackwire 7225 Series)
microphone=Headset Microphone (Plantronics Blackwire 7225 Series)
microphone_amplification=4.0
microphone_activation_type=PTT
voice_chat_volume=1.0

commented

Please always write the exact version string. I released about 4 new versions today.

commented

And, if it helps, it says that my client constantly times out it game
image

It looks like it is the bind IP issue.

Just add your servers IP address to this config entry: bind_address=

commented

[FABRIC][1.16.5] Simple Voice Chat 1.16.5-1.0.9

^^ The version I used

commented

And, if it helps, it says that my client constantly times out it game
image

It looks like it is the bind IP issue.

How would I fix this, I use Google Cloud Platform for hosting

commented

Just add your servers IP address to this config entry: bind_address=

commented

Ok, I will try that

commented
[15:17:31] [VoiceChatServerThread/ERROR]: Failed to bind to address '35.186.176.248'
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]: java.net.BindException: Cannot assign requested address (Bind failed)
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]:      at java.base/java.net.PlainDatagramSocketImpl.bind0(Native Method)
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]:      at java.base/java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:131)
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]:      at java.base/java.net.DatagramSocket.bind(DatagramSocket.java:394)
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]:      at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:244)
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]:      at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:301)
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]:      at de.maxhenkel.voicechat.voice.server.Server.run(Server.java:60)

Is what happens when I do the bind-address

commented
[15:17:31] [Server thread/INFO]: Done (12.626s)! For help, type "help"
[15:17:31] [VoiceChatServerThread/ERROR]: Failed to bind to address '35.186.176.248'
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]: java.net.BindException: Cannot assign requested address (Bind failed)
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]:      at java.base/java.net.PlainDatagramSocketImpl.bind0(Native Method)
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]:      at java.base/java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:131)
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]:      at java.base/java.net.DatagramSocket.bind(DatagramSocket.java:394)
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]:      at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:244)
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]:      at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:301)
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]:      at de.maxhenkel.voicechat.voice.server.Server.run(Server.java:60)
2021-03-09 15:17:31,517 Server thread WARN JNDI lookup class is not available because this JRE does not support JNDI. JNDI string lookups will not be available, continuing configuration. Ignoring java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JndiLookup to org.apache.logging.log4j.core.lookup.StrLookup
2021-03-09 15:17:31,519 Server thread WARN JMX runtime input lookup class is not available because this JRE does not support JMX. JMX lookups will not be available, continuing configuration. Ignoring java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup to org.apache.logging.log4j.core.lookup.StrLookup
2021-03-09 15:17:31,522 Server thread WARN JNDI lookup class is not available because this JRE does not support JNDI. JNDI string lookups will not be available, continuing configuration. Ignoring java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JndiLookup to org.apache.logging.log4j.core.lookup.StrLookup
2021-03-09 15:17:31,523 Server thread WARN JMX runtime input lookup class is not available because this JRE does not support JMX. JMX lookups will not be available, continuing configuration. Ignoring java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup to org.apache.logging.log4j.core.lookup.StrLookup
2021-03-09 15:17:31,567 Server thread WARN Unable to register Log4j shutdown hook because JVM is shutting down. Using SimpleLogger
commented

[FABRIC][1.16.5] Simple Voice Chat 1.16.5-1.0.9

^^ The version I used

This is not the latest version. Please update to the latest version.

commented
[15:17:31] [Server thread/INFO]: Done (12.626s)! For help, type "help"
[15:17:31] [VoiceChatServerThread/ERROR]: Failed to bind to address '35.186.176.248'
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]: java.net.BindException: Cannot assign requested address (Bind failed)
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]:      at java.base/java.net.PlainDatagramSocketImpl.bind0(Native Method)
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]:      at java.base/java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:131)
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]:      at java.base/java.net.DatagramSocket.bind(DatagramSocket.java:394)
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]:      at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:244)
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]:      at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:301)
[15:17:31] [VoiceChatServerThread/INFO]: [STDERR]:      at de.maxhenkel.voicechat.voice.server.Server.run(Server.java:60)
2021-03-09 15:17:31,517 Server thread WARN JNDI lookup class is not available because this JRE does not support JNDI. JNDI string lookups will not be available, continuing configuration. Ignoring java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JndiLookup to org.apache.logging.log4j.core.lookup.StrLookup
2021-03-09 15:17:31,519 Server thread WARN JMX runtime input lookup class is not available because this JRE does not support JMX. JMX lookups will not be available, continuing configuration. Ignoring java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup to org.apache.logging.log4j.core.lookup.StrLookup
2021-03-09 15:17:31,522 Server thread WARN JNDI lookup class is not available because this JRE does not support JNDI. JNDI string lookups will not be available, continuing configuration. Ignoring java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JndiLookup to org.apache.logging.log4j.core.lookup.StrLookup
2021-03-09 15:17:31,523 Server thread WARN JMX runtime input lookup class is not available because this JRE does not support JMX. JMX lookups will not be available, continuing configuration. Ignoring java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup to org.apache.logging.log4j.core.lookup.StrLookup
2021-03-09 15:17:31,567 Server thread WARN Unable to register Log4j shutdown hook because JVM is shutting down. Using SimpleLogger

Which hoster are you using?

commented

Google Cloud Platform, so a Private VM, and, where would I find the latest version, I see this on the curse page:
image

commented

Ok, I fixed it, for anyone wondering how I did it, I set the bind address to 0.0.0.0