App Works on TestFlight but Fails During Apple Review with Server Error

I am facing an issue with my app. It works perfectly on TestFlight, and I have tested it on several devices, where it also runs without any problems.

However, when the app is tested in the Apple testing facility, it shows an unexpected server error message.

I have tested the app using multiple VPNs and different locations in Sri Lanka, and it works perfectly in all cases. It also works correctly when distributed through third-party app stores.

At this point, I am not sure what is causing this issue. I have already submitted more than 10 app versions, each with different fixes that I thought might solve the problem, but the issue still persists.

Could someone please help me understand what might be causing this problem?

(the above provided screenshot from apple)

Hi,

You may have already tried this given the 10+ submissions, but my first thought is that your app may not function correctly in an IPv6-only environment.

App Review Guideline 2.5.5 states, "Apps must be fully functional on IPv6-only networks." With that in mind, it may be worth checking the following:

Hardcoded IPv4 Addresses: If you are using raw IPv4 addresses (like 192.168.x.x) in your code instead of hostnames (domains), NAT64/DNS64 cannot translate them, causing the connection to fail in an IPv6-only environment.

Low-Level Networking APIs: If your app uses low-level BSD socket APIs directly instead of high-level networking APIs (like URLSession), it may fail to handle NAT64 correctly unless properly implemented for IPv6.

If you want to test your app in an IPv6-only network, you can simulate this environment using your Mac's Internet Sharing feature with NAT64/DNS64 enabled as a hotspot. The section "Test for IPv6 DNS64/NAT64 Compatibility Regularly" in Apple's documentation "Supporting IPv6 DNS64/NAT64 Networks" explains the exact steps.

Hello fixeyfevelopers

Make sure you have completed all the steps described in the Overview for configuring in-app purchases, in particular, make sure you have accepted the Paid Apps Agreement.

App Works on TestFlight but Fails During Apple Review with Server Error
 
 
Q