Console Spam #1

Closed
opened 2023-02-03 16:43:37 +01:00 by Helpdesk · 6 comments

Submitted by IAM Dean:

<html><head></head>The console is being spammed with this every few minutes:
[15:40:25] [Thread-5/INFO]: Detected updated config: ./config/libjf-web-v0.json5, reloading
[15:40:25] [Thread-5/INFO]: Detected updated config: ./config/libjf-translate-v1.json5, reloading
[15:40:25] [Thread-5/INFO]: Detected updated config: ./config/dynres.json5, reloading

All of these being libjf mods. How do I turn this off, its terrible
</html>
Submitted by IAM Dean: <html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">The console is being spammed with this every few minutes:<div><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Courier, sans-serif; font-size: 13.333333px; background-color: rgb(255, 255, 255);">[15:40:25] [Thread-5/INFO]: Detected updated config: ./config/libjf-web-v0.json5, reloading</span><br style="box-sizing: border-box; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Courier, sans-serif; font-size: 13.333333px; background-color: rgb(255, 255, 255);"><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Courier, sans-serif; font-size: 13.333333px; background-color: rgb(255, 255, 255);">[15:40:25] [Thread-5/INFO]: Detected updated config: ./config/libjf-translate-v1.json5, reloading</span><br style="box-sizing: border-box; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Courier, sans-serif; font-size: 13.333333px; background-color: rgb(255, 255, 255);"><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Courier, sans-serif; font-size: 13.333333px; background-color: rgb(255, 255, 255);">[15:40:25] [Thread-5/INFO]: Detected updated config: ./config/dynres.json5, reloading</span></div><div><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Courier, sans-serif; font-size: 13.333333px; background-color: rgb(255, 255, 255);"><br></span></div><div><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Courier, sans-serif; font-size: 13.333333px; background-color: rgb(255, 255, 255);">All of these being libjf mods. How do I turn this off, its terrible</span></div></body></html>
Owner

Peculiar.
I quickly set up a test server with the versions below and could not reproduce this problem even after running the server for 20 minutes.
If I had to guess, I'd say the source of the problem is one of the following:

  • Some other mod is messing with the config directory (possibly for automatic backups?)
  • Some script is messing with it
  • There's something wrong with the system/java configuration

Could you try replicating the issue with the server described below? You don't have to switch your OS if you are using something else, but that would be good to know.
If the issue doesn't occur there, try adding the mods you have in your main server and see whether the issue occurs, and if it does, try finding out which mod specifically causes it, so I can replicate and (potentially) solve the issue.

Test Server:

  • Linux Zen 6.1.9 (Arch)
  • Java 19
  • Minecraft 1.19.3
  • Fabric Loader 0.14.13
  • Fabric Installer 0.11.1
  • Fabric API 0.73.2
  • LibJF 3.4.2
  • DynRes 1.2.8
Peculiar. I quickly set up a test server with the versions below and could not reproduce this problem even after running the server for 20 minutes. If I had to guess, I'd say the source of the problem is one of the following: - Some other mod is messing with the config directory (possibly for automatic backups?) - Some script is messing with it - There's something wrong with the system/java configuration Could you try replicating the issue with the server described below? You don't have to switch your OS if you are using something else, but that would be good to know. If the issue doesn't occur there, try adding the mods you have in your main server and see whether the issue occurs, and if it does, try finding out which mod specifically causes it, so I can replicate and (potentially) solve the issue. Test Server: - Linux Zen 6.1.9 (Arch) - Java 19 - Minecraft 1.19.3 - Fabric Loader 0.14.13 - Fabric Installer 0.11.1 - Fabric API 0.73.2 - LibJF 3.4.2 - DynRes 1.2.8
Johannes reopened this issue 2023-02-04 08:55:43 +01:00
Owner

Sorry, I closed this by accident

Sorry, I closed this by accident
Author

Submitted by IAM Dean:

It appears to be caused by McProHosting, as it does not occur at all on my local machine. Not sure what implementation is present on their end of things. 
Submitted by IAM Dean: <div dir="ltr">It appears to be caused by McProHosting, as it does not occur at all on my local machine. Not sure what implementation is present on their end of things. </div>
Owner

I don't think I can help you in that case, since this is squarely an issue of them messing up. The implementation of this feature here uses a standard Java WatchService, as any other project would as well, and if that is unsupported by them, nothing can be done.
You should probably look for a hosting provider that doesn't break the game they're trying to host.
I understand that that might not be a viable option, so I threw together a quick mod that works around this by simply removing the feature from LibJF with reflection.
No guarantees on how long that will work, though.
If you want to keep using your hosting provider, you can get it here: https://nextcloud.frohnmeyer-wds.de/s/eCrntBdGEkbJCp3

I don't think I can help you in that case, since this is squarely an issue of them messing up. The implementation of this feature here uses a standard Java WatchService, as any other project would as well, and if that is unsupported by them, nothing can be done. You should probably look for a hosting provider that doesn't break the game they're trying to host. I understand that that might not be a viable option, so I threw together a quick mod that works around this by simply removing the feature from LibJF with reflection. No guarantees on how long that will work, though. If you want to keep using your hosting provider, you can get it here: https://nextcloud.frohnmeyer-wds.de/s/eCrntBdGEkbJCp3
Author

Submitted by IAM Dean:

Bad host hide is no longer working on 1.20.1. If it removes the feature from libjf using reflection, couldn't an option be added to libjf to disable the feature? 
Submitted by IAM Dean: <div dir="ltr">Bad host hide is no longer working on 1.20.1. If it removes the feature from libjf using reflection, couldn&#39;t an option be added to libjf to disable the feature? </div>
Owner

I don't really want to support this since it is clearly something wrong on their side and not an issue with my mod, but updating badhosthide to newer java versions proved difficult since they restricted reflective variable access, so I added it as an option.
Please ask them to fix their setup instead of using it, though.

I don't really want to support this since it is clearly something wrong on their side and not an issue with my mod, but updating badhosthide to newer java versions proved difficult since they restricted reflective variable access, so I added it as an option. Please ask them to fix their setup instead of using it, though.
Comment
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: JfMods/LibJF#1
No description provided.