mojira.dev
MC-4164

Long freeze waiting for SRV records

Minecraft seems to block on SRV record requests when pinging or connecting to any server. My router times out on all SRV requests, causing a huge delay in refreshing servers and a 10 second freeze when connecting to one. This is probably a bug in the router, but it seems to be a common issue with cheap home routers and Minecraft could probably handle it better. At the very least, it could give some explicit feedback that there is a problem with SRV requests.

A workaround is to set DNS servers on your computer and not use the DNS cache on the router.

Linked issues

Comments 5

There is a possible relation to MC-60 , since this issue was fixed in Minecraft 1.4.7 , can you please retest this issue.

I tested with 1.4.7 and I'm still getting the same freeze. I would have thought "Fixed long timeout when checking SRV records" was the fix for this, but I guess not. To be sure, I used Wireshark to look at the the network trace and it's definitely the SRV requests that are timing out.

I looked at MC-60 but those symptoms seem different than mine. I'm not experiencing crashes and there's no difference after joining and leaving a server.

Ok, thanks for testing.

Exact same thing happens to me. Talked to dinnerbone about it, and he linked me here.

Dupe of MC-2257 which I may have just fixed!

Last Username

(Unassigned)

Unconfirmed

Minecraft 1.4.5, Minecraft 1.4.7

Retrieved