1

I submitted an app to the AppStore, but they rejected it, because it fails to connect to IPv6. An example url from my app is:

http://api.nal.usda.gov/ndb/search/?format=json

I ran a test on this URL at chair6.net, and sure enough, the IPv6 tests failed.

I have no idea what I am doing. :) I took a look at some search results, but they suggest I have to make server-side changes. I do not own the site, so I cannot make any changes to the server.

How can I enable IPv6 when connecting to that URL?

  • 1
    If you don't control the server or even the network, you cannot enable this protocol. – closetnoc Jun 14 '17 at 0:15
  • @closetnoc uhhh.. Any ideas what I should do? I suspect there is still a way – Evorlor Jun 14 '17 at 0:16
  • 2
    I know nothing about creating apps these days. As far as the server or network is concerned, IPv6 is an installed protocol stack and has nothing to do with code. This is the first I am hearing IPv6 is required. If there is no code change the negates this requirement, then in order to have IPv6, you will need access to a server or network where IPv6 is available. If you have hosting now, you may need to change providers. We have people here who write apps. I suggest waiting to see if there is something you can do other than what I am telling you. Cheers!! – closetnoc Jun 14 '17 at 0:23
1

Apple doesn't require the server to be reachable over IPv6 (yet). They do however require your app to work on an IPv6-only network with NAT64 and DNS64. The NAT64 service will make IPv4-only servers reachable.

They require this because more and more networks deploy this model of connectivity, and they don't want their users to have bad experiences. If you don't have a network with NAT64 available then a MacOS system can simulate one for you so you can test. The Apple developer documentation had a section on how to set that up: https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.