"Service Worker registration failed:" "Failed to register a ServiceWorker: The origin of the provided scriptURL ('https://ai.studio') does not match the current originai

Does anyone hit this recurrent issue in AI Studio? Does anyone have a fix? Besides clearing cache, browsing history, and making sure you have enough space in Google Drive.

I’m working/prototyping on an app connected to the Firebase database. It used to work well until two days ago.

The only functional copy is a test deploy I made two weeks ago, accessible only with the link. All the other copies from AI Studio and later deployed versions stopped working two days ago and are getting the same type of message.

It seems to be a web worker issue, and the problem lies in the dev environment: Google AI Studio, which runs in isolation. If the generated code uses a web worker for performance, prompt it to run on the main thread instead. Just let me know if it helps.

I figured out that it works by changing the server location using vpn. Also, since around 15th November, it has started working normally again without VPN. Being able to access all apps. I think it was an AI Studio issue that had been fixed two weeks later.