Troubleshooting

Fixes for the problems people run into most.

2 min read
On this page 9 sections

The Database Client can’t connect

The error says why: refused, host not found, auth failed, unknown Oracle service or TLS. For a local self-signed certificate add sslmode=no-verify (PostgreSQL), TrustServerCertificate=true (SQL Server) or tlsAllowInvalidCertificates=true (MongoDB). SQL Server needs a SQL login; Windows authentication isn’t supported.

A cloud database won’t sign in

For Microsoft Entra ID, run az login first; for IAM or gcloud credentials, check that aws or gcloud can get a token in a terminal. The Cosmos DB emulator’s key isn’t bundled: paste it from Microsoft’s emulator documentation.

A request never finishes

Requests time out after devsnip.apiTimeout. Press Cancel to stop one early, or raise the timeout for slow endpoints.

A new snippet doesn’t appear in IntelliSense

VS Code loads snippets at startup — reload the window (Developer: Reload Window) when prompted.

A security audit finds nothing in a large repo

Each scan reads up to devsnip.securityAudit.maxFiles files and skips dependency, build and cache folders. Raise the setting.

A dependency scan says “Scan incomplete”

The banner lists every reason: unreadable files, unresolved versions, packages OSV could not be queried for, or dependency files in an unsupported format. Scan Again for network problems. If Spring Boot starters show Not analysed (version unknown), the parent or BOM could not be loaded: turn on devsnip.osvScanner.downloadPoms or allow Maven and Gradle to run. The DevSnip Pro: OSV Scanner output channel logs every stage.

Gradle findings are marked Potential

Gradle was not run, so versions came from the build scripts. Allow build tools (devsnip.osvScanner.buildToolResolution), or commit a gradle.lockfile with ./gradlew dependencies --write-locks.

Points look wrong

Progress is stored per machine and repaired automatically if corrupted. Reset progress (under ⋯ in Milestones & Points) clears it.

Still stuck?

Open an issue on GitHub with your VS Code version, operating system and what you expected to happen.