Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live instance of Break Solana is stuck Initializing... #1385

Open
denosaurtrain opened this issue Oct 15, 2022 · 0 comments
Open

Live instance of Break Solana is stuck Initializing... #1385

denosaurtrain opened this issue Oct 15, 2022 · 0 comments

Comments

@denosaurtrain
Copy link

When I visit https://break.solana.com/game, the page is stuck in an Initializing... state. Looking at the browser logs, the client is making a POST request to https://break-solana-mainnet.herokuapp.com/init and receives a 404 from the server. I had hoped to contribute a fix (full disclosure: because I'm job searching), but if my hypothesis is correct, only someone with access to the Heroku account can troubleshoot further. From what I can tell the most likely culprit is this line:

if (!process.env.DISABLE_API) {
  app.use(cors());
  app.use(express.json());
  ApiServer.start(app, httpServer);
}

Since ApiServer is responsible for handling the POST request to /init, it makes sense that the server would return 404 if the server had been initialized with DISABLE_API improperly set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant