amsam0 / voicechat-discord

A mod and plugin to make a bridge between Simple Voice Chat and Discord to allow for players without the mod to hear and speak.
https://modrinth.com/mod/simple-voice-chat-discord-bridge
MIT License
24 stars 7 forks source link

Server freezes during startup #27

Closed fennecr closed 2 months ago

fennecr commented 1 year ago

Describe the bug During server startup, the console will stop outputting any information and not progress past " Voice chat server started at port"

To Reproduce Steps to reproduce the behavior:

  1. Start server using Quilt Loader, QSL, Simple Voice Chat, and Voice Chat Discord
  2. Server stalls while starting

Expected behavior Server continues to load

Logs // Plugin Types: {quilted_fabric_loader=[Fabric], quilt_loader=[Quilt, Builtin]} [22:29:53] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/D:/Downloads/1.20.1%20quilt/2/libraries/net/fabricmc/sponge-mixin/0.12.5+mixin.0.8.5/sponge-mixin-0.12.5+mixin.0.8.5.jar Service=Knot/Quilt Env=SERVER [22:29:53] [main/INFO]: Compatibility level set to JAVA_17 [22:29:54] [main/WARN]: @Inject(@At("INVOKE")) Shift.BY=2 on #quilt_testing:quilt_testing.mixins.json:server.MainMixin from mod quilt_testing::handler$zco000$quilt_testing$onStart exceeds the maximum allowed value: 0. Increase the value of maxShiftBy to suppress this warning. SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. [22:30:01] [main/INFO]: Compatibility version 17 [22:30:01] [main/INFO]: Loading plugins [22:30:01] [main/INFO]: Loaded 1 plugin(s) [22:30:01] [main/INFO]: Initializing plugins [22:30:01] [main/INFO]: Initialized 1 plugin(s) [22:30:01] [main/INFO]: Registering events for voicechat-discord [22:30:14] [VoiceChatServerThread/INFO]: Voice chat server started at port 24454 //

After this point, the server stalls indefinitely

Versions (please complete the following information):

amsam0 commented 1 year ago

Are you sure this only happens when you have the addon installed?

fennecr commented 1 year ago

Yes. Removing Voicechat Discord allows the server to start normally.

amsam0 commented 1 year ago

I'll look into this next time I work on the addon

amsam0 commented 3 months ago

Update: https://github.com/naturecodevoid/voicechat-discord/issues/51#issuecomment-2172184678

amsam0 commented 2 months ago

I've been unable to reproduce this. Let me know if you still have issues after updating to 3.0.0 (currently set to release on Wednesday) and I'll reopen the issue.