Krypton

Krypton

22M Downloads

"Connection lost" to localhost after extended periods of play

Hoborific opened this issue · 19 comments

commented

I had Krypton installed on my local server and client and have faced an issue where I receive "connection lost" after an hour to so of gameplay, removing krypton has seemingly been the "solution"

The log for the client is empty at the time I get disconnected and there's no errors or warnings outside shaders printed during gameplay to indicate anything going wrong, the server itself still responds to remote and local connections fine just not my client which instantly cannot connect, there's no errors from a netty thread like I had expected for a networking issue for such an issue, not sure how to diagnose.

I am very willing to try a verbose printing/debug version of krypton if there is a way to do so if it helps find the incompatibility or issue that arises from having one or more of the mods I have installed present.

Please let me know, Thanks,
Hobo.

  • [✔️] AnvilFix-1.1.3+build.7-1.16
  • [✔️] appleskin-mc1.16-fabric-1.0.11
  • [✔️] BasicNetherOres-1.16.4-5.4.0
  • [✔️] bedspreads-fabric-1.3.1-1.16.4
  • [✔️] BetterCaves-fabric-1.16.2-1.0.3
  • [✔️] BetterMineshafts-Fabric-1.16.4-1.0
  • [✔️] betterthanmending-1.2.0
  • [✔️] carpet-extra-1.16.5-1.4.23
  • [✔️] carpet-tis-addition-mc1.16.5-1.12.0+build.385
  • [✔️] cc-tweaked-fabric-1.16.2-1.91.2
  • [✔️] chat_heads-0.2.1+1.16.2
  • [✔️] CraftPresence-Fabric-1.16.4-Release-1.7.6
  • [✔️] creeper-spores-1.4.1
  • [✔️] dark-loading-screen-1.6.2
  • [✔️] extraalchemy-fabric-1.16.4-1.3.1
  • [✔️] fabric-api-0.29.3+1.16
  • [✔️] fabric-carpet-1.16.4-1.4.22+v210113
  • [✔️] fabric-chunkpregen-0.3.3
  • [✔️] fabric-language-kotlin-1.4.21+build.1
  • [✔️] fallingleaves-1.4
  • [✔️] fastfurnace-2.3
  • [✔️] fatxporbs-0.0.9+1.16.4
  • [✔️] Harvest-fabric-1.16.1-1.2.12-26
  • [✔️] illuminations-1.4.3
  • [✔️] immersive-portals-0.68-mc1.16.5-fabric
  • [✔️] inmis-2.1.1-1.16.4
  • [✔️] lazydfu-0.1.1
  • [✔️] lithium-fabric-mc1.16.4-0.6.0.jar
  • [✔️] mousewheelie-1.6.3+mc1.16.4
  • [✔️] nourish-1.2.0
  • [✔️] optifabric-1.8.16
  • [✔️] OptiFine_1.16.4_HD_U_G6
  • [✔️] particle-rain-1.2.0
  • [✔️] platos-transporters-1.16-1.6.4
  • [✔️] randompatches-2.1.9-fabric
  • [✔️] RoughlyEnoughItems-5.8.10
  • [✔️] seasons-1.0.3-BETA
  • [✔️] Silky-Spawners-2.1.0+build.2-1.16
  • [✔️] sodium-fabric-mc1.16.3-0.1.0.jar
  • [✔️] spark-fabric
  • [✔️] staffofbuilding-1.2.4-1.16.2
  • [✔️] starlight-0.0.3_self_compiled
  • [✔️] suitablystackablestew-1.1.1
  • [✔️] traverse-3.2.0+build.17
  • [✔️] vanguard-uninstaller
  • [✔️] visualoverhaul-1.0.0
  • [✔️] Xaeros_Minimap_21.0.0_Fabric_1.16.4
  • [✔️] XaerosWorldMap_1.11.7_Fabric_1.16.4
  • [✔️] xp_storage-1.3+1.16.4
  • [✔️] YungsApi-1.16.4-Fabric-1

and Krypton which was recently removed is version 0.1.1

commented

Same issue here, getting disconnected after just a minute from loading up a world. The old version 0.1.0 still works

commented

What mods do you run @xpopy?

commented

@xpopy
Sorry for off topic
Where can I download sodium-extra? Also why are you using both smooth boot and lazydfu?

commented

Trying out the new build, I haven't gotten a disconnect yet but instead i've gotten desynced. Actions such as dropping items, changing gamemode doesn't actually do anything, and any blocks i place/destroy are not saved when i reload the world

I can't reproduce this on either a dedicated server or the integrated server. I am using a minimized list of mods, the ones in common on @Hoborific and your list of mods, and with Krypton build 46.

commented

@RDKRACZ
https://github.com/FlashyReese/sodium-extra-fabric/
you can find a compiled version in the Github Actions, download the "build-artifacts" from the latest successfull build

I used smoothboot before i found lazydfu, just forgot to remove it

commented

Thanks.

commented

These are my mods

  • architectury-1.2.68-fabric
  • blockmeter-1.16.3-fabric0.20.2-1.5.2
  • cmdkeybind-1.5.2-1.16
  • dynamic-fps-2.0.0
  • fabric-api-0.29.1+1.16
  • fallingleaves-1.4
  • hydrogen-fabric-mc1.16.5-0.2
  • krypton-0.1.1
  • lazydfu-0.1.1
  • light-overlay-5.6.1
  • lithium-fabric-mc1.16.5-0.6.1
  • logical_zoom-0.0.4
  • maptooltip-1.16-1.1
  • modmenu-1.14.13+build.19
  • shulkerboxtooltip-2.3.3+1.16.4
  • smoothboot-fabric-1.16.4-1.3.2
  • soaring-clouds-1.1.0-1.16
  • sodium-extra-1.0.0
  • sodium-fabric-mc1.16.4-0.1.1-SNAPSHOT
  • starlight-fabric-0.0.3
  • tic-tacs-0.1.3
  • WorldEditCUI-1.16.2+01
  • worldedit-fabric-mc1.16.3-7.2.1-dist
commented

The only mods in common on that list are Fabric API, LazyDFU (which can't cause this issue), Lithium, and Starlight. Time to go deeper.

commented

Please try build 46.

commented

Trying out the new build, I haven't gotten a disconnect yet but instead i've gotten desynced. Actions such as dropping items, changing gamemode doesn't actually do anything, and any blocks i place/destroy are not saved when i reload the world

commented

I haven't had a connection issue in four and a half hours with the build provided in this issue, will report back if it happens again.

commented

it eventually happened, no message in either log in the last 40 minutes before the disconnect.

I did have a lot of errors such as:
[02:19:02] [Server thread/WARN]: Mismatch in destroy block pos: class_2338{x=-411, y=68, z=648} class_2338{x=-485, y=71, z=644}

but I believe it to be unrelated and hasn't happened in console in over 4 minutes since the timeout

commented

it eventually happened, no message in either log in the last 40 minutes before the disconnect.

I did have a lot of errors such as:
[02:19:02] [Server thread/WARN]: Mismatch in destroy block pos: class_2338{x=-411, y=68, z=648} class_2338{x=-485, y=71, z=644}

but I believe it to be unrelated and hasn't happened in console in over 4 minutes since the timeout

To my knowledge that only happens when things like ghost blocks are created by client server de-sync.

commented

Let's try an older build. Does build 35 work?

commented

no disconnect yet 4h45m of build35, a lot of client desync warnings using efficiency4 diamonds tools however I don't believe that to be related

commented

I've been unable to reproduce client desync issues with Krypton and a few other safe mods. So I honestly think desyncs are some other issue and probably not even Krypton-related.

If this holds up then the flush consolidation is at fault.

commented

Try build 47 build 48 - I've neutered flush consolidation significantly in this build.

commented

@Hoborific @xpopy sending a chaser to try build 48 of Krypton. If I don't get a response in a week I'm going to assume the issue has been fixed and will release a 0.1.2.

commented

Sorry for the poor reply time, I have removed the mod from production however build 48 got a use time of at least five 5 hour runs, I can't confidently say it's fixed however the general reproduction had it crash within 5 hours with one exception over at least 6 runs before build 48.

I will reintroduce it into my live server to see if I can't get more man-hours behind it to reproduce.

I am quite happy with this outcome and will reopen if something arises.