[Bug] "DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Called in wrong state: stable"
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
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.
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/