subins2000 / WebDrop

Easiest group P2P File & Message transfer in browser with WebRTC 🔥. Cross-platform alternative to Apple's AirDrop, Xender, ShareIT with the same speed over LAN. No installation, just a website :)
https://WebDrop.Space
GNU Affero General Public License v3.0
273 stars 36 forks source link

Can't connect to any WebTorrent trackers In Chrome #59

Open 117503445 opened 11 months ago

117503445 commented 11 months ago

image

App.vue:221 Error: Connection error: Failed to construct 'RTCPeerConnection': 'stun:global.stun.twilio.com:3478?transport=udp' is not a valid stun or turn URL.
    at p.r (websocket-tracker.js:413:35)
    at Object.h (events.js:243:26)
    at u.emit (events.js:153:5)
    at p._destroy (index.js:461:19)
    at p.destroy (index.js:404:10)
    at index.js:107:33

Can't connect to tracer in chrome, but FireFox can.

I think the reason is that one of the dependencies is using the wrong STUN server stun:global.stun.twilio.com:3478?transport=udp but this is illegal.

You can refer to https://github.com/twilio/twilio-video.js/issues/1934

subins2000 commented 10 months ago

Yikes so that's why it's not working on Chrome. I think updating simple-peer of p2pt dependency should fix this. Need some time to figure how to do this without breaking anything else. Hmmmm