Preview backend disconnected

When I try making a section where users log in to the site developed in Studio and choose to use Firebase Authentication I get this error popup on every page, and registration of new users fail.

I have tried setting up all possible settings in https://console.cloud.google.com/ that I could think of. I asked the built in Gemini for support, and after about a day of following instructions, I wasn’t able to complete a simple task. It was a Home Page with a Login button, and then registering users in Firebase via its authentication.
I spent a full day following the instructions from AI. I made numerous projects in various vays trying to achieve a simple task of just letting a web site visitor create an account and be able to log in.

Since this is likely a common scenario of what people would like to use Studio for, I am guessing there are some instructions (or tempalte or video…) on how to achieve this?

image

I am seeing what I think is the same issue — it will say “Preview backend disconnected” down in the left hand corner. It will fail in the preview, but if I make a rollout it works fine. I tried to disable emulators (in the dev.nix file, changing detect=true to detect=false) as Gemini suggested, but that didn’t work. I can’t seem to find a more useful error message that tells me how to fix this. Anyone?

From what I read and seen so far, its harmless toast message. (unless someone says differently)
I have had that little bugger show up now on all my projects, but has zero impact on my publish / roll outs / or preview of the app. Not sure if this helps.

From what we know, this banner is unintentional and shouldn’t have any impact on your projects. We will be fixing it shortly so that this banner won’t appear

So I should assume that when I publish a project, it will not appear there (just here in Studio interface)?

To answer my question - The blue popup does not apear on a published site! :clap:

I see that perhaps my concern may be different than the original post. My concern is that Firebase Authentication doesn’t work in Preview mode but does work when the site is published. This seems to be because I didn’t think I could easily add the temporary cluster host to AuthDomain. I have now tried adding this domain (similar to '6000-firebase-studio-[some unique id here].cloudworkstations.dev) and it does work, at least for now. It seems to be stable with both refreshing the page and refreshing the app. I suspect that it may change when I have not been using the prototype for a while and when it gets archived, but we will see. This is probably ok for now so that I can develop with firebase working in the preview window.

And today I have a blue popup warning on my published site… :face_with_raised_eyebrow: