Since Unity 2019.4 UPM tries to update list of packages and can use “…/-/v1/search…” request.
If manifest.json contains github package registry (https://npm.pkg.github.com/) UPM will show nexterror:
Cannot perform upm operation: Request [GET https://npm.pkg.github.com/@XXXXXXX/-/v1/search?text=com.YYYYYY&from=0&size=250] failed with status code [405] [NotFound]
There is a post on forum (from Unity person) that contains reason why UPM can’t load packages: Using GitHub Packages Registry with Unity Package Manager
Question is:
How to prevent UPM from (/-/all or /-/v1/search) requests to particular registries?