[1.19.2-1.1.2] Mod upgrades OkHttp3 to 4.9.3 causing fatal fail #16
Labels
No labels
Bug
Confirmed
Crash
Documentation
Duplicate
Enhancement
High Priority
Invalid
Mod compatibility
Needs triage
Stale
Won't Fix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
LunaFox/AutoWhitelist#16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Version information
1.1.2 (MC 1.19.2)
Expected Behavior
The bot should start as intended and begin accepting
np!registercommands so people could whitelist themself.Actual Behavior
After filling all the required stuff and double-checking the tutorial to fill what the mods needs, I got no answers from the bot even being on the server and working just fine with other mods such as Discord Integration and etc.
The only thing in logs I found is
Reproduction Steps
/autowhitelist reload botthrowing a similar error: (and this error also prints on each server start)Java version
Java 17
Additional information
Fabric Loader: 0.14.11
Fabric API: 0.70.0 (a bit outdated, yeah, I know, but still reproducible on newer versions)
Fabric Language Kotlin: 1.8.7+kotlin.1.7.22
Also there are a bunch of mods, but I managed to reproduce that with only Fabric API and Fabric Language Kotlin.
Feel free to ask questions or some more info for that. Let me know if I missed something.
Thank you in advance. :)
Also to mention: tried to test compatibility jars, they acted nearly the same but thrown a bit strange okhttp3 exceptions, such as:
Literally no idea, since I had multiple mods tried out already to find out something like AutoWhitelister and they all worked fine, so I don't think that the issue is about rate limiting or something like that.
Solved the issue, the root of the problem was in a broken dependency after removing
DeftuLib. The reason thatokhttp3lib being used twice, AutoWhitelist being using 4.9.3 version instead of 3.13.0. So technically this issue can solved by removingDeftuLibmod or force the okhttp3 dependency inbuild.gradleOh yeah, that issue should be fixed on newer versions, but I'll try to do a hotfix for 1.1.2 later to patch that