ITADN

[Bug] ios devices are isolated

#477Openyaroslav-hub 创建于 2026-03-01
bug
Y
yaroslav-hubcommented
**Describe the bug** When using PairDrop in a local network with iOS devices, the iOS devices do not see other devices (laptops, Android, TV) and are not seen by them. The devices can see each other only among iOS devices. On the self-hosted instance, attempts to create a private room fail: the popup disappears instantly, and no devices appear. On the official PairDrop.net, everything works as expected. Laptops, Android, TV see each other correctly. **To Reproduce** Steps to reproduce the behavior: 1. Deploy PairDrop using Docker Compose in a local network. 2. Open PairDrop on an iOS device and on a laptop/Android device on the same LAN. 3. Attempt to see available peers or transfer files between iOS and other devices. 4. Observe that iOS devices only see each other and not other devices; other devices do not see iOS devices. **Expected behavior** iOS devices should see all devices on the local network, and all devices should be able to send and receive files as on the official PairDrop.net instance. **Screenshots** Errors appear in browser console as RTCPeerConnectionIceErrorEvent referencing stun:stun.l.google.com:19302 with error code 701. **Desktop (please complete the following information):** - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following information):** OS: Windows Browser: Chrome Version: latest OS: IOS 18.2 Browser: Chrome/Safari Version: latest **Bug occurs on official PairDrop instance https://pairdrop.net/** Yes | Version: v1.11.2 — works correctly, no issues **Bug occurs on self-hosted PairDrop instance** Yes **Self-Hosted Setup** Proxy: Nginx Deployment: docker compose Version: latest **Additional context** * Logs show that PairDrop detects the client IP as private and replaces it with 127.0.0.1 for WebRTC, which breaks ICE connectivity on iOS. * The console shows repeated RTCPeerConnectionIceErrorEvent with error code 701 referencing Google STUN: stun:stun.l.google.com:19302. * Tested with ICE_SERVERS=[], network_mode: host, and trusted HTTPS domain on iOS; none of these changes fix the issue. * The issue occurs only in the self-hosted LAN environment (with internet access); with internet access and official PairDrop.net, iOS devices connect normally. * Problem appears even when using a local domain with trusted certificate and after disabling private IP masking / Safari tracking protections. Also I have tried VPN on lan router for both ios and windows devices to exclude internet connection issues, it did not help. My target is to use PairDrop in local network also without internet connection, but my issue is fully with internet access on all devices. Docker compose: ``` version: "3.8" services: pairdrop: image: ghcr.io/schlagmichdoch/pairdrop:latest container_name: pairdrop environment: - PUID=1000 - PGID=1000 - TZ=Etc/UTC - DEBUG_MODE=false - WS_FALLBACK=false - ICE_SERVERS=[] ports: - "3000:3000" restart: unless-stopped ```
0 条评论