-
-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] cf tunnel+device discovery not working #189
Comments
As the error message explains you need to deploy a TURN server alongside PairDrop for it to work behind Cloudflare. Probably I should also provide a docker-compose file that does it all at once. I will look into it. |
i got same issue i think only after recent update even without cf bypassed it wouldn't work on a different network |
@alexonpeace have you deployed a TURN server? If at least one device is behind a NAT you need that for connections:
|
I have refactored the documentation and fixed the Docker Compose file to host coturn alongside PairDrop. @alexonpeace @rafalohaki Please checkout this branch to test if everything is as easy as expected:
After your feedback I would merge this into master. |
Corresponding PR: #195 |
The following comments were deleted by GitHub (via hubot) as part of mistakenly marking this account as spam on 17th February 2024. The correct thread order and the creation date is unclear. I decided to manually restore them anyway in order to complete the information this issue holds even though the restored information might be outdated: Comment by @schlagmichdoch:The docker changes have since been released into Have you since had any luck in hosting your PairDrop instance? :) |
i used stun server from cloudflare. its working |
This comment was marked as resolved.
This comment was marked as resolved.
Closing this as stale. Feel free to reopen if the issue is still present. |
@rafalohaki can you share some info on how you did it?
The files gets read because in the log I see:
But it still doesn't see devices outside the same LAN that I pair. |
You’ll need to run a turn server alongside PairDrop in order to achieve that: |
Oh, I thought that a STUN server was enough (sorry, I don't know much about STUN/TURN). |
There’s more info on the topic here: |
Thanks a lot! That helped me understand how it works. |
@rafalohaki any chance you have a config available to share? |
|
I try to host pairdrop and using cloudflare tunnel
i get log about connecting other device to network but its not loading fully and with error
i tried some ways but still not working
this is what i get when i set up IPV6_LOCALIZE=true
this is when i set up IPV6_LOCALIZE=false
with IPV6_LOCALIZE=4 i get
its discovering device in console but not in gui and after 3 seconds, there is an error.
should i set true to Disable Chunked Encoding/No Happy Eyeballs?
what env should i use
which ip exposed/local should i reverse to make it work woth cloudflare tunnel
I tried to solve problem looking through this issue #69
but still no result
my docker compose:
version: "4"
services:
pairdrop:
image: lscr.io/linuxserver/pairdrop
container_name: pairdrop
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Warsaw
- RATE_LIMIT=false #optional
- WS_FALLBACK=false #optional
- RTC_CONFIG= #optional
- DEBUG_MODE=false #optional
- IPV6_LOCALIZE=4
ports:
- 3088:3000
restart: unless-stopped
The text was updated successfully, but these errors were encountered: