Forum Discussion
joestar22
Sep 06, 2024Copper Contributor
Skype for Business Server 2019 Apple Push Notifications APN
I am unable to get Apple Push Notifications to work in Skype for Business Server 2019 on-prem. Is there anyone else that has experienced this and been able to resolve the problem?
- joestar22Copper ContributorI have some additional information which may help. I gathered logs from both my iOS device as well as from C:\Windows\System32\LogFiles\HTTPERR on the SfB 2019 Front End Server. I am seeing a lot of 34578 Request_Cancelled LyncUcwa TCP in response to pushNotificationSubscription and events. On the front end server, I am seeing: 2024-09-11 03:08:47 60673 4443 HTTP/1.1 GET /ucwa/v1/applications/211983840570/events?ack=3&key=c2lwOmpvZW1Ac3RhcmxpdGUuY29t-211983840570-ZGVmYXVsdA%3D%3D&low=1800&medium=1800&timeout=900&priority=1726021547 - - - 34578 Request_Cancelled LyncUcwa TCP 2024-09-11 03:10:48 60686 4443 - - - - - - - Timer_ConnectionIdle - TCP 2024-09-11 03:10:48 60688 4443 - - - - - - - Timer_ConnectionIdle - TCP 2024-09-11 03:10:53 60691 4443 - - - - - - - Timer_ConnectionIdle - TCP 2024-09-11 03:10:53 60687 4443 - - - - - - - Timer_ConnectionIdle - TCP 2024-09-11 03:10:53 60694 4443 - - - - - - - Timer_ConnectionIdle - TCP 2024-09-11 03:13:51 60689 4443 HTTP/1.1 GET /ucwa/v1/applications/211983840570/events?ack=7&key=c2lwOmpvZW1Ac3RhcmxpdGUuY29t-211983840570-ZGVmYXVsdA%3D%3D&low=5&medium=5&timeout=900&priority=1726024131 - - - 34578 Request_Cancelled LyncUcwa TCP On the SfB mobile app for iOS I am seeing this: 2024-09-11 03:08:48.085 000000016dadf000 INFO UTILITIES CHttpStreamPool.cpp:399 Allocating stream 0x3dbb690 for url - https://sfb.mydomain.com/ucwa/v1/applications/211983840570/pushNotificationSubscription with persistent id as 0 2024-09-11 03:08:48.085 000000016dadf000 VERBOSE TRANSPORT CHttpProxyHelper.cpp:434 CHttpProxyHelper::discoverProxy : No proxy found for url https://sfb.mydomain.com/ucwa/v1/applications/211983840570/pushNotificationSubscription. Sending over direct connection. 2024-09-11 03:08:48.085 000000016dadf000 INFO UTILITIES CHttpStreamPool.cpp:599 Releasing stream 0x3db8510. 2024-09-11 03:08:48.086 0000000204757ec0 INFO UI SFBTelemetryTracingProvider.mm:25 Telemetry Service Tier:IPATelemetryPrivacyTier2, diagnosticLevel:NecessaryServiceDataEvent, event:ApnsPushSubscriptionStatus, Attributes:{ IsNonVoIPDeviceTokenAvailable = true; PushSubscriptionStatus = Supported; } 2024-09-11 03:08:48.086 0000000204757ec0 INFO UI SFBPushNotificationSubscriber.m:152 UCWA push channel subscription result: Yes 2024-09-11 03:08:48.086 0000000204757ec0 INFO UI SFBTelemetryTracingProvider.mm:25 Telemetry Service Tier:IPATelemetryPrivacyTier2, diagnosticLevel:NecessaryServiceDataEvent, event:UCWAPushRegistration, Attributes:{ ErrorCode = "S_OK (S0-0-0)"; IsNonVoipPushNotificationsSupported = true; Topology = OnPrem; UcwaPushSubscriptionSucceeded = true; } 2024-09-11 03:08:48.086 0000000204757ec0 INFO UI SFBTelemetryTracingProvider.mm:35 Telemetry Service update custom dimension:SignInState with value:Signed In 2024-09-11 03:08:48.086 0000000204757ec0 INFO UI SFBTelemetryTracingProvider.mm:25 Telemetry Service Tier:IPATelemetryPrivacyTier2, diagnosticLevel:NecessaryServiceDataEvent, event:ApplicationActualStateChanged, Attributes:{ LastState = IsSigningIn; NewState = IsSignedIn; SignInCorrelationId = "56af0417-e4a2-4ed3-a361-09d22b81e88b"; } 2024-09-11 03:08:48.086 0000000204757ec0 INFO UI SFBTelemetryTracingProvider.mm:25 Telemetry Service Tier:IPATelemetryPrivacyTier1, diagnosticLevel:NecessaryServiceDataEvent, event:TeamsMigrationState, Attributes:{ TeamsMigrationState = None; } 2024-09-11 03:08:48.086 0000000204757ec0 INFO APPLICATION CClientTelemetryProvider.cpp:430 Sending telemetry to ARIA for type(UITelemetryEvent) signatureName(ui_teams_migration_state) errorCode(S_OK (S0-0-0)) description() diagnosticLevel(110) minimumAllowedDiagnosticLevel(100) [viz] 2024-09-11 03:08:48.087 0000000204757ec0 INFO APPLICATION CClientTelemetryProvider.cpp:632 Sending telemetry event<ui_teams_migration_state> with parameters: (TeamsMigrationState:None ) [viz] 2024-09-11 03:08:48.087 0000000204757ec0 INFO UI SFBTelemetryTracingProvider.mm:25 Telemetry Service Tier:IPATelemetryPrivacyTier1, diagnosticLevel:NecessaryServiceDataEvent, event:SignInFinished, Attributes:{ Canceled = 0; DurationMs = 423; ErrorCode = "S_OK"; FinishedInState = SignedIn; InitiationPoint = AppStart; LastAlertErrorCode = None; SignInCorrelationId = "56af0417-e4a2-4ed3-a361-09d22b81e88b"; } 2024-09-11 03:08:48.087 0000000204757ec0 INFO APPLICATION CClientTelemetryProvider.cpp:430 Sending telemetry to ARIA for type(UITelemetryEvent) signatureName(ui_sign_in_finished) errorCode(S_OK (S0-0-0)) description() diagnosticLevel(110) minimumAllowedDiagnosticLevel(100) [viz] 2024-09-11 03:08:48.087 0000000204757ec0 INFO APPLICATION CClientTelemetryProvider.cpp:632 Sending telemetry event<ui_sign_in_finished> with parameters: (Canceled:0 DurationMs:423 ErrorCode:S_OK FinishedInState:SignedIn InitiationPoint:AppStart LastAlertErrorCode:None SignInCorrelationId:56af0417-e4a2-4ed3-a361-09d22b81e88b ) [viz] 2024-09-11 03:08:48.087 0000000204757ec0 INFO UI UserPreferences.swift:339 Get PERSISTENT value: 'Optional(+18567808022)' for key: 'phoneNumber' 2024-09-11 03:08:48.088 0000000204757ec0 INFO TRANSPORT CMetaDataManager.cpp:411 Received a request to get the meta data of type 0 for url https://sfb.mydomain.com/ucwa/v1/applications 2024-09-11 03:08:48.088 0000000204757ec0 INFO TRANSPORT CCredentialManager.cpp:172 getSpecificCredential for serviceId(1) returning: credType (1) signInName (email address removed for privacy reasons) domain () username (email address removed for privacy reasons) password.empty() (0) certificate.isValid() (0) privateKey.empty() (1) compatibleServiceIds(1) 2024-09-11 03:08:48.088 0000000204757ec0 INFO TRANSPORT CWebTicketSession.cpp:924 Web Ticket buffered expiry (1726030950) = real expiry (1726030950) - buffer (0). Now=(2024-09-11T03:08:48.000Z) BufferedExpiry=(2024-09-11T05:02:30.000Z) 2024-09-11 03:08:48.088 0000000204757ec0 INFO TRANSPORT CWebTicketSession.cpp:434 return the cached web-ticket token 2024-09-11 03:08:48.088 0000000204757ec0 INFO TRANSPORT CBindingTransformationFactory.cpp:298 Using endpoint address https://sfb.mydomain.com/ucwa/v1/applications as the server address 2024-09-11 03:08:48.088 0000000204757ec0 INFO TRANSPORT CTransportThread.cpp:132 Added Request() to Request Processor queue 2024-09-11 03:08:48.088 0000000204757ec0 VERBOSE TRANSPORT CQueuedRequestManager.h:205 Processed UcwaSession request queue. 4 submitted requests. 0 queued requests. Limits: 0 of 13 low priority, 4 of 20 total 2024-09-11 03:08:48.088 0000000204757ec0 INFO APPLICATION CTransportRequestRetrialQueue.cpp:367 Submitting new req. GET-Application/CommunicationResource(0x107831780) 2024-09-11 03:08:48.088 000000016dadf000 INFO TRANSPORT CTransportThread.cpp:343 Sent Request() to Request Processor 2024-09-11 03:08:48.089 000000016dadf000 WARNING TRANSPORT CCredentialManager.cpp:291 CCredentialManager::getSpecificCredential returning NULL credential for serviceId (4) type (1)! 2024-09-11 03:08:48.089 0000000204757ec0 INFO UI UserPreferences.swift:339 Get PERSISTENT value: 'Optional(6.32.0.5)' for key: 'appVersion' 2024-09-11 03:08:48.089 0000000204757ec0 INFO UI SFBCallKitManager.m:132 isCallKitAvailable, Device contacts sync is allowed is enabled 2024-09-11 03:08:48.089 0000000204757ec0 INFO UI SFBCallKitManager.m:135 isCallKitAvailable, Call log archiving is enabled 2024-09-11 03:08:48.089 0000000204757ec0 INFO UI SFBCallKitManager.m:159 isRegionSupportedByCallKit: YES 2024-09-11 03:08:48.089 0000000204757ec0 INFO UI SFBCallKitManager.m:148 isCallKitSupported, CallKit support is enabled. 2024-09-11 03:08:48.089 0000000204757ec0 INFO UI SFBUIManager.m:147 updateRootViewControllerWithDesiredState: 1 andActualState:2 2024-09-11 03:08:48.089 0000000204757ec0 INFO UI SFBUIManager.m:323 IpaApplication:isAnonymousFallbackMeetingInProgress = 0 2024-09-11 03:08:48.089 0000000204757ec0 INFO UI SFBUIManager.m:324 IpaApplication:isAnonymousSession = 0 2024-09-11 03:08:48.090 0000000204757ec0 INFO UI SFBUIManager.m:154 currentRootViewControllerType: 4, desiredRootViewControllerType:4 2024-09-11 03:08:48.090 000000016dadf000 INFO TRANSPORT TransportUtilityFunctions.cpp:713 <SentRequest> GET https://sfb.mydomain.com/ucwa/v1/applications/211983840570/communication Request Id: 0x107831780 HttpHeader:Accept application/vnd.microsoft.com.ucwa+xml HttpHeader:Content-Type application/vnd.microsoft.com.ucwa+xml HttpHeader:If-None-Match "2284466201" HttpHeader:X-MS-Namespace internal HttpHeader:X-MS-WebTicket XXXXXXX