Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry® Enterprise Service 10

Reply
Contributor
thoand
Posts: 11
Registered: ‎10-09-2010
My Device: Not Specified
Accepted Solution

UDS APNs Certificate Status - Connection Status Failed

Hi,

 

after I solved one problem with your help (http://supportforums.blackberry.com/t5/BlackBerry-Enterprise-Service-10/BlackBerry-Licensing-Service... it did not took too long to run into another problem.

 

If I click on "Test Connection" in the APNs Certificate menu of UDS in BES 10.1 I get an error:

 

I found a KB entry (http://btsc.webapps.blackberry.com/btsc/viewdocument.do;jsessionid=0B955C7F4899FF2957AACD6F418FA530?... which seems to go in the right direction, but the hints there did not help.

 

In the KB was told to look in the Core Service Logs, in that I found:


DEBUG,"2013-06-26 17:37:03,249",4,390,"58336960-2f1b-4741-92cd-0978dc01d1f1","HTTP Request Completed: https://mdmDOMAIN.tld:9081/dm/tenant/2/feature",
ERROR,"2013-06-26 17:37:07,118",3,0,"a8f6e059-14bf-4516-82d7-83e2f5d71014","Value cannot be null.
Parameter name: value",
,Type: System.ArgumentNullException
,Message: Value cannot be null.
Parameter name: value
,Source: RIM.BUDS.Framework
,TargetSite: "RIM.BUDS.Framework.OperationResult InvokeOperation(System.Object, System.Reflection.MethodInfo, System.Object[])"
,StackTrace:    at System.Web.Caching.CacheEntry..ctor(String key, Object value, CacheDependency dependency, CacheItemRemovedCallback onRemovedHandler, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, Boolean isPublic)
,   at System.Web.Caching.CacheInternal.DoInsert(Boolean isPublic, String key, Object value, CacheDependency dependencies, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, Boolean replace)
,   at System.Web.Caching.Cache.Insert(String key, Object value, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration)
,   at RIM.BUDS.Utilities.Cache.CacheProvider.Insert(String key, Object value, DateTime absoluteExpiration, TimeSpan slidingExpiration) in c:\ec_build\1083836\BUDSServer\source\enterprise\BUDS\Server\Sources\RIM.BUDS.Utilities\Cache\CacheProvider.cs:line 51
,   at RIM.BUDS.Utilities.Networking.DNSRoundRobinConnection.getIP() in c:\ec_build\1083836\BUDSServer\source\enterprise\BUDS\Server\Sources\RIM.BUDS.Utilities\Networking\DNSRoundRobinConnection.cs:line 60
,   at RIM.BUDS.Core.Model.LicenseModel.getLicenseServerInfo() in c:\ec_build\1083836\BUDSServer\source\enterprise\BUDS\Server\Sources\RIM.BUDS.Core\Model\License\LicenseModel.cs:line 154
,   at RIM.BUDS.Core.Model.LicenseModel.makeRequest(String method, UriTemplate template, NameValueCollection parameters) in c:\ec_build\1083836\BUDSServer\source\enterprise\BUDS\Server\Sources\RIM.BUDS.Core\Model\License\LicenseModel.cs:line 230
,   at RIM.BUDS.Core.Model.LicenseModel.canAquireLicenses(LicenseType type, Int32 count) in c:\ec_build\1083836\BUDSServer\source\enterprise\BUDS\Server\Sources\RIM.BUDS.Core\Model\License\LicenseModel.cs:line 178
,   at RIM.BUDS.Core.Model.LicenseModel.GetLicenseInformation() in c:\ec_build\1083836\BUDSServer\source\enterprise\BUDS\Server\Sources\RIM.BUDS.Core\Model\License\LicenseModel.cs:line 271
,   at RIM.BUDS.Core.EntityHandlers.TenantHandler.GetLicenseInfo(Int32 tenantId) in c:\ec_build\1083836\BUDSServer\source\enterprise\BUDS\Server\Sources\RIM.BUDS.Core\EntityHandlers\TenantHandler.cs:line 194
,   at RIM.BUDS.Framework.OperationInvoker.InvokeOperation(Object handler, MethodInfo operation, Object[] parameters) in c:\ec_build\1083836\BUDSServer\source\enterprise\BUDS\Server\Sources\RIM.BUDS.Framework\OperationInvoker.cs:line 38
,   at RIM.BUDS.Framework.DefaultHttpHandler.InvokeRequestHandler(RequestContext context, Object handler, MethodInfo operation, Object[] parameters) in c:\ec_build\1083836\BUDSServer\source\enterprise\BUDS\Server\Sources\RIM.BUDS.Framework\DefaultHttpHandler.cs:line 491
,   at RIM.BUDS.Framework.DefaultHttpHandler.ProcessRequest(RequestContext requestContext, MethodInfo operation) in c:\ec_build\1083836\BUDSServer\source\enterprise\BUDS\Server\Sources\RIM.BUDS.Framework\DefaultHttpHandler.cs:line 122
,   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
,   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
DEBUG,"2013-06-26 17:37:07,258",3,4384,"a8f6e059-14bf-4516-82d7-83e2f5d71014","HTTP Request Completed: https://mdmDOMAIN.tld:9081/dm/tenant/2/license/state",


 

Do you understand, which value could not be null?

 

best regards,

thoand

Please use plain text.
Super Contributor
swotam
Posts: 323
Registered: ‎05-10-2011
My Device: Z10

Re: UDS APNs Certificate Status - Connection Status Failed

Make sure that your firewall allows an outbound initiated bi-directional connection from your BES10 server to <region>.bbsecure.com on port 3101.

<region> would be your country code, i.e. US, CA, etc.
----------
BESX 5.0.4, SQL 2008, Exchange 2010 SP2 RU4a
Please use plain text.
Contributor
lineassupport
Posts: 44
Registered: ‎06-26-2013
My Device: 8700
My Carrier: Germany

Re: UDS APNs Certificate Status - Connection Status Failed

Please use plain text.
Contributor
thoand
Posts: 11
Registered: ‎10-09-2010
My Device: Not Specified

Re: UDS APNs Certificate Status - Connection Status Failed

Hi,

 

I tried to connect using telnet (telnet de.bbsecure.com 3101) and it worked. So I think it must be a different problem.

 

thoand

Please use plain text.
Contributor
thoand
Posts: 11
Registered: ‎10-09-2010
My Device: Not Specified

Re: UDS APNs Certificate Status - Connection Status Failed

[ Edited ]

Hi,

 

I investigated the problem a bit further. First I have to say,that parts of the UDS seem to work and I am not sure if the occuring problems are a result of the shown error message.

 

To activate a iOS device using the BES10 Client works, but the applied IT Policy has no effect on the device, the same happens with the secure workspace. In the settings menu of UDS the secure workspace is shown to work.

 

In the core Log now appears another problem (the befor occuring error messages does not appear anymore):


WARN,"2013-07-07 16:22:36,568",21,0,"3677e5ec-9c6a-4d90-829f-91428be069fd","A device poke attempt did not complete successfully. ",
,Type: RIM.BUDS.DeviceActions.ActionPokeException
,Message: Push notification has not been sent to the device.
,Source: RIM.BUDS.DeviceActions.iOS
,TargetSite: "Void Execute(Newtonsoft.Json.Linq.JObject, Newtonsoft.Json.Linq.JObject)"
,StackTrace:    at RIM.BUDS.DeviceActions.iOS.iOSActionPoke.Execute(JObject certificate, JObject device) in c:\ec_build\1130696\BUDSServer\source\enterprise\BUDS\Server\Sources\RIM.BUDS.DeviceActions.iOS\iOSActionPoke.cs:line 65
,   at RIM.BUDS.Core.Model.DeviceModel.Poke(JObject device, JObject tenant, String deviceOsFamilyName) in c:\ec_build\1130696\BUDSServer\source\enterprise\BUDS\Server\Sources\RIM.BUDS.Core\Model\Device\DeviceModel.cs:line 790,Type: System.InvalidOperationException
,Message: No certificates with key '2105f1baed8356d64d1382f4349c208488240680' found in the store.
,Source: RIM.BUDS.Utilities
,TargetSite: "System.Security.Cryptography.X509Certificates.X509Certificate2 GetCertificate(System.String, System.Security.Cryptography.X509Certificates.StoreLocation, System.Security.Cryptography.X509Certificates.X509FindType, System.Security.Cryptography.X509Certificates.StoreName)"
,StackTrace:    at RIM.BUDS.Utilities.Helpers.CertificateFactory.GetCertificate(String findByValue, StoreLocation storeLocation, X509FindType findType, StoreName storeName) in c:\ec_build\1130696\BUDSServer\source\enterprise\BUDS\Server\Sources\RIM.BUDS.Utilities\Helpers\CertificateFactory.cs:line 37
,   at RIM.BUDS.DeviceActions.iOS.iOSActionPoke.GetApnsCertificate(JObject certificate) in c:\ec_build\1130696\BUDSServer\source\enterprise\BUDS\Server\Sources\RIM.BUDS.DeviceActions.iOS\iOSActionPoke.cs:line 113
,   at RIM.BUDS.DeviceActions.iOS.iOSActionPoke.Execute(JObject certificate, JObject device) in c:\ec_build\1130696\BUDSServer\source\enterprise\BUDS\Server\Sources\RIM.BUDS.DeviceActions.iOS\iOSActionPoke.cs:line 49
WARN,"2013-07-07 16:22:36,853",21,0,"3677e5ec-9c6a-4d90-829f-91428be069fd","Poke attempt did not complete successfully. Device: 5",


 

I am unsure what to analyse next.

 

regards,

thoand

 

PS: I ordered a BB Q10 to check if the BES has a general problem, but the Q10 (wich I realy love) is working without any problems. But it is important for us to integrate the  existing iOS and Android devices (I have no Android device to test with).

Please use plain text.
Super Contributor
swotam
Posts: 323
Registered: ‎05-10-2011
My Device: Z10

Re: UDS APNs Certificate Status - Connection Status Failed

I really think you need to call BlackBerry on this one. Your push notifications aren't getting to the device as far as I can tell, so if that's the case then several things won't work.

You have to ensure that your APNs certificate is installed correctly, and that your firewall is configured correctly to allow the push traffic. If those are all configured properly and you are sure of this, then I'd suggest calling BlackBerry for support.
----------
BESX 5.0.4, SQL 2008, Exchange 2010 SP2 RU4a
Please use plain text.
Trusted Contributor
Tweedle
Posts: 145
Registered: ‎07-31-2008
My Device: RIM Z10
My Carrier: PLUS (Poland)

Re: UDS APNs Certificate Status - Connection Status Failed

Try use default Admin account that you create when install all software. 

This not make mistakes, who does nothing.
Włodzimierz Lenin

BES 5.0.4,BES 10.2
Please use plain text.
Guru III
knottyrope
Posts: 30,159
Registered: ‎06-25-2008
My Device:

I'm rockin the BlackBerry Z30, Z10, Q10, BlackBerry Mini Stereo Speaker, 64 gig PlayBook, BlackBerry Wireless Headset HS-700

My Carrier: I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier

Re: UDS APNs Certificate Status - Connection Status Failed

i would hope after 6 months OP would have it fixed by now or come back with more questions

 




Click here to Backup the data on your BlackBerry Device! It's important, and FREE!


Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals

BESAdmin's, please make a signature with your BES environment info.


SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope


Want to thank me? Buy my KnottyRope App here


BES 5.0.4 and BES 10.2.2 with Exchange 2010 and SQL 2008


Please use plain text.
BlackBerry Technical Advisor
-BD-
Posts: 494
Registered: ‎05-15-2008
My Device: Z10
My Carrier: Rogers

Re: UDS APNs Certificate Status - Connection Status Failed


knottyrope wrote:

i would hope after 6 months OP would have it fixed by now or come back with more questions


I would hope so :smileyhappy:

 

For anyone else who sees that error it is because you didn't import the .PFX file that is saved in the last step of the APNs wizard into the local computer's personal certificate store on the server(s) hosting the Core BES services.

Please use plain text.
Contributor
thoand
Posts: 11
Registered: ‎10-09-2010
My Device: Not Specified

Re: UDS APNs Certificate Status - Connection Status Failed

Correct, I did call the BlackBerry support and they found out, that I imported the certificate in the wrong store. The BlackBerry support team was a great help!
Please use plain text.