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

Server Crash: No game found with socketId ${socketId} #22

Open
bhauptvogel opened this issue Dec 1, 2023 · 0 comments
Open

Server Crash: No game found with socketId ${socketId} #22

bhauptvogel opened this issue Dec 1, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@bhauptvogel
Copy link
Owner

Express and Socket.IO are running on port 10000
New connection: Socket GoME_A2I4Dz6sEjhAAAB
New connection: Socket 6g6v2Sh3R0zTuLBQAAAD
New connection: Socket CkrtePg30GIiU1-yAAAF
/opt/render/project/src/backend/src/gameData.js:126
            throw new Error(`No game found with socketId ${socketId}`);
            ^
Error: No game found with socketId CkrtePg30GIiU1-yAAAF
    at GameService.getGameIdBySocketId (/opt/render/project/src/backend/src/gameData.js:126:19)
    at handleAllPiecesPlaced (/opt/render/project/src/backend/src/index.js:93:26)
    at Socket.<anonymous> (/opt/render/project/src/backend/src/index.js:61:46)
    at Socket.emit (node:events:514:28)
    at Socket.emitUntyped (/opt/render/project/src/backend/node_modules/socket.io/dist/typed-events.js:69:22)
    at /opt/render/project/src/backend/node_modules/socket.io/dist/socket.js:704:39
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
@bhauptvogel bhauptvogel added the bug Something isn't working label Dec 1, 2023
@bhauptvogel bhauptvogel pinned this issue Dec 1, 2023
@bhauptvogel bhauptvogel unpinned this issue Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant