Package Manager Stuck "Fetching Packages"

Recently, the Package Manager window has been failing to load, forever stuck in a “Fetching Packages” state. I first noticed this when I updated a simple sandbox project I maintain to 2022.3.38f1. I tried deleting manifest.json to make sure it wasn’t a bad package that was causing the issue. I also tried deleting the package cache and my local .upmconfig.toml in case either of those were the culprit. Monitoring the upm.log file I see a bunch of errors from zlib that look like this:

[ERROR] Failed to provision package.json for bundled package tarball [com.unity.learn.iet-framework-3.1.3.tgz]:
ZlibError: zlib: incorrect data check

I see about a dozen of those for different built in unity packages.

Note that the window opens fine in the same project on MacOS, I’m only seeing this issue on Windows. I also don’t see the previously mentioned errors in the upm log on mac.

Update: After opening the project with Unity 2022.3.37f1 (the previous version) it seems to have worked itself out, and then opening it in 2022.3.38f1 is okay again. There’s no more of those errors in the logs either. I’ll keep an eye on it and report back if anything changes.