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

[Bug] "DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Called in wrong state: stable" #24

Open
KaKi87 opened this issue Dec 26, 2022 · 2 comments
Labels
original-repo-bug This is a Snapdrop original bug and it’s not caused by our implementations

Comments

@KaKi87
Copy link

KaKi87 commented Dec 26, 2022

Hello,

As soon as I try to upload a file at node-snapdrop.onrender.com, the following error is thrown :

network.js:333 DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Called in wrong state: stable
_onError @ network.js:333
(anonymous) @ network.js:289
Promise.catch (async)
onServerMessage @ network.js:289
_onMessage @ network.js:378
(anonymous) @ network.js:367
fire @ network.js:509
_onMessage @ network.js:39
ws.onmessage @ network.js:19

Thanks

@KaKi87 KaKi87 changed the title DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Called in wrong state: stable [Bug] "DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Called in wrong state: stable" Dec 26, 2022
@Bellisario
Copy link
Owner

This is a common Snapdrop bug.
Currently I don't have any idea how to solve this issue. Lots of pulls on the original repo have been opened but currently no one solved this issue.
The best solution is just wait some minutes and then try again. Anyway, you can also check the original Snapdrop instance (https://snapdrop.net) to see if it works (if online).

Linked Snapdrop issues: SnapDrop/snapdrop#345, SnapDrop/snapdrop#532 [...]


I'll fix this issue ASAP if someone finds a solution on the original repo.

@Bellisario Bellisario added the original-repo-bug This is a Snapdrop original bug and it’s not caused by our implementations label Dec 27, 2022
@KaKi87
Copy link
Author

KaKi87 commented Dec 27, 2022

Thanks, I subscribed to those issues.
The official instance is still down, but I did find another one that currently works : https://s.hoothin.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
original-repo-bug This is a Snapdrop original bug and it’s not caused by our implementations
Projects
None yet
Development

No branches or pull requests

2 participants