someaddons / connectivity

Minecraft mod connectivity which fixes connection issues
9 stars 0 forks source link

[Bug]: Connectivity Fabric-1.18.2-2.8 prevents the server from registering as online #25

Closed MaranRoseGIT closed 2 years ago

MaranRoseGIT commented 2 years ago

Describe the bug you're experiencing

I have installed the latest version of Connectivity for Fabric 1.18.2 along side my other mods in my mod-pack and I started up the server, and I am unable to connect to the server, as the server is online locally but will not register online elsewhere. No one else, including me are able to connect or see the server online.

Mods List: https://pastebin.com/HGeBSFg5 Video showing off the issue: https://www.youtube.com/watch?v=BAtlyC4SZDE

Reproducability

Download and Install the latest version of Connectivity for Fabric into a modded dedicated server. Start up the dedicated server, and try to connect to it.

Mod up to date

Minecraft version

1.18.1

Modloader version

Fabric

Logs

There are no found logs or crash reports.

someaddons commented 2 years ago

Must be a mod conflict, cannot reproduce it with a clean fabric server

MaranRoseGIT commented 2 years ago

Can you give me any hints on to what may be causing this mod conflict? There aren't any mods that mess with the networking stack or changes any of the network settings that Connectivity messes with; I've already tried to see if there was a conflict between Krypton and Connectivity, but I am unable to find one between them

MaranRoseGIT commented 2 years ago

Update: It's not a mod conflict, there is absolutely nothing here that is causing a conflict; I just tried it with a cleared 1.18.2 Fabric server with only Connectivity and Fabric API;

I am seeing literally zero mod conflicts, and the server.properties file in my dedicated server folder doesn't have any changed network settings other than the default it comes with.

Image 1: https://i.imgur.com/CIc8t2i.png Image 2 (Modded with Sodium and AuthMe): https://i.imgur.com/2zkxyR9.png Image 3 (Modded with only FabricAPI): https://i.imgur.com/v5OLk4S.png

Update 2: Is there anything else I could try to show you to see if it's a bug or not?

someaddons commented 2 years ago

interesting, now its failing for me aswell on a 1.18.1 server, tried with 1.18.2 earlier

someaddons commented 2 years ago

try version 2.9 once its approved, I think that should fix it(did for me at least)

MaranRoseGIT commented 2 years ago

After applying the patch, the server now appears online but once you attempt to connect to it, you are met with a blank disconnect error, with the console showing "handleDisconnection() called twice"

Image1: https://i.imgur.com/4YY6TDi.png Image 2: https://i.imgur.com/BYRl3Jw.png Image 3 (Showing the server online): https://i.imgur.com/z2yKPB9.png

MaranRoseGIT commented 2 years ago

After applying the patch, the server now appears online but once you attempt to connect to it, you are met with a blank disconnect error, with the console showing "handleDisconnection() called twice"

Image1: https://i.imgur.com/4YY6TDi.png Image 2: https://i.imgur.com/BYRl3Jw.png Image 3 (Showing the server online): https://i.imgur.com/z2yKPB9.png

Small little update, this appears for a very split second whilst connecting to the server: https://i.imgur.com/9L2ncZN.png

someaddons commented 2 years ago

now that is probably to do with another mod xD, turn on debugPrintMessages to true in the config (needs a restart) to see the actual error in the log

MaranRoseGIT commented 2 years ago

This is still the only error that shows up: https://i.imgur.com/LUaJiLS.png

There is nothing else going on in the console/logs, and no crash reports; I have no other mods that mess with the networking stack other than Krypton and Krypton doesn't affect Connectivity

someaddons commented 2 years ago

it works with Krypton ye, though you never know really which other mods may do stuff aswell

MaranRoseGIT commented 2 years ago

I haven't seemed to find any logs, or anything else that messes with networking that is causing this issue; I don't know what else to try out.

MaranRoseGIT commented 2 years ago

I haven't seemed to find any logs, or anything else that messes with networking that is causing this issue; I don't know what else to try out.

Update: After doing lots of testing going through each and every individual mod in my pack, it seems like Debugify causes network conflict for whatever reason with Connectivity, preventing users from joining the server. If you know what's up with that, please explain it to me because I am in an entire world of confusion.

Debugify: https://www.curseforge.com/minecraft/mc-mods/debugify

Though, for some reason, this will randomly happen: https://i.imgur.com/R1ucS66.png As well as this when someone else tries to join the server, they seem to get stuck frozen for a bit and then are able to move around: https://i.imgur.com/fZJ6oBT.png

someaddons commented 2 years ago

stuff gets very weird when networkstuff is messed up xD if its debugify conflicting that gonna help a lot finding it

MaranRoseGIT commented 2 years ago

Are you able to explain the other things? I don't have debugify on the server and those other issues I have below the debugify curseforgelink are happening every once in a while.

It's causing players on the server to randomly disconnect after certain periods of time, getting the timeout error.

someaddons commented 2 years ago

its just the normal message of a client disconnecting, you just see it due to debug config log ouput Btw I can't reproduce the issues with debugify

MaranRoseGIT commented 2 years ago

Well, if you install debugify along with the fabric-api, it seems to give errors with connectivity. I have removed debugify from my server for now as it was causing other issues too it seems. Everything else with connectivity is working A-Okay, and with your mod; one of my friends who has less than 3MB Down/Up is now able to play on my server. Cheers! (If there's nothing else you want to know, feel free to close this issue report, thank you so much for creating this wonderful mod!)

someaddons commented 2 years ago

glad its working now :D, also thanks for the reports always helps narrowing down issues