Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

The 'Passive' connection '' access to protected services is denied

Hi,


I'm having this error in my application.


backboardd[31] <Error>: HID: The 'Passive' connection '<application name>' access to protected services is denied.


I has been working but some weeks ago we have this issue and I haven't change anything in my application....


I see that lot of people have the same issue but there is not solution.


Any idea? Could it be a bug of IOS?

iPhone 5c, iOS 7.1

Posted on Apr 9, 2014 10:44 AM

Reply
13 replies

May 23, 2014 12:32 AM in response to 1jasonb

Something similar happens on two of my iOS 7.1 native Apps, but only with iPhone 4 model. iPhone 4s, iPhone 5, iPad 2, iPad mini works correctly. 😐


The only code I've changed recently is the way to manage http connections:

[NSData dataWithContentsOfURL:configUrl];


//TO THIS->


AFHTTPRequestOperation *asyncOperation = [[AFHTTPRequestOperation alloc]

initWithRequest:request];

// ... prepare Async completion block

[asyncOperation start];





Any idea?

Jul 17, 2014 6:56 AM in response to Jonathan.Medina

Hi Jonathan.Medina


I had the same issue (The 'Passive' connection '<application name>' access to protected services is denied.)... after spend days searching for a solution I had success.


My issue was occurring by Reachability (https://github.com/tonymillion/Reachability/issues/23).


So I put some logs and found the main issue... the startNotifier method.


Calling this method forcing to run on the main queue was the kill shot for this issue.


This was my solution:


dispatch_async(dispatch_get_main_queue(), ^{
     [_reachability startNotifier];
});


I hope this can help you!


Let me know about your progress....

The 'Passive' connection '' access to protected services is denied

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.