Steps To Reproduce
Run the command bw.exe generate whilst the machine is not connected to the internet and the bitwarden CLI Folder in appdata roaming doesn't exist indicating that its run for the first time
Expected Result
Just the password being outputted and no contact being made to the bitwarden API to fetch serverconfig. This command should run completly offline on the local device without any need for network calls to be made (correct me if im wrong)
Actual Result
A failed attempt to fetch serverconfig before the password is output to stdout
_Unable to fetch ServerConfig from https://api.bitwarden.com FetchError: request to https://api.bitwarden.com/config failed, reason: getaddrinfo ENOTFOUND api.bitwarden.com
at ClientRequest. (C:\snapshot\clients\node_modules\node-fetch\lib\index.js:1505:11)
at ClientRequest.emit (node:events:518:28)
at emitErrorEvent (node:_http_client:104:11)
at TLSSocket.socketErrorListener (node:http_client:518:5)
at TLSSocket.emit (node:events:518:28)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
type: 'system',
errno: 'ENOTFOUND',
code: 'ENOTFOUND'
}
T3NHsR3bK3l15L
Screenshots or Videos
No response
Additional Context
No response
Operating System
Windows
Operating System Version
24H2 Windows 11
Shell
PowerShell
Build Version
2025.12.0
Issue Tracking Info