Select to view content in your preferred language

Reduce the amount of license checking in order to make Pro more responsive - EDITED

1650
15
11-04-2024 04:39 PM
Status: In Product Plan
Labels (1)
RTPL_AU
Frequent Contributor

2024-1-13: In Product Plan  - ENH-000172764

EDIT:
Following the AGOL outage last week and Esri rebooting a few things, this behaviour seems to be much less of an issue.  If you still experience it please add your kudos but also a context comment so the Esri staff have a bit more information to go by to prevent it from happening again.

EDIT 2:
Nope. Must've been a temporary reprieve as it is back to do at least 4 checks when you paste a value into an attribute table; amongst other things.

 

Pro 3.3.2 seems to do a LOT of license checking.

When you open the Diagnostic Monitor you will see that for almost everything you do, Pro will do multiple successive license checks. 

Paste a value into an attribute table of a locally saved FC in a local FGDB: 4 checks

Rename a map: 76 checks

The log will be filled with:
<HTTPRequest start="5/11/2024 10:20:05 AM" duration="235" thread="39940" status ="200" url="https://www.arcgis.com/sharing/rest/portals/MYAGOLACC/subscriptionInfo?token=THETOKEN&f=json"</HTTPRequest>

 

I understand the need to monetise and audit users but how about doing this during an idle moment/startup and reporting a timestamp so you do it once a day?

Rename a map:

RTPL_AU_1-1730766715220.png

+ (had to scroll to copy them all)

RTPL_AU_3-1730767084166.png

 

That is 19 seconds of unresponsive UI.

 

 

15 Comments
AlfredBaldenweck

Oh man, is that what it is? I thought it was squaring away stuff like "find all layouts that use this map and change the reference there", not just performing license checks that should just be done on start-up. Bizarre.

RTPL_AU

@AlfredBaldenweck  Inverse of Hanlon's Razor, or Grey's Law? 🤣

 

Change the transparency of a fill colour - 12 checks. (right click a fill colour in ToC, set transparency, close dialog)

RTPL_AU_0-1730851561884.png

 

Stacey_Crowe

@RTPL_AU  If possible could you expand your screenshot of Diagnostic monitor. I would love to see the https license call url more in 3.3.2? And do you have any layers from an AGOL in your maps?   Thank you for any information.  

I apologize you put the URL in your comments.  thank you.  I am interested if you do have any AGOL  layers in your maps. 

RTPL_AU

@Stacey_Crowe  it varies. 
Maps may have an AGOL basemap.
Map service calls are not mixed with license calls - which is what I would expect to see if it was checking if you are allowed to access a resource.

You will see something like below if there are webservices loaded - It will do a map load/refresh/load tiles, and then go off testing the license 20 times for 4 seconds while the UI is unresponsive.

RTPL_AU_0-1730947535464.png

 

Stacey_Crowe

Thank you so much for the additional information and sharing this issue.

RTPL_AU

I think Esri rebooted a server to fix the 13 Nov outage (14th Australia time) and now I see a lot less license checking today (15th Nov AEST). 

I hope @KoryKramer  and team find out from the infra team what they broke then changed/fixed so he can make Pro more robust against this type of thing in the future.

Kory - maybe add these classifications for Ideas:

  • User turned it off and on again - Idea implemented by ghosts
  • Esri turned it off and on again - Idea implemented by ghosts

Have a good weekend and my money is on JH. IYKYK.

RTPL_AU

@KoryKramer  This occurs in 3.2, 3.3.2, 3.4.  Tested on 2 computers so far.

Any idea what's going on as it seems to be one of the main reasons for sluggishness in Pro for me.

 

RTPL_AU

This issue is now under Enhancement Request: ENH-000172764

RTPL_AU

This is now in the product plan.

AlfredBaldenweck

Excellent. Thank you for letting us all know and for keeping at it.