[BUG] Authentication Required. Please sign in

OS: Windows 11 pro
Plan: AI Pro

Issue: whenever i open the sidebar agent it says Authentication required even though i am signed into my google ai pro account. i tried troubleshooting the issue for 4+ hours, i was not able to fix it
What i tried:
Full uninstallation of antigravity, %username%/.gemini, %username%/.antigravity and %appdata%/Antigravity.
Reset onbording proccess
Signed in and singed out

After all these troubleshooting i was able to find that the issue might be
Error: LanguageServerClient must be initialized first!
i have been having this issue for nearly a week now.

1 Like

did you get appdata/local/programs/antigravity and appdata/roaming/antigravity both?

the LanguageServerClient i know is a process - it might be worth it to check and see if its a hung process via task manager, that could cause a no start.

a week is a long time i’m sorry thats rough - i can say that i myself have more and more frequently where it shows “Please Sign In” by the sidebar, but it usually resolves in under ten seconds!

what else could be an issue - well i would consider even though your issue isn’t the eternal 7 day loop of countdown timer - it might be worth it to check if your antigravity is the same account as in your default browser… you could test by installing google chrome canary or google beta canary, and see if setting that browser as your default browser with only one profile and one google account may solve this. while that solution i’ve been offering for above7day lockout loop victims, its entirely possible you have a variance that produces a slightly different experience?

another thing - you can try adding a reboot in there - so uninstall, clean cache, reboot computer, reinstall.

i’m certainly intrigued if theres something similar here - as my theory has been ongoing that the present auth error is what produces a 7 day security lockout - which would mean there is a new cause that isn’t the 7day bucket.

if theres anything i can do to help just let me know - thats the one size fits all i’ve been banking on though is that there is some account identity mismatch when it tries to perform authentication. a quick side note as well - when you are cleaning cache, if you use the feedback form in the antigravity app - it can push some stats to the developers and possibly shed more light on a solution, especially since this could be a unique circumstance. but also it might be a normal issue, either way glad to try to help you out. :slight_smile:

EDIT : So i just fired up antigravity and it showed that screen on me, wasn’t long like 4 seconds and my gamer instincts kicked in because that felt slower than it should be, and i clicked the “Authentication Required” and it loaded up. Might be an irrelevant thing, i usually do that stuff out of gamer habit, but in the spirit of transparency i’m adding that here because hey how cool if that did it :wink:

Hi @Izaz ,

Thank you for bringing these concerns to our attention. Please be assured that I have shared your feedback with our internal team for further review.

Thank you for your time

I only get the “Authentication required” error on the side bar, my agent manager works fine.
and when the issue first started, the authentication required only lasted for a small amount of time, then it used to fix itself. but now i have waited for hours and nothing happens.

I tried using a diffrent chrome profile and i even changed the default browser to brave. it did not fix.

Another thing i noticed is that, after i do a restart or after i clean install everything, the agent used to load fine on the task bar ONLY on a new window. as soon as i open a folder (which i need to) it shows the auth error.

hmm. what a tricky wicket.

when you cleared cache between reinstalls also - did you only delete antigravity from the appdata\roaming\ or did you also get appdata\local\programs\antigravity ?

you could always try launching it manually before launching antigravity and see if the console gives any error?
C:\Users\USERNAME\AppData\Local\Programs\Antigravity\resources\app\extensions\antigravity\bin\language_server_windows_x64.exe

when you install are you running it as administrator? i know its a mixed bag to mention it - but sometimes that can resolve something… like sometimes as administrator helps and sometimes not as administrator helps - it really depends on the circumstances. i usually install everything as administrator but antigravity is one i specifically don’t because on my own build and how i use it it causes more errors than solutions, and its also highly recommended to not use administrator installs, but there is RARE scenarios where it helps. so thats another coin flip idea…

i should also ask - when you reinstall, are you fitting a reboot inbetween? that can absolutely clear a hung process.

ok so i did not delete appdata\local\programs\antigravity.
Now i tried deleting it and it did not work.

I also tried to run the language service manually, it showed no errors

Something else i want to mention is. my co-worker uses antigravity in a diffrent windows user. he uses a different non-pro account. his anti gravity works fine with no issues at all. is it something to do with the pro plan? i already lost like a week of my plan. i need some refund or something

Hello, how do i know if it got fixed? do i get an email or something? its really annoying to deal with this issue. all my works are delayed

heya sorry it didn’t notif me! i’m not used to this forum, but i’m back :smiley: hi

so the latest news i can tell you is it seems like they are doing a type of security sweep every 12 hours, once around midnight once around noon, since friday night/saturday morning. so if you’re locked - it might temporarily unlock you because it doesn’t see illegal behavior - but then, on the next sweep it might temporarily lock you because it sees multiple accounts.

thats my best understanding on the current state of it all.

anyways to address your questions : if you tried deleting it and it wouldn’t delete - you probably have to manually close the languageserver using taskmanager because it can’t delete something thats running. that is good news that you could load the languageserver manually though! so you tried running the language server first then launching antigravity and it didn’t work? really i think a reinstall is a good candidate for this type of error. you could try rebooting and then uninstalling then deleting the folders that way before it launches a background process.

google hasn’t been addressing this publicly at ALL , the last real statement was 30 days ago where the Lead Dev of Antigravity said they were “targeting malicious behavior” which was accounting for like 90% of their global usage - but idk if thats actually true or if their stuff is that janky and broken. so anyways - theres that, don’t expect an email haha…

but – to lastly address your coworker topic - that would make sense if he actually set up a secondary windows account to accomplish the same type of isolation practice i’m talking about.
i can say - in my experience as a workspace subscriber and personal pro subscriber, i think we are especially having a more frequent rate of these issues - because normal personal account people, they have their main its the one they spend money on, so even if they have multiple accounts - their regular every day stuff is already nested well enough that it hasn’t been as much a problem. but us on workspace - they are really 2 completely different laws of corporate agreements vs personal agreements when it comes to terms of service so they hit workspacers WAYYY more strictly as a result. its confusing, and i honestly only know what i know and try to avoid assuming too much, but i’ve been pretty spot on so far.

if your work is honestly delayed - it might be worth jumping onto a temporary IDE such as Trae, they have probably the next best rates and is pretty stable. but also some stuff can be done bit by bit using gemini chat, and google jules if you haven’t tried that one out yet. i did notice an error with jules where uploads weren’t working, but sharing a drive link or connecting a github it was able to access those. so thats an option as well though none are as good as antigravity.

regarding refunds - if you wanted to try, you can reach out to google one support - they are the team that handles all the billing. i haven’t heard good things - like i did hear people got some refunds but those were for ultra or annual subscribers that i’ve seen who were at 3+ weeks downtime.

there is one other hail mary that often works for networky related stuff - theres a software called Sordum DNS Jumper, which can get you onto the fastest DNS and often this can resolve a nasty networking error, like DNS resolution loop or a DNS forwarding loop which MIGHT be a solution. Worst case scenario the rest of your network would only improve.

i should say too : i’m not google :slight_smile: i’m just a dude who got his stuff working, i’ve been an independent tech consultant for like 15 years.

oh theres one more thing i should say! i just keep assuming everyone is on windows - if you’re on MAC - then check Settings>Accounts. if so, is there more than one google account there?

I kinda found the solution.
But its not reliable.

I am currently using Antigravity version 19.6 and it works fine so far.

1 Like

not the solution, i am unable to stopauto updates now for somereason

1 Like

i think 1.19.4 was the last stable, at least on the calendar that was where it was last most stable for me.

if you’re doing the rollback style at all though - theres 2 update spots. uncheck thie background updates box, and set the update mode dropdown to NONE.

Sorry for ghosting you. i thought i responded to you lol.

So what happend was i was able to figure out how to stop it from updating.
and it currently works fine with no issues.

Thank you soooo much for helping me and sorry for leaving you on seen.

1 Like

haha no worries! honestly i’ve done independent tech support and consultation for like 15 years, very often “no news is good news” when it comes to these sorts of things.

if you ever need help in the future i’m glad to do whatever i can to help, just @DuctTapedGoat or send me a message here. :slight_smile:

1 Like