Object-Info icon indicating copy to clipboard operation
Object-Info copied to clipboard

Package report sometimes crashes when scanning Policies

Open sdpalmer opened this issue 11 months ago • 0 comments

I noticed that sometimes when scanning policies the performance is really slow and eventually Object Info will crash. While watching the log file during this I can see that it is getting hundreds of lookup errors (see example below).

20241221_150239 [getDetails] lookup failed for https://jss.server.url/JSSResource/policies/id/17027
20241221_150239 [getDetails] status code: 401

On this specific run it got about 570 lookup errors and only made it through 993 of 2740 policies before it crashed. While in this state it took about 24 minutes for it to scan 993 policies, whereas on a successful run it only took 22 minutes for it to scan all 2740 policies and 35 PreStages.

While it is possible the lookup errors are occurring due to random occasional performance issues on our Jamf Cloud instance, is Object Info possibly crashing because there is such a large number of lookup errors?

sdpalmer avatar Jan 02 '25 22:01 sdpalmer