It looks like the SameSite=Lax change in Chrome 80 has broken private sandboxes. When accessing a private sandbox, the app never loads and the page continues to reload tons of network assets (network tab goes nuts).
If you set chrome://flags/#same-site-by-default-cookies to Disabled, everything goes back to normal. I've tried this with every scale of app, from the most basic, document.write('test') app to a complex React CRA-based SPA and get the same symptoms.
The only cookie I see that's affected by this change is _cfduid, but I'm not 100% sure.
It's broken my heart. I'm not sure I'll ever recover 馃槶
For real, though -- we leverage CodeSandbox for our organizations FE tech screens. We're able to work around this by instructing our candidates to use Firefox, but we are really averse to any added friction at the start of a tech screen.
Useless since you can only see the issue in private sandboxes. Should be easy enough to repro, though.
| Software | Name/Version |
| ---------------- | ------------ |
| 小odesandbox | Current |
| Browser | Chrome 80+ |
| Operating System | Mac OS X Catalina |
I'm having problems reproducing this. Do you have issues when accessing your own private sandbox directly or do problems occur for invited folks during a live session?
@garethx Are you using Chrome 80+? I'm having the issue for my own private sandboxes.
Yes, 82. Which specific version are you using? I'll try matching.
Thanks, @garethx -- I'm on Chrome 80.0.3987.132
Hmm -- I just had a chance to test on my Windows machine and it actually seems like the issue is specific to Mac... On Mac I can only test against Catalina, so I'm not sure if previous versions are having the same problem.
Ahhh -- nope... strangely, it seems like on Windows, the default for chrome://flags/#same-site-by-default-cookies is Disabled. If I explicitly set it to Enabled I'm able to repro in Windows.
(Same Chrome version on both machines)
Update here: just discovered that the change to make chrome://flags/#same-site-by-default-cookies default to Enabled is being gradually rolled out:
https://www.chromium.org/updates/same-site
So, in order to repro this, you may have to explicitly set that flag to Enabled.
I was able to reproduce the behavior:
Chrome 80.0.3987.132, macOS Catalina 10.15.03
Chrome flag needed to be turned on for me: chrome://flags/#same-site-by-default-cookies
codesandbox reloaded so fast it's hard to tell what's going on. It seems like the babel traspiler worker is related: it's the last thing to appear on the source tab of dev tools before crashing.


@jonnyasmar Ah, great catch - that explains why I couldn't reproduce in 80 either. Will flag to the team!
Deploying now, should be live within 15 min!
Can confirm the fix is live and working! Thanks so much @CompuIves