Skip to content
This repository was archived by the owner on Jul 15, 2026. It is now read-only.

Fix timeout with OSV API#2

Description

@bkuhlmann

Why

Hello. 馃憢 Was attempting to use brew vulns and keep getting a timeout error when connecting to the OSV API. I'm guessing you might need a timeout threshold or even a possible retry after a max of three attempts for something?

How

Here's my steps to recreate:

gem install brew-vulns
brew vulns

The above will output:

Checking 104 packages for vulnerabilities...
(103 packages skipped - no supported source URL)

Error querying OSV: OSV API timeout: Net::ReadTimeout with #<TCPSocket:(closed)>

Notes

  • macOS: macOS 26.2
  • Ruby: ruby 4.0.1 (2026-01-13 revision e04267a14b) +YJIT +PRISM [arm64-darwin25.2.0]

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions