Antigravity IDE/Desktop/CLI (Mac) - There was an unexpected issue setting your account

Actual Error in Antigravity Desktop 2.0:

There was an unexpected issue setting your account. Post “https://oauth2.googleapis.com/token”: tls: failed to verify certificate: x509: “upload.video.google.com” certificate is not standards compliant

Actual Scene:

  • AVG Antivirus running with Antigravity products, fine
  • Installed apps
  • Restarted the mac machine (open the same window)
  • After 20 seconds from startup, it feels sluggish/freezing, decided to restart again (without opening the same window)
  • After startup, all secure sites declared non-private or there’s a man-in-the-middle-attack
  • AVG is suspected acting like it is, so I uninstalled it
  • All websites including Google webapps now back to normal

Current Problem:

  • I used my personal email account (with Google AI Pro) to login on Antigravity 2.0, IDE, and agy cli
  • On Antigravity 2.0 Desktop, that error above shows up
  • On Antigravity IDE, Error when trying to query on the agent
  • On Antigravity CLI, error also when trying to query
  • (Just now) - Bootstrapping cloned flutter app via melos - cannot proceed due to the same error thrown on the steps: “ERROR: ERROR: ERROR: Got TLS error trying to find package [PACKAGE_NAME] at”

Actions Taken:

  • Uninstalled AVG, confirmed no other avg related certificates on access key after uninstall
  • Wiped out (nuked) all files/folders related to antigravity
  • Uninstalled antigravity and reinstall it
  • No proxies on WIFI, tried different internet connection providers (including hotspot from mobile data)
  • DNS is 1.1.1.1 or 8.8.8.8
  • Tried to set “Always Trust” on all Keychain Access > Certificates that starts with GTS Root, GlobalSign and DigiCert on System and System Roots level, no progress

Have you guys encountered this same problem? How did you fix it?

  • I update my Sonoma OS with its latest update, error still occurs (within 24 hours)
  • (After a day, going 48 hours) As i am about to upgrade my OS to Tahoe, the errors got lifted/not showing anymore.

This is resolved.

After exactly 48 hours, the errors lifted/gone. This only means, the solution happened not on my machine, but on the server ride.

My only suspicion here is that, during that double restart event happened on my mac, AVG screwed the certificates, noticed by Google daemon - then immediately flagged my machine as “doing suspicious activities” - that lead to being always failed during cert verification. And that flag is scheduled to be lifted after 48 hours.