Skip to content

Backend crash caused by websockets when reloading the page #108

@GuillaumeLeroy34

Description

@GuillaumeLeroy34

Describe the bug
Backend crash when reloading the application

To Reproduce
Steps to reproduce the behavior:

  • start the app with a headset
  • stop the application
  • restart it again

Expected behavior
A clear and concise description of what you expected to happen.
No crash should happen

Desktop (please complete the following information):

  • Windows
  • Firefox latest

Additional context
Add any other context about the problem here.
The app had multiple canvas per headsets

crash trace:

[0] node:events:502
[0]       throw er; // Unhandled 'error' event
[0]       ^
[0]
[0] Error: read ECONNRESET
[0]     at TCP.onStreamRead (node:internal/stream_base_commons:216:20)
[0] Emitted 'error' event on Socket instance at:
[0]     at emitErrorNT (node:internal/streams/destroy:170:8)
[0]     at emitErrorCloseNT (node:internal/streams/destroy:129:3)
[0]     at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
[0]   errno: -4077,
[0]   code: 'ECONNRESET',
[0]   syscall: 'read'
[0] }

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚙️ BackendIssues related to server, database, API.⭕️ More info neededData or details are missing to narrow the problem📲 ADBIssue related to ADB functions😱 BugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions