Summary
OSV-Scanner licence scanning is repeatedly failing after successful package
extraction because the upstream deps.dev request returns gRPC Unavailable.
This appears to be a recurrence of #2737, which was previously attributed to
intermittent deps.dev API unavailability.
Environment
- OSV-Scanner:
2.4.0
- OSV-Scalibr:
0.4.5
- Commit:
b56b5191101d5f27d4787d5583d8d01e9518a7af
- Platform: Linux amd64
- Date observed: 25 July 2026
- Inputs: one Go module and one npm lockfile
Command shape
osv-scanner scan source \
--lockfile <path>/go.mod \
--lockfile <path>/package-lock.json \
--licenses \
--all-packages \
--format json \
--output-file <path>/license-inventory.json
Actual behaviour
Package extraction succeeds:
Scanned <path>/go.mod file and found 8 packages
Scanned <path>/package-lock.json file and found 274 packages
End status: 0 dirs visited, 2 inodes visited, 2 Extract calls
rpc error: code = Unavailable desc = service unavailable
The command returns status 127 and does not produce a valid JSON inventory.
Five attempts with exponential delays of 15, 30, 60 and 120 seconds all failed
with the same response. The failure has also been observed on repeated runs
during the day.
Expected behaviour
Licence inventory succeeds, or the scanner provides a supported
resilient/offline path for licence metadata when deps.dev is temporarily
unavailable.
Questions
- Is deps.dev currently experiencing a known incident or regional degradation?
- Is there a public status channel for OSV-Scanner's deps.dev dependencies?
- Is there a supported way to cache or use previously resolved licence
metadata when dependency inputs are unchanged?
- Would the project consider distinguishing this upstream infrastructure
failure more explicitly in the exit status and diagnostics?
No repository source or private package names are included in this report.
Summary
OSV-Scanner licence scanning is repeatedly failing after successful package
extraction because the upstream deps.dev request returns gRPC
Unavailable.This appears to be a recurrence of #2737, which was previously attributed to
intermittent deps.dev API unavailability.
Environment
2.4.00.4.5b56b5191101d5f27d4787d5583d8d01e9518a7afCommand shape
Actual behaviour
Package extraction succeeds:
The command returns status 127 and does not produce a valid JSON inventory.
Five attempts with exponential delays of 15, 30, 60 and 120 seconds all failed
with the same response. The failure has also been observed on repeated runs
during the day.
Expected behaviour
Licence inventory succeeds, or the scanner provides a supported
resilient/offline path for licence metadata when deps.dev is temporarily
unavailable.
Questions
metadata when dependency inputs are unchanged?
failure more explicitly in the exit status and diagnostics?
No repository source or private package names are included in this report.