[Resolved] DHS plugin protocol mismatch bug - “the Forge byte”
Server does not support DH
message.Adds support for DH 2.3.0 nightlies built after 2024-10-18.
Solution:Jump to solution
Hehe, that's indeed great :) I suspect you accidentally used DHS for an older version of Minecraft when you tested before. I should output this info in the log
39 Replies
If the RC doesn't work, you have a different problem
Are you sure the plugin gets loaded?
console logs for server
and i get this:
when logging in with RC1
and the client does say Server does not support DH
Can you confirm there isn't a second DH in your mods folder?
I'm using prism launcher as mod manager but i'll check manually
Confirmed. All the other DH jar files have been appended with
.disabled
by prism. essentially non existent.
I can try deleting them just to be safe.I guess try re-downloading latest DHS plugin as well
will do. I'll try reinstalling all DH related mods/plugins
Tried re downloading and reinstalling DHS and DH RC1, restarted server and client. no luck.
server logs is attached.
Paper 1.20.2 server modlist:
will attach client momentarily
Have you tried with just DH?
Maybe one of the other mods like viaversion is messing with it
let me try that. tho i don't think i can disable viaversion cuz my client is 1.21.1 and server is 1.20.2.
Just download viafabricplus on the client and you don't even need viaversion
But I suggest you make a new server on 1.21.1 to test if it works with a client that only has DH
Using server version 1.21.1 with only DHS and still getting not supported message
On my client side i'm using modpack "Simply Optimized" 1.21.1-4.3
with three additional mods : Iris 1.8.1, DH 2.3.0 RC1, Controlify 2.0.0 beta.21
Update: Tried with vanilla 1.21.1 with only DH 2.3.0 RC1 installed, still same issue.
The only idea i have left is that server is using bungeecord as proxy. Is there proper support for it for DHS? Bungeecord has GeyserMC and floodgate installed.
viaversion is not supported
Good to know! I'll mark it for deprecation. Tho i've tried a vanilla server with only DHS and a vanilla fabric client with only DH and getting message DH not supported.
I'm trying to untangle the topology for my bungeecord proxy and see if a naked server will have any problems or not
tried with bare bones server with no proxy. still failed. i’ve ran out of ideas
posting the client log
server log?
server log here.
server docker file:
server plugin: DHS 0.6.1
client mod: fabric loader, DH 2.3.0 RC1
@Jckf any ideas?
Client OS: SteamOS 3.6.20
Playing on steam deck rn if it helps at all
Server OS: Debian 6.1.0-23-amd64
Using 25566 port to communicate to server.
im temporarily off to do stuff. Ping me for anything! Thanks!
What's the question here? The plugin is currently 2 protocol versions behind and so is known to not work with DH nightlies
Last couple of months or so have been too busy, and now we're in the holiday season which isn't exactly calm either :/
But I will be updating it when I have a day or two do so
The problem is that it's not working with RC1
Ah, the protocol version it shows in the log is completely invalid. This is probably an issue with "the Forge byte"
Hey @Jckf Thanks for your work on the plugin! Do you mind explaining “the Forge byte”? I was having trouble googling this issue.
Don’t feel obligated tho, i’d be perfectly fine to wait for the next release.
happy holidays!
updated title to reflect on the latest progress in this thread 🙂
will test current packages against older versions of server and client MC. right now 1.21.1 is confirmed to suffer from this bug.
The Forge byte is an extra byte at the beginning of every message between DH and the server that is present for certain setups. It looks to me like your setup is using it when it's not expected, or not using it when it is expected
DHS only uses it when you download a version ment for 1.20.4 or older
@пшш will have to answer when DH uses it. Maybe we can figure out why there's an apparent mismatch
Eh
No actually I can see in your plugins list that you have DHS for 1.20.2
This is the wrong version for your server
entire server is 1.20.2 and client is 1.21.1
seems i missed it, super confusing
as i said earlier, viaversion is not supported, and MC versions must match for DH to work correctly
@пшш @Jckf Hey guys sry i wasn't being clear enough. So far I've done testing against:
- server 1.21.1; client 1.21.1.
- server 1.20.2; client 1.21.1.
There are in total two server logs and one client log in this thread. The older server log belongs to 1.20.2 server, newer one -> 1.21.1
Server is deployed via docker. can look at docker compose block mentioned above for configuration. (only for first testing server 1.21.1 config was attached above)
In both testings, no mods/plugins other than DH(client) and DHS(server) is used, except for the second one viaversion was used.(I did not know it was unsupported at the time).
The plugin list Jckf you saw was for initial second testing. and i've removed the extra mods and did the testing too.
I'm yet to do testing for older client version.
Appreciate you guys for responding at xmas eve. you guys are awesome🌟 lmk if you have any questions!
try redownloading plugins
it’s actually the first thing i did
@ecaphet So you've tried Paper 1.21.1 + DHS 0.6.1 for 1.21.1 with a 1.21.1 client?
Please show the logs for this exact combination
affirmative! will link them below:
server logs(ver. 1.21.1):
https://discord.com/channels/881614130614767666/1320810713790419084/1320841060003610624
client logs(ver. 1.21.1):
https://discord.com/channels/881614130614767666/1320810713790419084/1320840437208186892
merry Christmas🌟
Merry Christmas :)
Sadly I cannot tell from the server log which Minecraft version DHS was compiled for, but it looks to me like it is for one that has this problematic "Forge byte" enabled. Are you able to re-test?
happy to. i'll locate the jar file and retest with latest release!
Appreciate it
great news! i've retested the jars and now my client reports full DH support! i've been in game for a while and can see the
data.sqlite
being populated in DHSupport folder, and lods popping up in the client! It's a christmas miracleSolution
Hehe, that's indeed great :) I suspect you accidentally used DHS for an older version of Minecraft when you tested before. I should output this info in the log
I believe so too! Could be the symlink messing stuff up@_@ I appreciate all your help and wish you happy holidays!
I'll mark this thread as resolved and update the descriptions!
👌 Let me know if you need anything else
Adding a new log message on startup as a response to this thread
I am DHS x for MC y