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

App crashes when connecting/disconnecting? #14

Open
ranavjk opened this issue Sep 8, 2021 · 1 comment
Open

App crashes when connecting/disconnecting? #14

ranavjk opened this issue Sep 8, 2021 · 1 comment

Comments

@ranavjk
Copy link

ranavjk commented Sep 8, 2021

I was trying to run this app. Sometimes the rooms peers connect and disconnect fine. But sometimes the app crashes.
Here is the console.log when the app crashes:
/home/ec2-user/www/node_modules/mediasoup/lib/Channel.js:199
sent.reject(new Error(msg.reason));
^

Error: [method:transport.connect]
at Channel._processMessage (/home/ec2-user/www/node_modules/mediasoup/lib/Channel.js:199:37)
at Socket. (/home/ec2-user/www/node_modules/mediasoup/lib/Channel.js:61:34)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at Socket.Readable.push (node:internal/streams/readable:228:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
[nodemon] app crashed - waiting for file changes before starting...

I have tried to reproduce the error, but it happens randomly. Any suggestions?

@ranavjk ranavjk changed the title App crashes when disconnecting? App crashes when connecting/disconnecting? Sep 8, 2021
@miroslavpejic85
Copy link
Contributor

miroslavpejic85 commented Dec 28, 2021

Hello @ranavjk,
Try updating the dependencies, mediasoup-server to latest and recompiling the mediasoup-client to latest and see if the problem still persists? Regards

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

2 participants