Hello, Recently, I try to submit a new update version of my app and it keeps being rejected by Apple's reviewer.
The reviewers got error message of Error: cannot connect to server. We hold a server for data and my app connects to the server to get required data. My testers didn't run into errors when testing our app with Testflight.
I doubt there is network issue from Apple reviewers to my server but I can't how to resolve it. I have a test RESTful API but Apple reviewers refused to do a connection test that is out of app. https://kato332.ddns.net/public/Auth/debug
I also sent an appeal but still being said rejection was valid.
I've been rejected over 10 times. However, I passed a review of a version just before this one two days before. I didn't modify any codes about connections. It's weird. I wonder if anyone has same experience and the way to resolve it. Thank you.
This is a weird one. When I’m on my home network I’m able to resolve your host name:
% host kato332.ddns.net
kato332.ddns.net has address 35.197.102.232
kato332.ddns.net has IPv6 address 2600:1900:4040:120f::
However, on Apple’s internal network I’m not:
% host kato332.ddns.net
kato332.ddns.net has address 17.168.114.134
Host kato332.ddns.net not found: 2(SERVFAIL)
I suspect that this is because you’re using dynamic DNS.
Now, you could try arguing this out with App Review but my advice is that you switch to a more traditional DNS name. The thing about mysterious networking problems that only show up in App Review is that… well… they don’t only show up in App Review. As far as corporate networks are concerned, App Review’s network is very open. Any widely deployed app will find itself running on networks that are much weirder. The best way to avoid problems like this is to use a vanilla network setup, which means:
-
HTTPS
-
Over port 443
-
To a fixed DNS name
-
With a server whose TLS certificate is system-trusted
That setup should work in App Review but, more critically, it’ll also work in a wide variety of other wacky corporate networks.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"