while running npm run dev
, the redirected tab for live preview showing " This page isn’t working". Is IDX down?
@kirupa can you please help me out with this issue? I have tried to clear the cookies as well , created new workspace but same issue.
I just started getting this too…
@kirupa please let us know if its a known issue
@Avijit_Pal, @treeder - which project types are you seeing this on? Approximately since when did the previews stop working?
I tried it on another project and it worked so figured something must have been messed up for that one project. I ended up blowing away last 7 days of cookies and data from Chrome then it worked.
And it happened again… Workstation went to sleep, i refreshed to load it up again. Ran my app, refreshed the app page in Chrome and got the same ERR_TOO_MANY_REDIRECTS. This is definitely recent within the past few days where this issue started happening.
Project type is just a basic node app, no crazy frameworks like next or anything.
It’s strange, it looks like it’s bouncing around ports or something, like I start at https://3000-idx-myapp-XXX.cluster… and end up on https://80-idx-myapp… ending with cloudworkstations.dev/_workstation/forwardAuthCookie?redirectToken=bCII713n7DDKRSXXX before it quits.
@treeder - Can you please share this workspace with me?
kirupa[at]google.com
I will take a look and maybe ping you to share it with a few more of my colleagues who can dig deeper.
i am also getting the same error.
@kirupa emailed you.
Thanks! For some reason, the share didn’t take. Can you please share again? You have to explicitly add me to the project via the Share link:
Having this issue as well.
Thanks @Erik_Olsen and @treeder for sharing your workspaces with me. We think there is a bug in the underlying interaction between IDX and the VM, for this only happens when we serve from the VM as opposed to localhost on the browser. Stay tuned as we investigate a fix.
Here is a workaround that may work: How repair ERR_TOO_MANY_REDIRECTS - #5 by kirupa
the IDX development team is already working on this issue
the only solution to this problem is to create a new project with the same code or use the idx web view integration
→ in IDX press (Cmd or Ctrl) + Shift + P and enter “show web view” this web view is native (localhost) and continues to work normally