codesandbox / codesandbox/codesandbox-client

Can RARELY get this app to function

Open
#6,331 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

🐛 bug report

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project
    adheres to.
  • I have searched the issue tracker for an issue that matches the one I want
    to file, without success.

Description of the problem

I can get my sandbox to load maybe once a day. If I refresh the page then it is completely hosed. I've tried clearing all cookies and site data and using a private browser window. I am able to get to my dashboard all the time but when I open a sandbox it just loads the site skeleton/layout but won't show files or the sandbox preview. Many menus are simply empty. Only thing I can find in the console is that a web socket failed to connect.

This just keeps repeating over and over in the console.

WebSocket connection to 'wss://codesandbox.io/socket/websocket?guardian_token=eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJDb2RlU2FuZGJveCIsImV4cCI6MTYzODM5MDYzMywiaWF0IjoxNjM4MzkwMDMzLCJpc3MiOiJDb2RlU2FuZGJveCIsImp0aSI6IjhlMjJiNWM4LTFiMTAtNGQ3NC1iZTFhLThjYjU0MzY0ODU0YyIsIm5iZiI6MTYzODM5MDAzMiwicGVybWlzc2lvbiI6InNvY2tldCIsInN1YiI6IlVzZXI6ZWY4MzAzNTAtYTI5Yi00YzA5LTg5YTAtMGY0ODg5Y2EyMjY1IiwidHlwIjoiYWNjZXNzIn0.WkQNWVdPQk1mbeZ6md7J7P_g4bGBfbSIMOXxszMsnF-kE25I5YU4OslZeWZ9Rr0Z_Y5JwwyUh20HSpNFqQeWGw&client_version=PROD-1638375107-d14bdb5a1&vsn=2.0.0' failed: 

How has this issue affected you? What are you trying to accomplish?

View and edit a code sandbox...

To Reproduce
Link to sandbox:

https://codesandbox.io/s/carbon-graph-y-axis-issue-ztmqd

Your Environment
Software Name/Version
Сodesandbox ?
Browser Edge 95 and Firefox 94
Operating System Windows 10 Enterprise 20H2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with the linked sandbox in Edge 95 or Firefox 94 on Windows 10, then inspect the repeated WebSocket connection error shown in the report. Done means the sandbox reliably displays its files and preview, including after refresh, without empty menus.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.