SnapDrop / snapdrop

A Progressive Web App for local file sharing
https://snapdrop.net
GNU General Public License v3.0
18.36k stars 1.68k forks source link

Files are not getting transferred between 2 windows pcs #138

Open raghavk92 opened 4 years ago

raghavk92 commented 4 years ago

Hi, I have two windows laptops. One of them is an older device bought in 2014 and one was bought in 2018. Both are running windows 10 and the latest chrome browser.

I can send files from my android device to both computers. But I am not able to transfer files from 1 windows PC to another. Even a message is not getting sent.

If you need any logs, javascript logs....let me know how to get them - I will send them across.

I am using snapdrop.net

Thanks

PaulSzymanski commented 4 years ago

Hey, you can access the logs via the Chrome DevTools: Ctrl + Shift + J. Copy and paste the logs of booth PCs.

raghavk92 commented 4 years ago

I have the log files . there are some Ip addresses within the log files. Is it safe to share those files on github. Let me know.Should i remove some personal information using some regex?

For the meantime I am pasting the error on the computer1(Sender) and computer2(Reciever)

Computer1(Sender) - Which just gets stuck at transferring Error which repeats: DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Called in wrong state: kStable _onError @ network.js:328 (anonymous) @ network.js:284 Promise.catch (async)
onServerMessage @ network.js:284 _onMessage @ network.js:373 (anonymous) @ network.js:362 fire @ network.js:502 _onMessage @ network.js:39 ws.onmessage @ network.js:19

Computer2(Reciever) - Error: DOMException: Failed to execute 'createAnswer' on 'RTCPeerConnection': PeerConnection cannot create an answer in a state other than have-remote-offer or have-local-pranswer. _onError @ network.js:328 (anonymous) @ network.js:284 Promise.catch (async) onServerMessage @ network.js:284 _onMessage @ network.js:373 (anonymous) @ network.js:362 fire @ network.js:502 _onMessage @ network.js:39 ws.onmessage @ network.js:19