szimek / sharedrop

Easy P2P file transfer powered by WebRTC - inspired by Apple AirDrop
https://www.sharedrop.io
MIT License
9.35k stars 682 forks source link

How to diagnose the error occurs? #136

Open pqnhan opened 1 year ago

pqnhan commented 1 year ago

I got an error message: "It was not possible to establish direct connection with the other peer" when trying to transfer files between two devices on two different networks, although the two devices "see each other".

Is there any way to diagnose the error, find the cause?

szimek commented 1 year ago

Hi! It's best to check for an error in browser's devtools (here are instructions how to find it in Chrome).

However, if it doesn't work then it most likely won't be possible to establish a direct connection :/ The "devices seeing each other" feature is provided by Firebase, so it's unrelated to p2p connection that's used to transfer files.