The environment I’m working in is a mix of XenApp 6.5, 5.0 and Presentation Server 4.5. The 6.5 and 5.0 farm also have a nearly identical test farm. We’ve been migrating the applications off the Presentation Server farms and are moving them to XenApp 6.5. At this point in the migration we have around 5-10 applications left on 4.5 to move, with around 400-450 on the 6.5 farms and probably around 20-30 or so on the 5.0 farms. These farms utilize a Citrix Webinterface 5.4.2 frontend for web interface and PNA.
We have standardized the environment on mostly Citrix Receiver 3.3 and some 3.4. Time has marched and we’ve been tasked with getting Receiver 4+ working the Windows 7/8/10 rollout. We were not able to do so with the earlier versions of Receiver 4 because things like sort icons into custom folders on the desktop and Start Menu. This feature came in around 4.2. In our environment memberships to applications are granted through group membership and Citrix PNA allowed the user to ‘roam’ from computer to computer only displaying the applications they have access to, as opposed to a bunch of applications they do not have access with the onus on them to pick and choose the correct applications.
So we started work on planning this migration and have started with the latest greatest (as of today) Citrix Receiver 4.3. We have been able to come close to simulating all the features of the Enterprise editions of 3.3 and 3.4. Namely:
Citrix Receiver automatically connects and populates a folder (MyApps) in the Start Menu and on the desktop.
No self-service. Applications are automatically presented to you and defined by Group Membership.
Single sign-on. Receiver will take your Windows logon credentials to use for authentication.
We do have some outstanding items. We’ve set the client to have all applications as ‘MANDATORY’ which does populate the applications in the MyApps folders; but applications marked as ‘Create shortcut on the desktop’ in the applications properties in AppCenter are not created.
Anyways, onto the problem. Now that we have Receiver 4.3 setup, SSON working, PNA working, we logged onto our system and watched the applications populate.
Slowly.
Really Slowly.
Eventually a dialog popped up.
Then another, and another, and another.
And these dialogs are completely custom! They are NOT native Windows dialogs!
So if you have multiple ones of them, sometimes clicking the X (close button) or OK doesn’t work because the dialog appears ‘modal’ and you need to click the button on the ‘active’ window. But you generally don’t know which one that is so you have to go through and select each dialog from the task bar and try clicking ok until you magically get lucky and select the one that has priority. Then you do it all over again as the next primary window *may not be the one on top*.
Just for giggles, how fast does Receiver 3.3 populate the same list?
Alright, so you’ve passed that point and are now looking at your applications. But they are missing icons!
But not all applications are missing their icons… Only some.
So let’s find out what’s consuming all this time and maybe, just maybe, we’ll solve our “Your apps are not available” error message.
First thing we need to do is enable Citrix Receiver Logging:
1 2 3 4 5 6 7 8 |
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix /t REG_DWORD /v ReceiverVerboseTracingEnabled /d 0x1 /f reg add HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\AuthManager /t REG_SZ /v LoggingMode /d verbose /f reg add HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\AuthManager /t REG_SZ /v TracingEnabled /d True /f reg add HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\AuthManager /t REG_SZ /v SDKTracingEnabled /d True /f reg add HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\Dazzle /t REG_SZ /v Tracing /d True /f reg add HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\Dazzle /t REG_SZ /v AuxTracing /d True /f reg add HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\Dazzle /t REG_SZ /v DefaultTracingConfiguration /d "global all -detail" /f |
Next is to exit and restart receiver and logs will start to generate. They are located here:
%USERPROFILE%AppDataLocalCitrixReceiver
%USERPROFILE%AppDataLocalCitrixAuthManager
%USERPROFILE%AppDataLocalCitrixSelfService
The most important log tends to be the ‘SelfService.txt’ log. If you search that log for the “Your apps are not available” error message it pops up in locations like this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
27/11:58:51 PM bg = CtxsJobL:Execute job Bulk subscribe to pnagentspd-c4be576e@@AHSCTX:BMTServe 27/11:58:51 PM bg > CtxsJobL:{ 27/11:58:51 PM control CtxsJobL: Queue bulk Subscribe to pnagentspd-c4be576e@@AHSCTX:BMTServe 27/11:58:51 PM authman D T147 : Created AuthManager request context 27/11:58:51 PM authman D T147 : Preparing AuthManager request context... 27/11:58:51 PM authman D T148 : Created AuthManager request context 27/11:58:51 PM authman D T148 : Preparing AuthManager request context... 27/11:58:51 PM dservice ? T145 : Do HTTP Request 27/11:58:51 PM dservice > T145 : { 27/11:58:51 PM authman T148 : Prepare threw an exception: An unexpected error occurred. The AuthManager log or trace files may contain information about the error. 27/11:58:51 PM authman T148 : Disposing AuthManager request context... 27/11:58:51 PM authman D T148 : Disposed AuthManager request context. 27/11:58:51 PM pna E T148 : DoRequest threw exception 27/11:58:51 PM pna E T148 : An unexpected error occurred. The AuthManager log or trace files may contain information about the error. 27/11:58:51 PM pna E T148 : at Citrix.DeliveryServices.Clients.AuthManager.RequestContext.Prepare2() 27/11:58:51 PM pna E T148 : at Dazzle.Model.Authentication.TracedAuthRequestContext.Prepare() 27/11:58:51 PM pna E T148 : at Dazzle.PNAgent.PNAgentClient.DoRequestOnce(Uri iurl, Uri nurl, String request, String requestB, Boolean isRequestForPreLaunch) 27/11:58:51 PM pna ? T148 : }00:00:00.0468750 27/11:58:51 PM pna ? T148 : }00:00:00.0468750 27/11:58:51 PM misc ? T148 : }00:00:00.0468750 27/11:58:51 PM rade ? T148 : OnResourceStatusChange r=pnagentspd-c4be576e@@AHSCTX65T:BMTServe - Test r.State=Null 27/11:58:51 PM rade > T148 : { 27/11:58:51 PM rade ? T148 : }00:00:00 27/11:58:51 PM control N T148 : Got CommsError during resource.Install() 27/11:58:51 PM control N T148 : An unexpected error occurred. The AuthManager log or trace files may contain information about the error. 27/11:58:51 PM authman ? T146 : Prepared AuthManager request context with result: Continue 27/11:58:51 PM authman D T146 : Getting translated url from AuthManager request context... 27/11:58:51 PM control N T148 : at Dazzle.PNAgent.PNAgentClient.DoRequestOnce(Uri iurl, Uri nurl, String request, String requestB, Boolean isRequestForPreLaunch) 27/11:58:51 PM control N T148 : at Dazzle.PNAgent.PNAgentClient.DoRequest(Uri iurl, Uri nurl, String request, String requestB, Boolean allowCredUI, Boolean isRequestForPreLaunch) 27/11:58:51 PM control N T148 : at Dazzle.PNAgent.PNAgentClient.GetResourceDetails(PNAResource r, PNADetails requiredDetails, Boolean allowCredUI) 27/11:58:51 PM control N T148 : at Dazzle.PNAgent.PNAResource.Provider_GetDetails(Details getFromNetwork, Boolean allowCredUI) 27/11:58:51 PM control N T148 : at Dazzle.ResourceProvider.ResourceImageCacheBase.GetDetailsFromNetwork(Details requestedDetails, Boolean allowCredUI) 27/11:58:51 PM control N T148 : at Dazzle.ResourceProvider.ResourceImageCacheBase.GetDetails(Details requestedDetails, Boolean allowCredUI) 27/11:58:51 PM control N T148 : at Dazzle.PNAgent.PNAResource.Install(Boolean isAlsoSubscribe, Boolean allowCredUi) 27/11:58:51 PM control N T148 : at Dazzle.AppMonitor.Control.SubscriptionsController.SubscribeLocally(IResource resource, Boolean isAlsoSubscribe, Boolean& credFailure) 27/11:58:51 PM control T148 : report error and abort 27/11:58:51 PM misc T148 : Show comms error 27/11:58:51 PM authman ? T147 : Prepared AuthManager request context with result: Continue 27/11:58:51 PM authman D T147 : Getting translated url from AuthManager request context... 27/11:58:51 PM authman ? T146 : Got translated url from AuthManager: https://myapps.albertahealthservices.ca/Citrix/PNAgentSPD/enum.aspx 27/11:58:51 PM authman ? T147 : Got translated url from AuthManager: https://myapps.albertahealthservices.ca/Citrix/PNAgentSPD/enum.aspx 27/11:58:51 PM pna T146 : Adding sson logon method to request. 27/11:58:51 PM pna T146 : Adding sson logon method to request. 27/11:58:51 PM pna T147 : Adding sson logon method to request. 27/11:58:51 PM pna T146 : SSOMode = CredsFromAuthMan 27/11:58:51 PM pna T146 : PNA SSon functionlity enabled. Sending request to AuthManager. 27/11:58:51 PM pna T146 : PNA SSon functionlity enabled. Sending request to AuthManager. 27/11:58:51 PM pna T146 : PNA SSon functionlity enable 27/11:58:51 PM pna = T146 : call SendAndReceiveRequestViaAuthman: https://myapps.albertahealthservices.ca/Citrix/PNAgentSPD/enum.aspx 27/11:58:51 PM pna T147 : PNA SSon functionlity enabled. Sending request to AuthManager. 27/11:58:51 PM pna > T146 : { 27/11:58:51 PM pna T147 : PNA SSon functionlity enabled. Sending request to AuthManager. 27/11:58:51 PM pna = T147 : call SendAndReceiveRequestViaAuthman: https://myapps.albertahealthservices.ca/Citrix/PNAgentSPD/enum.aspx 27/11:58:51 PM pna > T147 : { 27/11:58:51 PM ui T100 :ShowMessageBox TopMost=False title= message=Your apps are not available at this time. Please try again in a few minutes or contact your help desk with this information: Cannot contact PNAgentSPD. |
So this dialog popped up for an application called ‘BMTServe’. And what does BMTServe look like?
![]() |
Generic icon! |
But BMTServe was not the only application that encountered this dialog. From my video it popped up numerous times. Searching the SelfService.txt file for ‘Your apps’ and looking for the application it references points to an application with a blank icon 100% of the time. Not every application that produces a blank icon causes this prompt, as we literally have ~250 applications with blank icons and the dialog pops up anywhere from 0 to 10 times. Sometimes it pops up 2 times, sometimes none, sometimes 10 times.
So, why are these icons blank?
Citrix Receiver 4.3 seems to only prefer 32bit icons or icons of a particular size. I haven’t confirmed what exactly yet, but I do know that 8bit 32×32 icons don’t seems to get ‘translated’. The Citrix logs all but confirm this as well.
I confirmed with Citrix that icons are required to be 32bit and the order they are checked is 48×48, 32×32 then 16×16.
This is how Receiver processes icons that are formatted correctly:
1 2 3 4 5 6 7 8 9 10 |
27/2:10:27 PM bg CtxsJobL:Proccesing next Job. Total JobCount 13 27/2:10:27 PM bg = CtxsJobL:Execute job Icon48-pnagentspd-c4be576e@@AHSCTX:MHRH 102100 27/2:10:27 PM bg > CtxsJobL:{ 27/2:10:27 PM bg ? CtxsJobL:}00:00:00 27/2:10:27 PM bg CtxsJobL:Proccesing next Job. Total JobCount 13 27/2:10:27 PM bg = CtxsJobL:Execute job Icon48-pnagentspd-c4be576e@@AHSCTX:CRH 102100 27/2:10:27 PM bg > CtxsJobL:{ 27/2:10:27 PM bg ? CtxsJobL:}00:00:00 27/2:10:27 PM bg CtxsJobL:Proccesing next Job. Total JobCount 13 27/2:10:27 PM bg = CtxsJobL:Execute job Icon48-pnagentspd-c4be576e@@AHSCTX:MHRH RETAIL 102100 TEST |
The icons were processed instantly. 00:00:00. But if they are formatted in a way that Receiver decides it needs to ‘reformat’ them:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
27/1:51:21 PM bg = CtxsJobL:Execute job Icon48-pnagentspd-c4be576e@@AHSCTX:IMPAX Client - PCH 27/1:51:21 PM bg > CtxsJobL:{ 27/1:51:21 PM misc ? CtxsJobL: GetDetails from Network for pnagentspd-c4be576e@@AHSCTX:IMPAX Client - PCH Icon48 27/1:51:21 PM misc > CtxsJobL: { 27/1:51:21 PM pna = CtxsJobL: GetDetails from Network for pnagentspd-c4be576e@@AHSCTX:IMPAX Client - PCH Icon48 27/1:51:21 PM pna > CtxsJobL: { 27/1:51:21 PM pna = CtxsJobL: DoGetDetails r=PNAgentClient(pnagentspd-c4be576e) details=Icon48 27/1:51:21 PM pna > CtxsJobL: { 27/1:51:21 PM pna CtxsJobL: Do http request 27/1:51:21 PM pna CtxsJobL: PNA SSOn functionality being used. Suppressing credential request from user. 27/1:51:21 PM authman ? CtxsJobL: Creating AuthManager request context to "https://myapps.albertahealthservices.ca/Citrix/PNAgentSPD/enum.aspx" under name "PNA" with flags "None"... 27/1:51:21 PM authman D CtxsJobL: Created AuthManager request context 27/1:51:21 PM authman D CtxsJobL: Preparing AuthManager request context... 27/1:51:21 PM authman ? CtxsJobL: Prepared AuthManager request context with result: Continue 27/1:51:21 PM authman D CtxsJobL: Getting translated url from AuthManager request context... 27/1:51:21 PM authman ? CtxsJobL: Got translated url from AuthManager: https://myapps.albertahealthservices.ca/Citrix/PNAgentSPD/enum.aspx 27/1:51:21 PM pna CtxsJobL: Adding sson logon method to request. 27/1:51:21 PM pna CtxsJobL: SSOMode = CredsFromAuthMan 27/1:51:21 PM pna CtxsJobL: PNA SSon functionlity enabled. Sending request to AuthManager. 27/1:51:21 PM pna = CtxsJobL: call SendAndReceiveRequestViaAuthman: https://myapps.albertahealthservices.ca/Citrix/PNAgentSPD/enum.aspx 27/1:51:21 PM pna > CtxsJobL: { 27/1:51:21 PM dservice ? CtxsJobL: Do HTTP Request 27/1:51:21 PM dservice > CtxsJobL: { 27/1:51:26 PM dservice ? CtxsJobL: }00:00:05.5156250 27/1:51:26 PM pna ? CtxsJobL: }00:00:05.5156250 27/1:51:26 PM authman CtxsJobL: Disposing AuthManager request context... 27/1:51:26 PM authman D CtxsJobL: Disposed AuthManager request context. 27/1:51:26 PM pna ? CtxsJobL: }00:00:05.5781250 27/1:51:26 PM pna CtxsJobL: Start XML processing 27/1:51:26 PM pna = CtxsJobL: Process XML for applications 27/1:51:26 PM pna > CtxsJobL: { 27/1:51:26 PM pna ? CtxsJobL: ProcessXMLReply for pnagentspd-c4be576e@@AHSCTX:IMPAX Client - PCH 27/1:51:26 PM pna > CtxsJobL: { 27/1:51:26 PM pna ? CtxsJobL: }00:00:00 27/1:51:26 PM pna ? CtxsJobL: }00:00:00 27/1:51:26 PM pna ? CtxsJobL: }00:00:05.5937500 27/1:51:26 PM misc ? CtxsJobL: }00:00:05.5937500 27/1:51:26 PM icon = CtxsJobL: Scale icons as necessary for pnagentspd-c4be576e@@AHSCTX:IMPAX Client - PCH Icon48 27/1:51:26 PM icon > CtxsJobL: { 27/1:51:26 PM icon = CtxsJobL: Get icon32 and scale to Icon48 27/1:51:26 PM icon > CtxsJobL: { 27/1:51:26 PM misc ? CtxsJobL: GetDetails from Network for pnagentspd-c4be576e@@AHSCTX:IMPAX Client - PCH Icon32 27/1:51:26 PM misc > CtxsJobL: { 27/1:51:26 PM pna = CtxsJobL: GetDetails from Network for pnagentspd-c4be576e@@AHSCTX:IMPAX Client - PCH Icon32 27/1:51:26 PM pna > CtxsJobL: { 27/1:51:26 PM pna = CtxsJobL: DoGetDetails r=PNAgentClient(pnagentspd-c4be576e) details=Icon32 27/1:51:26 PM pna > CtxsJobL: { 27/1:51:26 PM pna CtxsJobL: Do http request 27/1:51:26 PM pna CtxsJobL: PNA SSOn functionality being used. Suppressing credential request from user. 27/1:51:26 PM authman ? CtxsJobL: Creating AuthManager request context to "https://myapps.albertahealthservices.ca/Citrix/PNAgentSPD/enum.aspx" under name "PNA" with flags "None"... 27/1:51:26 PM authman D CtxsJobL: Created AuthManager request context 27/1:51:26 PM authman D CtxsJobL: Preparing AuthManager request context... 27/1:51:26 PM authman ? CtxsJobL: Prepared AuthManager request context with result: Continue 27/1:51:26 PM authman D CtxsJobL: Getting translated url from AuthManager request context... 27/1:51:26 PM authman ? CtxsJobL: Got translated url from AuthManager: https://myapps.albertahealthservices.ca/Citrix/PNAgentSPD/enum.aspx 27/1:51:26 PM pna CtxsJobL: Adding sson logon method to request. 27/1:51:26 PM pna CtxsJobL: SSOMode = CredsFromAuthMan 27/1:51:26 PM pna CtxsJobL: PNA SSon functionlity enabled. Sending request to AuthManager. 27/1:51:26 PM pna = CtxsJobL: call SendAndReceiveRequestViaAuthman: https://myapps.albertahealthservices.ca/Citrix/PNAgentSPD/enum.aspx 27/1:51:26 PM pna > CtxsJobL: { 27/1:51:27 PM dservice ? CtxsJobL: Do HTTP Request 27/1:51:27 PM dservice > CtxsJobL: { 27/1:51:29 PM dservice ? CtxsJobL: }00:00:02.4375000 27/1:51:29 PM pna ? CtxsJobL: }00:00:02.4843750 27/1:51:29 PM authman CtxsJobL: Disposing AuthManager request context... 27/1:51:29 PM authman D CtxsJobL: Disposed AuthManager request context. 27/1:51:29 PM pna ? CtxsJobL: }00:00:02.5625000 27/1:51:29 PM pna CtxsJobL: Start XML processing 27/1:51:29 PM pna = CtxsJobL: Process XML for applications 27/1:51:29 PM pna > CtxsJobL: { 27/1:51:29 PM pna ? CtxsJobL: ProcessXMLReply for pnagentspd-c4be576e@@AHSCTX:IMPAX Client - PCH 27/1:51:29 PM pna > CtxsJobL: { 27/1:51:29 PM pna ? CtxsJobL: }00:00:00 27/1:51:29 PM pna ? CtxsJobL: }00:00:00 27/1:51:29 PM pna ? CtxsJobL: }00:00:02.5625000 27/1:51:29 PM misc ? CtxsJobL: }00:00:02.5625000 27/1:51:29 PM icon = CtxsJobL: Scale icons as necessary for pnagentspd-c4be576e@@AHSCTX:IMPAX Client - PCH Icon32 27/1:51:29 PM icon > CtxsJobL: { 27/1:51:29 PM icon = CtxsJobL: Get Legacy icon and convert to Icon32 27/1:51:29 PM icon > CtxsJobL: { 27/1:51:29 PM misc ? CtxsJobL: GetDetails from Network for pnagentspd-c4be576e@@AHSCTX:IMPAX Client - PCH LegacyIcon 27/1:51:29 PM misc > CtxsJobL: { 27/1:51:29 PM pna = CtxsJobL: GetDetails from Network for pnagentspd-c4be576e@@AHSCTX:IMPAX Client - PCH LegacyIcon 27/1:51:29 PM pna > CtxsJobL: { 27/1:51:29 PM pna = CtxsJobL: DoGetDetails r=PNAgentClient(pnagentspd-c4be576e) details=LegacyIcon 27/1:51:29 PM pna > CtxsJobL: { 27/1:51:29 PM pna CtxsJobL: Do http request 27/1:51:29 PM pna CtxsJobL: PNA SSOn functionality being used. Suppressing credential request from user. 27/1:51:29 PM authman ? CtxsJobL: Creating AuthManager request context to "https://myapps.albertahealthservices.ca/Citrix/PNAgentSPD/enum.aspx" under name "PNA" with flags "None"... 27/1:51:29 PM authman D CtxsJobL: Created AuthManager request context 27/1:51:29 PM authman D CtxsJobL: Preparing AuthManager request context... 27/1:51:29 PM authman ? CtxsJobL: Prepared AuthManager request context with result: Continue 27/1:51:29 PM authman D CtxsJobL: Getting translated url from AuthManager request context... 27/1:51:29 PM authman ? CtxsJobL: Got translated url from AuthManager: https://myapps.albertahealthservices.ca/Citrix/PNAgentSPD/enum.aspx 27/1:51:29 PM pna CtxsJobL: Adding sson logon method to request. 27/1:51:29 PM pna CtxsJobL: SSOMode = CredsFromAuthMan 27/1:51:29 PM pna CtxsJobL: PNA SSon functionlity enabled. Sending request to AuthManager. 27/1:51:29 PM pna = CtxsJobL: call SendAndReceiveRequestViaAuthman: https://myapps.albertahealthservices.ca/Citrix/PNAgentSPD/enum.aspx 27/1:51:29 PM pna > CtxsJobL: { 27/1:51:29 PM dservice ? CtxsJobL: Do HTTP Request 27/1:51:29 PM dservice > CtxsJobL: { 27/1:51:32 PM dservice ? CtxsJobL: }00:00:03.2656250 27/1:51:32 PM pna ? CtxsJobL: }00:00:03.2968750 27/1:51:32 PM authman CtxsJobL: Disposing AuthManager request context... 27/1:51:32 PM authman D CtxsJobL: Disposed AuthManager request context. 27/1:51:32 PM pna ? CtxsJobL: }00:00:03.3750000 27/1:51:32 PM pna CtxsJobL: Start XML processing 27/1:51:32 PM pna = CtxsJobL: Process XML for applications 27/1:51:32 PM pna > CtxsJobL: { 27/1:51:32 PM pna ? CtxsJobL: ProcessXMLReply for pnagentspd-c4be576e@@AHSCTX:IMPAX Client - PCH 27/1:51:32 PM pna > CtxsJobL: { 27/1:51:32 PM pna ? CtxsJobL: }00:00:00.0937500 27/1:51:32 PM pna ? CtxsJobL: }00:00:00.0937500 27/1:51:32 PM pna ? CtxsJobL: }00:00:03.4687500 27/1:51:32 PM misc ? CtxsJobL: }00:00:03.4687500 27/1:51:32 PM icon E CtxsJobL: Couldn't get a fallback size 32 image for resource "[email protected]@AHSCTX:IMPAX Client - PCH" 27/1:51:32 PM icon ? CtxsJobL: }00:00:03.4687500 27/1:51:32 PM icon ? CtxsJobL: }00:00:03.4687500 27/1:51:32 PM icon ? CtxsJobL: }00:00:06.0468750 27/1:51:32 PM icon ? CtxsJobL: }00:00:06.0468750 27/1:51:32 PM bg ? CtxsJobL:}00:00:11.6406250 |
This call to get an icon took 11.6 seconds!!! If it doesn’t get the icon formatted in the way it wants, it appears the SelfService.exe setups a queue of icons that it needs and ‘re-requests’ them from the server. Could it be that Receiver is submitting too many queries? The error mentions to check the authmansvr.txt log file. This log file shows the following:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
10/28/15 06:48:39 > T:00001920 CAuthHttpRequest::SendAndRecieve client='SSP:SelfService.exe:5732:822' object=AuthHttpRequest#274 10/28/15 06:48:39 > T:00001920 { 10/28/15 06:48:39 > T:00001920 . CAuthHttpRequestImpl::SendAndReceive 10/28/15 06:48:39 > T:00001920 . { 10/28/15 06:48:39 > T:00001920 . . CPnaSSOn::ReplaceTokensWithUsernamePassword 10/28/15 06:48:39 > T:00001920 . . { 10/28/15 06:48:39 > T:00001920 . . . CPnaSSOn::ShouldReplaceConstants 10/28/15 06:48:39 > T:00001920 . . . { 10/28/15 06:48:39 < T:00001920 . . . } 10/28/15 06:48:39 > T:00001920 . . . CPnaSSOn::GetUsernamePassword 10/28/15 06:48:39 > T:00001920 . . . { 10/28/15 06:48:39 > T:00001920 . . . . CSSOnLibWrapper::IsSSOnServerContainerAvailable 10/28/15 06:48:39 > T:00001920 . . . . { 10/28/15 06:48:39 < T:00001920 . . . . } 10/28/15 06:48:39 > T:00001920 . . . . CSSOnLibWrapper::GetCredentialType 10/28/15 06:48:39 > T:00001920 . . . . { 10/28/15 06:48:39 T:00001920 . . . . . GetCredentialType returning success with credential type 1 10/28/15 06:48:39 < T:00001920 . . . . } 10/28/15 06:48:39 > T:00001920 . . . . CSSOnLibWrapper::GetUsernamePassword 10/28/15 06:48:39 > T:00001920 . . . . { 10/28/15 06:48:39 < T:00001920 . . . . } 10/28/15 06:48:39 < T:00001920 . . . } 10/28/15 06:48:39 T:00001920 . . . Replaced tokens with credentians from SSOn. 10/28/15 06:48:39 < T:00001920 . . } 10/28/15 06:48:39 > T:00001920 . . CConnectivitySupport::GetRouteForResource url=http://wsctxwi01t.healthy.bewell.ca/Citrix/PNAgentSPD/enum.aspx timeoutSecs=30 cancellationEvent=false 10/28/15 06:48:39 > T:00001920 . . { 10/28/15 06:48:39 T:00001920 . . . Using receiver 10/28/15 06:48:39 > T:00001920 . . . CReceiverBase::GetConnectedVpnGatewayOrEmpty 10/28/15 06:48:39 > T:00001920 . . . { 10/28/15 06:48:39 > T:00001920 . . . . CWindowsReceiver::CallARGetConnectedVpnGateway 10/28/15 06:48:39 > T:00001920 . . . . { 10/28/15 06:48:39 < T:00001BBC . . . . } 10/28/15 06:48:39 T:00001BBC . . . . Receiver status = 0x10 10/28/15 06:48:39 <<<<< T:00001BBC . . . . Throwable created: CSystemException: ARGetConnectedVpnGateway (Receiver SDK API) call failed; status=0x10 10/28/15 06:48:39 < T:00001BBC . . . } 10/28/15 06:48:39 < T:00001BBC . . } 10/28/15 06:48:39 > T:00001BBC . . ConvertExceptionToAmResultOrRethrow 10/28/15 06:48:39 > T:00001BBC . . { 10/28/15 06:48:39 > T:00001BBC . . . CAuthenticationContextError::ConvertExceptionToErrorCodeOrRethrow 10/28/15 06:48:39 > T:00001BBC . . . { 10/28/15 06:48:39 T:00001BBC . . . . Processing exception, type='System exception.' description='ARGetConnectedVpnGateway (Receiver SDK API) call failed; status=0x10' 10/28/15 06:48:39 T:00001BBC . . . . Doesn't convert to a CAuthenticationContextError - rethrowing 10/28/15 06:48:39 < T:00001BBC . . . } 10/28/15 06:48:39 < T:00001BBC . . } 10/28/15 06:48:39 < T:00001BBC . } 10/28/15 06:48:39 < T:00001BBC } 10/28/15 06:48:39 > T:00001BBC CComUtils::HandleComMethodException 10/28/15 06:48:39 > T:00001BBC { 10/28/15 06:48:39 *ERR* T:00001BBC . Caught exception: 'ARGetConnectedVpnGateway (Receiver SDK API) call failed; status=0x10' - returning E_UNEXPECTED 10/28/15 06:48:39 *LOG* T:00001BBC . Module: Citrix Authentication Manager 10/28/15 06:48:39 *LOG* T:00001BBC . Location: C:\PROGRAM FILES (X86)\CITRIX\AUTHMANAGER\AUTHMANSVR.EXE 10/28/15 06:48:39 *LOG* T:00001BBC . Version: 7.0.0.8243 (Release) 10/28/15 06:48:39 *LOG* T:00001BBC . Platform: Windows 6.1.7601 64-bit Service Pack 1 SP Version: 1.0 SuiteMask: 256 ProductType: 1 10/28/15 06:48:39 *LOG* T:00001BBC . Description: An unexpected error occurred. 10/28/15 06:48:39 *LOG* T:00001BBC . Exception type: System exception. 10/28/15 06:48:39 *LOG* T:00001BBC . Detail: ARGetConnectedVpnGateway (Receiver SDK API) call failed; status=0x10 10/28/15 06:48:39 *LOG* T:00001BBC . Context: 10/28/15 06:48:39 *LOG* T:00001BBC . CAuthHttpRequestImpl::SendAndReceive 10/28/15 06:48:39 *LOG* T:00001BBC . |
The error appears to start at “CWindowsReceiver::CallARGetConnectedVpnGateway” When this call is successful it returns:
1 2 3 4 5 6 7 8 9 |
10/28/15 06:48:39 > T:000005FC . . . CReceiverBase::GetConnectedVpnGatewayOrEmpty 10/28/15 06:48:39 > T:000005FC . . . { 10/28/15 06:48:39 > T:000005FC . . . . CWindowsReceiver::CallARGetConnectedVpnGateway 10/28/15 06:48:39 > T:000005FC . . . . { 10/28/15 06:48:39 < T:00001920 . . . . . . . . } 10/28/15 06:48:39 T:00001920 . . . . . . . . Receiver status = success 10/28/15 06:48:39 T:00001920 . . . . . . . . location=NETWORK_LOCATION_LAN 10/28/15 06:48:39 T:00001920 . . . . . . . . connectivity=CONNECTIVITY_DIRECT 10/28/15 06:48:39 < T:00001920 . . . . . . . } |
So, I guess it’s possible that trying to re-pull the icon data is causing authmansvr.exe to crash…? Another crazy thing is I was attempting to automate this process of terminating Receiver and relaunching it to see if I could get a gauge on the frequency of this occurrence and this is what I saw:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 |
Mon 10/26/2015,,18:12:17.28,10 Scanning SelfService.txt for error... Mon 10/26/2015,,18:15:22.59,11 Scanning SelfService.txt for error... Mon 10/26/2015,,18:18:27.96,12 Scanning SelfService.txt for error... msgbox found Mon 10/26/2015,,18:21:33.37,13 Scanning SelfService.txt for error... msgbox found Mon 10/26/2015,,18:24:39.55,14 Scanning SelfService.txt for error... Mon 10/26/2015,,18:27:44.83,15 Scanning SelfService.txt for error... Mon 10/26/2015,,18:30:50.07,16 Scanning SelfService.txt for error... Mon 10/26/2015,,18:33:55.27,17 Scanning SelfService.txt for error... Mon 10/26/2015,,18:37:00.64,18 Scanning SelfService.txt for error... Mon 10/26/2015,,18:40:06.20,19 Scanning SelfService.txt for error... Mon 10/26/2015,,18:43:11.31,20 Scanning SelfService.txt for error... Mon 10/26/2015,,18:46:16.70,21 Scanning SelfService.txt for error... Mon 10/26/2015,,18:49:22.06,22 Scanning SelfService.txt for error... Mon 10/26/2015,,18:52:27.49,23 Scanning SelfService.txt for error... Mon 10/26/2015,,18:55:32.78,24 Scanning SelfService.txt for error... Mon 10/26/2015,,18:58:38.14,25 Scanning SelfService.txt for error... Mon 10/26/2015,,19:01:43.46,26 Scanning SelfService.txt for error... Mon 10/26/2015,,19:04:48.93,27 Scanning SelfService.txt for error... Mon 10/26/2015,,19:07:54.26,28 Scanning SelfService.txt for error... Mon 10/26/2015,,19:10:59.48,29 Scanning SelfService.txt for error... Mon 10/26/2015,,19:14:04.71,30 Scanning SelfService.txt for error... Mon 10/26/2015,,19:17:10.05,31 Scanning SelfService.txt for error... Mon 10/26/2015,,19:20:15.43,32 Scanning SelfService.txt for error... Mon 10/26/2015,,19:23:21.02,33 Scanning SelfService.txt for error... Mon 10/26/2015,,19:26:26.47,34 Scanning SelfService.txt for error... Mon 10/26/2015,,19:29:31.91,35 Scanning SelfService.txt for error... Mon 10/26/2015,,19:32:37.39,36 Scanning SelfService.txt for error... Mon 10/26/2015,,19:35:42.84,37 Scanning SelfService.txt for error... Mon 10/26/2015,,19:38:48.33,38 Scanning SelfService.txt for error... Mon 10/26/2015,,19:41:53.90,39 Scanning SelfService.txt for error... Mon 10/26/2015,,19:44:59.35,40 Scanning SelfService.txt for error... Mon 10/26/2015,,19:48:04.85,41 Scanning SelfService.txt for error... Mon 10/26/2015,,19:51:10.23,42 Scanning SelfService.txt for error... Mon 10/26/2015,,19:54:15.91,43 Scanning SelfService.txt for error... Mon 10/26/2015,,19:57:21.52,44 Scanning SelfService.txt for error... Mon 10/26/2015,,20:00:26.95,45 Scanning SelfService.txt for error... Mon 10/26/2015,,20:03:32.76,46 Scanning SelfService.txt for error... Mon 10/26/2015,,20:06:38.31,47 Scanning SelfService.txt for error... Mon 10/26/2015,,20:09:43.73,48 Scanning SelfService.txt for error... Mon 10/26/2015,,20:12:49.14,49 Scanning SelfService.txt for error... Mon 10/26/2015,,20:15:54.71,50 Scanning SelfService.txt for error... Mon 10/26/2015,,20:19:00.19,51 Scanning SelfService.txt for error... Mon 10/26/2015,,20:22:05.76,52 Scanning SelfService.txt for error... Mon 10/26/2015,,20:25:11.19,53 Scanning SelfService.txt for error... Mon 10/26/2015,,20:28:16.85,54 Scanning SelfService.txt for error... Mon 10/26/2015,,20:31:22.30,55 Scanning SelfService.txt for error... Mon 10/26/2015,,20:34:28.67,56 Scanning SelfService.txt for error... Mon 10/26/2015,,20:37:34.31,57 Scanning SelfService.txt for error... Mon 10/26/2015,,20:40:39.67,58 Scanning SelfService.txt for error... Mon 10/26/2015,,20:43:45.29,59 Scanning SelfService.txt for error... Mon 10/26/2015,,20:46:50.87,60 Scanning SelfService.txt for error... Mon 10/26/2015,,20:49:56.49,61 Scanning SelfService.txt for error... Mon 10/26/2015,,20:53:02.02,62 Scanning SelfService.txt for error... Mon 10/26/2015,,20:56:07.66,63 Scanning SelfService.txt for error... Mon 10/26/2015,,20:59:13.14,64 Scanning SelfService.txt for error... Mon 10/26/2015,,21:02:18.70,65 Scanning SelfService.txt for error... Mon 10/26/2015,,21:05:24.22,66 Scanning SelfService.txt for error... Mon 10/26/2015,,21:08:30.35,67 Scanning SelfService.txt for error... Mon 10/26/2015,,21:11:35.85,68 Scanning SelfService.txt for error... Mon 10/26/2015,,21:14:41.40,69 Scanning SelfService.txt for error... Mon 10/26/2015,,21:17:46.97,70 Scanning SelfService.txt for error... Mon 10/26/2015,,21:20:52.64,71 Scanning SelfService.txt for error... Mon 10/26/2015,,21:23:58.17,72 Scanning SelfService.txt for error... Mon 10/26/2015,,21:27:03.65,73 Scanning SelfService.txt for error... Mon 10/26/2015,,21:30:09.12,74 Scanning SelfService.txt for error... Mon 10/26/2015,,21:33:14.80,75 Scanning SelfService.txt for error... Mon 10/26/2015,,21:36:20.18,76 Scanning SelfService.txt for error... Mon 10/26/2015,,21:39:25.61,77 Scanning SelfService.txt for error... Mon 10/26/2015,,21:42:31.02,78 Scanning SelfService.txt for error... Mon 10/26/2015,,21:45:36.94,79 Scanning SelfService.txt for error... Mon 10/26/2015,,21:48:42.73,80 Scanning SelfService.txt for error... Mon 10/26/2015,,21:51:48.20,81 Scanning SelfService.txt for error... Mon 10/26/2015,,21:54:53.76,82 Scanning SelfService.txt for error... Mon 10/26/2015,,21:57:59.49,83 Scanning SelfService.txt for error... Mon 10/26/2015,,22:01:05.15,84 Scanning SelfService.txt for error... Mon 10/26/2015,,22:04:10.85,85 Scanning SelfService.txt for error... Mon 10/26/2015,,22:07:16.38,86 Scanning SelfService.txt for error... Mon 10/26/2015,,22:10:21.81,87 Scanning SelfService.txt for error... Mon 10/26/2015,,22:13:27.76,88 Scanning SelfService.txt for error... Mon 10/26/2015,,22:16:33.09,89 Scanning SelfService.txt for error... Mon 10/26/2015,,22:19:38.63,90 Scanning SelfService.txt for error... Mon 10/26/2015,,22:22:44.34,91 Scanning SelfService.txt for error... Mon 10/26/2015,,22:25:49.80,92 Scanning SelfService.txt for error... Mon 10/26/2015,,22:28:55.46,93 Scanning SelfService.txt for error... Mon 10/26/2015,,22:32:01.10,94 Scanning SelfService.txt for error... Mon 10/26/2015,,22:35:06.80,95 Scanning SelfService.txt for error... Mon 10/26/2015,,22:38:12.50,96 Scanning SelfService.txt for error... Mon 10/26/2015,,22:41:18.04,97 Scanning SelfService.txt for error... Mon 10/26/2015,,22:44:23.75,98 Scanning SelfService.txt for error... Mon 10/26/2015,,22:47:29.40,99 Scanning SelfService.txt for error... Mon 10/26/2015,,22:50:35.01,100 Scanning SelfService.txt for error... Mon 10/26/2015,,22:53:40.65,101 Scanning SelfService.txt for error... Mon 10/26/2015,,22:56:46.47,102 Scanning SelfService.txt for error... Mon 10/26/2015,,22:59:52.13,103 Scanning SelfService.txt for error... Mon 10/26/2015,,23:02:57.59,104 Scanning SelfService.txt for error... Mon 10/26/2015,,23:06:02.89,105 Scanning SelfService.txt for error... Mon 10/26/2015,,23:10:26.81,106 Scanning SelfService.txt for error... Mon 10/26/2015,,23:13:33.65,107 Scanning SelfService.txt for error... Mon 10/26/2015,,23:16:39.56,108 Scanning SelfService.txt for error... Mon 10/26/2015,,23:19:45.24,109 Scanning SelfService.txt for error... Mon 10/26/2015,,23:22:50.98,110 Scanning SelfService.txt for error... Mon 10/26/2015,,23:25:56.54,111 Scanning SelfService.txt for error... Mon 10/26/2015,,23:29:01.92,112 Scanning SelfService.txt for error... Mon 10/26/2015,,23:32:07.15,113 Scanning SelfService.txt for error... Mon 10/26/2015,,23:35:12.51,114 Scanning SelfService.txt for error... Mon 10/26/2015,,23:38:17.82,115 Scanning SelfService.txt for error... Mon 10/26/2015,,23:41:23.21,116 Scanning SelfService.txt for error... Mon 10/26/2015,,23:44:28.81,117 Scanning SelfService.txt for error... Mon 10/26/2015,,23:47:34.15,118 Scanning SelfService.txt for error... Mon 10/26/2015,,23:50:39.55,119 Scanning SelfService.txt for error... Mon 10/26/2015,,23:53:45.05,120 Scanning SelfService.txt for error... Mon 10/26/2015,,23:56:50.80,121 Scanning SelfService.txt for error... Mon 10/26/2015,,23:59:56.11,122 Scanning SelfService.txt for error... Tue 10/27/2015,, 0:03:01.33,123 Scanning SelfService.txt for error... Tue 10/27/2015,, 0:06:06.94,124 Scanning SelfService.txt for error... Tue 10/27/2015,, 0:09:12.36,125 Scanning SelfService.txt for error... Tue 10/27/2015,, 0:12:17.78,126 Scanning SelfService.txt for error... Tue 10/27/2015,, 0:15:23.35,127 Scanning SelfService.txt for error... Tue 10/27/2015,, 0:18:28.73,128 Scanning SelfService.txt for error... Tue 10/27/2015,, 0:21:34.13,129 Scanning SelfService.txt for error... Tue 10/27/2015,, 0:24:39.57,130 Scanning SelfService.txt for error... Tue 10/27/2015,, 0:27:44.83,131 Scanning SelfService.txt for error... Tue 10/27/2015,, 0:30:50.10,132 Scanning SelfService.txt for error... Tue 10/27/2015,, 0:33:55.52,133 Scanning SelfService.txt for error... Tue 10/27/2015,, 0:37:01.09,134 Scanning SelfService.txt for error... Tue 10/27/2015,, 0:40:06.51,135 Scanning SelfService.txt for error... Tue 10/27/2015,, 0:43:11.89,136 Scanning SelfService.txt for error... Tue 10/27/2015,, 0:46:17.42,137 Scanning SelfService.txt for error... Tue 10/27/2015,, 0:49:22.79,138 Scanning SelfService.txt for error... Tue 10/27/2015,, 0:52:28.21,139 Scanning SelfService.txt for error... Tue 10/27/2015,, 0:55:33.71,140 Scanning SelfService.txt for error... Tue 10/27/2015,, 0:58:39.27,141 Scanning SelfService.txt for error... Tue 10/27/2015,, 1:01:44.71,142 Scanning SelfService.txt for error... Tue 10/27/2015,, 1:04:50.17,143 Scanning SelfService.txt for error... Tue 10/27/2015,, 1:07:55.67,144 Scanning SelfService.txt for error... Tue 10/27/2015,, 1:11:01.15,145 Scanning SelfService.txt for error... Tue 10/27/2015,, 1:14:06.56,146 Scanning SelfService.txt for error... Tue 10/27/2015,, 1:17:11.85,147 Scanning SelfService.txt for error... Tue 10/27/2015,, 1:20:17.18,148 Scanning SelfService.txt for error... Tue 10/27/2015,, 1:23:22.66,149 Scanning SelfService.txt for error... Tue 10/27/2015,, 1:26:28.13,150 Scanning SelfService.txt for error... Tue 10/27/2015,, 1:29:33.52,151 Scanning SelfService.txt for error... Tue 10/27/2015,, 1:32:38.85,152 Scanning SelfService.txt for error... Tue 10/27/2015,, 1:35:44.22,153 Scanning SelfService.txt for error... Tue 10/27/2015,, 1:38:49.77,154 Scanning SelfService.txt for error... Tue 10/27/2015,, 1:41:55.33,155 Scanning SelfService.txt for error... Tue 10/27/2015,, 1:45:00.60,156 Scanning SelfService.txt for error... Tue 10/27/2015,, 1:48:06.15,157 Scanning SelfService.txt for error... Tue 10/27/2015,, 1:51:11.49,158 Scanning SelfService.txt for error... Tue 10/27/2015,, 1:54:16.83,159 Scanning SelfService.txt for error... Tue 10/27/2015,, 1:57:22.11,160 Scanning SelfService.txt for error... Tue 10/27/2015,, 2:00:27.94,161 Scanning SelfService.txt for error... Tue 10/27/2015,, 2:03:33.30,162 Scanning SelfService.txt for error... Tue 10/27/2015,, 2:06:38.86,163 Scanning SelfService.txt for error... Tue 10/27/2015,, 2:09:44.58,164 Scanning SelfService.txt for error... Tue 10/27/2015,, 2:10:00.86,165 Scanning SelfService.txt for error... |
Ok, I thought, not so bad. Just two messages the first couple launches? It shouldn’t be too much of an issue… But then I looked at my application folder:
![]() |
Left is when I get all my apps (and usually the message box) the left is all those ‘successes’ |
It appears Receiver removed all applications producing that dialog box. When I was terminating and relaunching receiver it was ONLY populating 195 applications as opposed to 493 it was supposed to. No wonder I wasn’t getting any messages! On a hunch, I looked at each of the 195 applications it kept and they all had good icons. I then took a random sampling of about 30 of the 300 or so applications that it did not keep and none of them had proper icons, all blank. So another bullet towards icons causing my issue.
Same situation. 3.4.X receiver with storefront 3.0.1 and Xenapp65. Icons are there and appear really fast. 4.X with storefront 3.0.1 and Xenapp65 it takes over a minute for the icons to appear and half of them are missing from the published desktop icons. The applications still launch ok, but my users are just going to call in wanting their icons and not take that long for them to appear.
did you ever find a resolution to this issue as I am facing the same thing with receiver version 4.3. All of the apps shortcuts populate, however you get this message about half way through the population. The app shortcuts all work too. I am thinking that there is a timeout value that can be adjusted somewhere but I haven't found it as of yet
I've submitted a bug report with Citrix and am trying to work through with them. No resolution yet and the issue still occurs with Receiver 4.4 but with 4.4 the icons do come down correctly, just not all of them (when this error shows up).
With the testing that I have been doing it has been hit or miss. Sometimes it works fine, other times it doesn't work at all although when it does work I get all of the icons / shortcuts.
I skipped 4.3 and went to 4.4. No problems with 2-3 minute launches like before and the missing icons problem went away. I tried to talk to support for a few hours but the guy I got was a frontline grunt and didn't help very much
Did you ever find a resolution to this issue? I'm experiencing the same thing, and have a support case open with Citrix for the issue, but I'm not looking forward to navigating through the issue with Citrix support.
No Resolution from Citrix yet. I have an open ticket with them but I haven't had a chance to work with them lately because of a more serious issue I'm having with AppV. I still encounter most of these issues with 4.4 still..
Did you try the pnaclient.dll private hotfix that was created for Citrix Receiver 4.3? I'm in the same boat on 4.4 is why I asked and just thought about this when I read this blog. I have a copy of it and can try it in a minute to see what happens.
Did Citrix provide a fix for this problem yet?
In our environment we got the same problem.
No, but I believe we made some progress on this. I believe having applications published with incomplete icons caused this message with 4.2. That message should be suppressed with ~4.4+ (I believe).