mojira.dev
MCPE-242416

App crashes when connecting to IPv4-only server domain over 5G IPv6/NAT64 network

When attempting to join a Minecraft Bedrock server via a domain name (A Record) over a 5G network using NAT64/DNS64 (IPv6-only mobile network), the app crashes immediately.

This issue is not occured when I try to connect with IPv4 only network (e.g., Wifi or using Cloudflare WARP).

My atteched logs are collected by adb tool via Linux.

Root Cause:
The carrier DNS translates the IPv4 domain to a synthetic IPv6 address (e.g., ff9b::...).
The app appends the port number (e.g., ff9b::daed:e877:19132) without proper brackets, causing libHttpClient.Android.so to throw java.lang.IllegalArgumentException: Invalid URL port and crash.

Linked issues

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media]

Sangwoon Yun

(Unassigned)

Unconfirmed

Android

Android 16

26.45 Hotfix

Retrieved