Body:
Hi everyone,
I’m trying out Project IDX and was really looking forward to using the integrated Gemini AI features (like querying/editing code directly in the IDE) that I saw in some demos.
However, when I load my workspace, the Gemini panel/features don’t appear. Instead, I’m consistently getting these error messages shortly after the IDE loads:
Error loading webview: Could not register service worker: SecurityError: Failed to register a ServiceWorker: The provided scriptURL ('https://[...].cloudworkstations.googleusercontent.com/code-oss/cde-[...]/service-worker.js?[...]&remoteAuthority=idx-firebase-test-[...].cloudworkstations.dev') violates the Content Security Policy.
(I’ve attached a screenshot below showing the full error - csp_error.png
)
My IDE just looks like a standard code editor, missing the AI parts I expected.
(Second screenshot attached shows the general IDE appearance - ide_appearance.png
)
I’m guessing this Content Security Policy (CSP) issue is preventing the Gemini components from loading properly. I’ve already tried the standard browser troubleshooting steps:
- Using an Incognito/Private window
- Trying a different browser (Microsoft Edge)
- Disabling all browser extensions
- Clearing all browser cache and cookies
None of these have fixed the error or made the Gemini features appear.
Has anyone else encountered this specific CSP error in Project IDX or had trouble getting the Gemini interface to load? Are there any known workarounds, or could this be a temporary bug?
Any insights or shared experiences would be really helpful!