Extension marketplace fails with "Failed to fetch" error when using VS Code Marketplace URLs

Environment:

  • Antigravity Version: 1.15.8

  • macOS: 15.7.3

Issue:

When configuring Antigravity to use the Visual Studio Code marketplace instead of the default Open VS marketplace, extension search fails with “Error while fetching extensions. Failed to fetch”

Steps to reproduce:

  1. Open Settings > Editor

  2. Set Marketplace Item URL to: https://marketplace.visualstudio.com/items

  3. Set Marketplace Gallery URL to: https://marketplace.visualstudio.com/_apis/public/gallery

  4. Attempt to search for extensions

Expected behavior:

Extensions from the VS Code marketplace should load and be searchable

Actual behavior:

Error message appears: “Error while fetching extensions. Failed to fetch”

Settings added to settings.json:


"antigravity.marketplaceGalleryItemURL": "https://marketplace.visualstudio.com/items",

"antigravity.marketplaceExtensionGalleryServiceURL": "https://marketplace.visualstudio.com/_apis/public/gallery"

Solved!

The issue was my default DNS server failing to resolve Microsoft domains.

Fix for macOS

  1. Open Apple menuSystem Settings
  2. Click Network in the sidebar
  3. Select your active network connection (Wi-Fi or Ethernet)
  4. Click Details
  5. Click DNS
  6. Remove existing DNS servers and add:
    • 8.8.8.8 (Google Public DNS)
    • 8.8.4.4 (Google secondary DNS)
  7. Click OK

After this change, visiting marketplace visualstudio .com in Chrome and using the VS Code Marketplace in Antigravity both work.