Tried setting up my own modpack, everything went smoothly till i tried joining the server. When i first joined, it just said Internal Exception:java.io.IOException:Connection reset by peer, i asked my friend to try to join, he could join. I took a closer look and saw that i was disconnected due to handleDisconnection() called twice checked what it meant and did the following
1.Restarted the server
2. Deleted all the player files
3. Reinstalled the software
4.Tried joining another different server, worked fine
After doing all those it still didn't work, the differences between my laptop and my friend's laptop is as follows
He has more Ram(he uses 15GB while i use 7GB)
He uses Windows 10 while i use MacOS
So what i did next was i asked another friend to use his com which has less RAM to join the server, we did some tests and turns out he could join the server while using 2GB so it might be the problem with the OS, we also cross-checked the mod files and everything was fine.
Here is the log:
First disconnect is at line 2336