> ## Documentation Index
> Fetch the complete documentation index at: https://docs.domino.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# VSCode Failed to get latest version {"error":"getaddrinfo ENOTFOUND api.github.com"}

> Explains VSCode "getaddrinfo ENOTFOUND api.github.com" and unknown IP log errors in air-gapped Domino environments, with settings to reduce network calls.

# VSCode error: "Failed to get latest version — getaddrinfo ENOTFOUND api.github.com"

When you run VSCode (code-server) in a closed or air-gapped environment, you may see error messages in your logs. These errors are benign — the Domino Standard Environment (DSE) doesn't rely on internet resources to function.

## Failed to get latest version

The error `Failed to get latest version {"error":"getaddrinfo ENOTFOUND api.github.com"}` occurs because code-server attempts to update itself on startup. You can see the relevant code in [code-server/update.ts](https://github.com/cdr/code-server/blob/e07ae004b73823483e9f7015548dc7d38334558a/src/node/update.ts#L64).

Apply the following network-related settings to suppress these update attempts.

### Apply the settings

1. Open `$DOMINO_WORKING_DIR/.vscode/User/settings.json` in your editor.
2. Add or merge the following configuration into the file:

   ```
   {
     "update.mode": "none",
     "extensions.autoUpdate": false,
     "workbench.enableExperiments": false,
     "extensions.autoCheckUpdates": false,
     "json.schemaDownload.enable": false,
     "update.showReleaseNotes": false,
     "npm.fetchOnlinePackageInfo": false,
     "workbench.settings.enableNaturalLanguageSearch": false
   }
   ```
3. Save the file and restart VSCode.

> **Note:** This workaround has not been verified in a fully air-gapped environment. Results may vary.

## Unknown IP addresses in logs

The IP addresses `142.250.179.176` and `216.58.214.16` appear in the logs because code-server tries to update the extensions that ship with the DSE. This behavior originates from the `downloadInstallableExtension` function in code-server.


## Related topics

- [Troubleshooting](/knowledge-base/troubleshooting-overview.md)
- [VSCode Error: ENOSPC: System limit for number of file watchers reached](/knowledge-base/error-enospc-system-limit-for-number-of-file-watchers-reached.md)
- [Get all versions of a Registered Model](/api-reference/registered-models/get-all-versions-of-a-registered-model.md)
- [Get versions of a Registered Model (V2)](/api-reference/registered-models/get-versions-of-a-registered-model-v2.md)
