Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prune crashes when accessing ebooks via API Client #49

Open
ckemp19 opened this issue Oct 21, 2024 · 2 comments
Open

Prune crashes when accessing ebooks via API Client #49

ckemp19 opened this issue Oct 21, 2024 · 2 comments

Comments

@ckemp19
Copy link

ckemp19 commented Oct 21, 2024

I've been trying to pull some info from our system using an API client with Read privileges. I have selected only:
Packages
Scripts
Computer Groups
Computer Profiles
Policies
Computer EAs

Everything else is unchecked. I did not add permissions to the client to read Classes or eBooks because we don't have any in the system.

Multiple passes with v. 3.2.1 and again with 3.2.2 - as soon as it tries to pull eBooks it throws an error: "Alert - Verify username and password" and then the client crashes. Looking at the progress logs, I'm also seeing it pulling mobiledevicegroups, which the API client has permissions for BUT is also not selected in Prune.

I will try adding ebook permissions to the client as a workaround for the crash, but it shouldn't be trying to access data I didn't ask for. App crash log attached.

Prune-2024-10-21-122303.ips.zip

Screenshot 2024-10-21 at 12 32 38 PM Screenshot 2024-10-21 at 12 32 00 PM
@ckemp19
Copy link
Author

ckemp19 commented Oct 22, 2024

UPDATE: I added permissions for both Classes and ebooks, so the client has Read permissions for every checkable item, but the client failed at the same point (accessing ebooks). I double-checked the API client and found the lifetime was set to the default 60 seconds, so I raised the timeout value to 600 to see if that was the cause. However, it still crashes with a 401 error at the exact same point, trying to read /JSSResources/ebooks.

@ckemp19 ckemp19 changed the title Prune accessing unselected data points, crashing with lack of permission Prune accessing unselected data points (ebooks), crashing with lack of permission Oct 25, 2024
@ckemp19 ckemp19 changed the title Prune accessing unselected data points (ebooks), crashing with lack of permission Prune crashes when accessing ebooks via API Client Oct 25, 2024
@ckemp19
Copy link
Author

ckemp19 commented Oct 25, 2024

I had a chance to test again today - when using an API Client it crashed exactly as it has been. I then went back to username/password and it did not crash when trying to access ebooks. It progressed well past that point, and is currently scanning the data. So it appears that the conflict exists only with the API client, at the initial attempt to access /JSSResources/ebooks.

To be clear: ebooks was still not selected in Prune, only the selections noted above; and no ebooks exist in our system for either Computers or Devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant