Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot connect to iTunes Store error while IAP

Mode : SandBox
Certificate : Developer certificate
P File: developer provisioning profile

I am planning to integrate IAP so I added sandbox id in iTunesConnect. When I try to execute the code I'm getting below error:

Error Domain=SSErrorDomain Code=109 "Cannot connect to iTunes Store" UserInfo=usrinfo {SSErrorHTTPStatusCodeKey=403, NSLocalizedDescription=Cannot connect to iTunes Store}

like image 381
Mani Avatar asked Nov 05 '15 06:11

Mani


People also ask

Why is my iPhone saying Cannot connect to iTunes store?

Make sure that your device is connected to the internet Use any web browser to connect to any website. If nothing loads, use another device on the same network to see if it can connect to any website. If no other devices can access the internet, turn off your Wi-Fi router, then turn it on again to reset it.

Why does my Mac keep saying it Cannot connect to the App Store?

The cause behind this issue can be anything from a shaky internet connection to a problem with certificates in the KeyChain app. In most cases, simply closing and then re-launching the Mac App Store or logging out of the Mac App Store by clicking on Store > Logout and then logging back in to it fixes the problem.


1 Answers

The error description includes a useful hint.

SSErrorHTTPStatusCodeKey = 403 

It it error 403. Status code 403 responses are the result of the web server being configured to deny access, for some reason, to the requested resource by the client.

There might be a proxy server or other configuration on the network you're connected to that prevents you from accessing the store. Try using different network and see if the problem persists.

like image 191
Rafa de King Avatar answered Sep 29 '22 07:09

Rafa de King