mojira.dev
MC-244695

Internal Exception: java.net.SocketException: Connection reset

When connecting to realm servers, I very frequently get disconnected by 'Internal Exception: java.net.SocketException: Connection reset'. I know this will be marked as a duplicate, but I wanted to include a better step-by-step process/my experiences with the bug.

What I expected to happen was...:
I've never come across this issue in the past until 1.18 dropped, but I've heard that this issue has been occuring for years. I've looked up dozens of guides on how to fix them, and with every attempt, I still get the same issue. I just completely uninstalled and reinstalled Minecraft a few hours ago. 

What actually happened was...:

It most often occurs when I'm just trying to log in through the realm. I'm playing on two different realms, and multiple people have experienced it. One of the owners of one of the realms is experiencing it as well, but the other owner for the other realm hasn't at all so far. I believe everyone on these realms is using Minecraft Java edition on Windows 10.

Usually I can just "force" my way through by repeatedly logging in over and over again. After multiple attempts, it just suddenly stops. I can't seem to find any sort of pattern for how or why it happens; it seems to be mostly arbitrary from what I can tell. The most amount of time I've gotten without experiencing this issue is roughly just over an hour, which has only happened at most two times. Other times I'm able to play for about 5-15 minutes, but when it's really bad, I can't even load a single thing on the server without immediately getting disconnected.

I have noticed that with every death I've encountered, I get disconnected when I press the respawn button. I've never died and tried to respawn without getting disconnected (all of these deaths occurred naturally; none of them were purposeful), however my death count since I've had this issue is also low. Other times it likes to disconnect is when I go through the Nether portal. I want to say there's been a very small handful of times where it hasn't disconnected me, but from what I can tell, it's pretty much a guarantee as well. I've not had opportunity to access The End yet, so I'm unsure how the End portal will react, but I suspect it will be the same.

Boats also frequently like to trigger the disconnect, but it's not nearly as dangerous as dying or going through a Nether portal.

Steps to Reproduce:
1. Attempt to log in on any realm (owner or not) on 1.18
2. If you can manage to connect, try to die and then respawn to see if you get disconnected
3. Attempt to go through either a Nether portal or an End portal to see if you get disconnected
4. Interact with boats and see how often you get disconnected

This is my Java folder:

[media]

This is my Minecraft folder:

[media]

Below is the disconnect message:

 

[media]

Attachments

Comments 5

1. Attempt to log in on any realm (owner or not) on 1.18
2. If you can manage to connect, try to die and then respawn to see if you get disconnected
3. Attempt to go through either a Nether portal or an End portal to see if you get disconnected
4. Interact with boats and see how often you get disconnected

This is a very common issue. Please don't mark this as a duplicate without referring to both reports and reading the comments. The fixes provided do not help and support just links to the same report. I can confirm the methods to reproduce do work, assuming you have the issue to begin with.

Can you add more information to the original report? I'm sure we all know that happens a lot with the latest (1.18) version

There doesn't seem to be many solutions, try a vpn

btw I was not able to reproduce it.

Thank you for your report!
We're tracking this issue in MC-227913, so this ticket is being resolved and linked as a duplicate.

That ticket has already been resolved as invalid. Please take a look at the parent ticket (MC-227913) and see if an explanation is provided there in the description of the ticket or in the comments for why this issue is invalid.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

Daisy

(Unassigned)

Unconfirmed

1.18

Retrieved