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

Reconnect error #8

Open
cvorland opened this issue Sep 7, 2015 · 3 comments
Open

Reconnect error #8

cvorland opened this issue Sep 7, 2015 · 3 comments
Labels

Comments

@cvorland
Copy link

cvorland commented Sep 7, 2015

Hi,

Hoping you have an idea on what is happening here.

In Chrome, using the re-connection option,

this.reconnection(opts.reconnection !== false);

results in the following error when attempting to connect to another peer:

Failed to set remote answer sdp: Called in wrong state: STATE_INPROGRESS

If I manually reconnect and re-register the peer, I also get this error when connecting to another peer.

@cvorland
Copy link
Author

After leaving it disconnect & reconnect for a couple days, I am seeing this error now:

Failed to set remote answer sdp: Called in wrong state: STATE_RECEIVEDACCEPT

and also:

(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.

@daviddias
Copy link
Owner

Hi @nutsci sorry I haven't got back to you, have been very busy with the dev of another project. This code is some months old and some of APIs might have changes that change the behaviour, I would have to revisit everything and understand what is going on.

also webrtc-explorer as is, don't have 'gracious leaves', as I never had the chance to implement it, so a peer that goes down, because of network or another reason, might have a havoc behaviour when it tried to reconnect

@cvorland
Copy link
Author

Thanks for the reply,

Will deal with a workaround for now and keep an eye on development. Thanks!

@daviddias daviddias added the bug label Feb 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants