node-snapdrop icon indicating copy to clipboard operation
node-snapdrop copied to clipboard

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

Open KaKi87 opened this issue 3 years ago • 2 comments

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 avatar Dec 26 '22 20:12 KaKi87

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: https://github.com/RobinLinus/snapdrop/issues/345, https://github.com/RobinLinus/snapdrop/issues/532 [...]


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

Bellisario avatar Dec 27 '22 11:12 Bellisario

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/

KaKi87 avatar Dec 27 '22 13:12 KaKi87