Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection Lost Network Protocol Error #160

Closed
2 tasks done
Ka1nnn opened this issue Feb 3, 2025 · 24 comments
Closed
2 tasks done

Connection Lost Network Protocol Error #160

Ka1nnn opened this issue Feb 3, 2025 · 24 comments

Comments

@Ka1nnn
Copy link

Ka1nnn commented Feb 3, 2025

Bug description

anytime i want to join a single player world or server i get this error https://i.vgy.me/iJt0Js.png
i am not sure if it is a known issue or a mod conflict i tried to see the other issues but i don't understand chinese.
All the mods i use and more info is in the log file.

Steps to reproduce

Just try to join any world

Expected behavior

No response

Actual behavior

No response

Relevant logs

disconnect-2025-02-03_23.20.36-client.txt

Minecraft version

1.21.4

Carpet AMS Addition version

2.54.0 and 2.54.0+build.693 from github actions

Other information

No response

Check list

  • I have verified that the issue persists in the latest version of the mod.
  • I have searched the existing issues and confirmed that this is not a duplicate.
@1024-byteeeee 1024-byteeeee self-assigned this Feb 4, 2025
@1024-byteeeee
Copy link
Collaborator

Image

Image

Image

I installed a cleaner environment, and everything runs normally when entering single-player world and Hypixel.

Can you provide more information? For example, what rules have been enabled?

@1024-byteeeee 1024-byteeeee added the type: question 类型·待补充信息 Further information is requested label Feb 4, 2025
@Ka1nnn
Copy link
Author

Ka1nnn commented Feb 4, 2025

I did some testing and tested with every mod i have on and off and have found the issue to be the Axiom mod and also World Edit mod together.

https://modrinth.com/mod/axiom
https://modrinth.com/plugin/worldedit

If you use the mods together with carpet AMS you will not be able to enter any world or server and you will get the error i have shown previously

If you have only 1 of the mods and not the other then the error does not appear. But having them both causes it to happen im not sure why. It only happens when carpet AMS is installed. This was my test mods: https://i.vgy.me/iXDJ5w.png

I have already provided the log file but here is the console log as well if that helps https://mclo.gs/VXrHi66

@1024-byteeeee
Copy link
Collaborator

Image

Image

emmmm, The issue still cannot be reproduced.

@1024-byteeeee
Copy link
Collaborator

1024-byteeeee commented Feb 4, 2025

Image

I tried installing only the mods listed in the image you provided and was able to reproduce the issue. Perhaps you can try installing the complete set of prerequisite mods based on my mod list.

@Ka1nnn
Copy link
Author

Ka1nnn commented Feb 5, 2025

okay so ive tried running the game with only the mods you have in the previous post and the error still happens on my side. this is my mod list: https://i.vgy.me/ZaxkxR.png

also video: https://streamable.com/72d4hc

Placeholder API doesnt show up in the Mod Menu mods list. Idk what the mod even does but it was on ur list so i added it.

@1024-byteeeee
Copy link
Collaborator

https://wwug.lanzouq.com/iAGqz2mwinyh

This is my mod pack, and it works fine.

@Ka1nnn
Copy link
Author

Ka1nnn commented Feb 6, 2025

okay i have tried with that pack as well on a COMPLETELY brand new instance and the same thing happens :( i really don't know... Could it be a launcher problem?? I am using Prism Launcher. With a microsoft account never had any issue before.

@1024-byteeeee
Copy link
Collaborator

Try Multimc or the launcher I provided in the attachment, which is the one I use (not sure if it works well in non-China regions).

HMCL-3.6.11.zip

@Ka1nnn
Copy link
Author

Ka1nnn commented Feb 6, 2025

Okay i have tried with the launcher you posted i have also tried with MultiMC and also tried with Modrinth launcher and they all still give the same network error.... I am out of ideas anything else i can do? besides just not using one of the mods ig

@1024-byteeeee
Copy link
Collaborator

Is the same true when using the HMCL I provided?

@Ka1nnn
Copy link
Author

Ka1nnn commented Feb 6, 2025

yes, i can provide video proof if needed also can provide the log file from all the other launchers

disconnect-2025-02-06_22.40.38-client.txt

this is the log from HMCL

@1024-byteeeee
Copy link
Collaborator

1024-byteeeee commented Feb 6, 2025

Uh, then I'm at a loss as well, because I can't reproduce this issue on my computer. The above are all the methods I can think of at the moment.

I had my friend test it on his computer (Minecraft 1.21), and it ran fine for him as well :(

I will keep this issue open. If there are any new developments, please kindly provide more information here thx 😊.

@Ka1nnn
Copy link
Author

Ka1nnn commented Feb 6, 2025

I don't know tbh ive tried everything i can think of. It is saying network issue. could it be some port forwarding stuff or firewall? i really don't know. Here is more proof tho

https://streamable.com/ej67x1

@1024-byteeeee
Copy link
Collaborator

https://streamable.com/i7gydq

It runs well on my end....

@Ka1nnn
Copy link
Author

Ka1nnn commented Feb 6, 2025

Bruh HOW HAHA i am at a loss tbh idk why this is happening. You said it happens to you too if you just use the only 4 mods so maybe there is something there to look at perhaps.

@1024-byteeeee
Copy link
Collaborator

It seems a bit mysterious, but I'll give it another try. I think I might be onto something.

@Ka1nnn
Copy link
Author

Ka1nnn commented Feb 6, 2025

im trying to see if i can find someone to also test on their pc if they will have the same issue. Not sure if it could be some kind of region difference but i might be talking nonsense now idk.

@1024-byteeeee
Copy link
Collaborator

No worries, bro. I feel like I'm just randomly tweaking the code as well.

@1024-byteeeee 1024-byteeeee added the help wanted Extra attention is needed label Feb 6, 2025
@1024-byteeeee
Copy link
Collaborator

1024-byteeeee commented Feb 6, 2025

Carpet-AMS-Addition-mc1.21.4-fabric-v2.54.1a-SNAPSHOT.zip

It's done. Give this version a try.

To be honest, I'm not entirely sure what the other mods have done. Looking back at versions v2.53.0 to v2.54.0, only this part seems somewhat related to the error. I just felt that the code written here was a bit too "aggressive," so I tweaked it and now it works.....

@Ka1nnn
Copy link
Author

Ka1nnn commented Feb 6, 2025

https://streamable.com/2177b3

TADA!! IT WORKS! Idk what you did but it works yay! Thank you <3

@1024-byteeeee
Copy link
Collaborator

https://streamable.com/2177b3

哼哼!!它有效!我不知道你做了什么,但它有效,耶!谢谢 <3

The previous fix was only a temporary solution, and it seems there are still issues (with the commandCustomCommandPermissionLevel rule). I'll look into how to address it properly. It's recommended that you update once the official version is released.

@1024-byteeeee
Copy link
Collaborator

wait

Image

This isn't the version from the attachment; it's the version from the action. I didn't modify the so-called "aggressive" code in this version. Why did it run successfully for you???

@Ka1nnn
Copy link
Author

Ka1nnn commented Feb 6, 2025

I can explain that, HMCL did not update the most list info, i just deleted the mod from the mods folder and paste in the one you posted directly. It is just a visual thing cause i did not press Refresh on them mod list it was still showing the previous one i had.

https://i.vgy.me/r8yj8c.png
https://i.vgy.me/fj8gDc.png

after pressing refresh now it shows the proper one :3

@1024-byteeeee
Copy link
Collaborator

ok. We need a Discord; GitHub issues aren't meant for instant messaging..... It's about time we did this, but I rarely check Discord.
https://discord.gg/RTAzAVzf @Ka1nnn

@1024-byteeeee 1024-byteeeee removed help wanted Extra attention is needed type: question 类型·待补充信息 Further information is requested labels Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants