Skip to content
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

Sync or Link New Device between Grayjay Android and Desktop Does Not Work #1680

Open
1 of 3 tasks
powline99 opened this issue Dec 30, 2024 · 6 comments
Open
1 of 3 tasks
Labels
Bug Something isn't working Sync

Comments

@powline99
Copy link

What happened?

I tried on Android version and Desktop (both ways) to use the links to sync or link devices and get a error "failed to link device." I am on the same wifi network. No VPN. Windows 10 Running for Desktop version. I copy the link provided under the QR code both directions and try to paste and link.

Grayjay Version

242

What plugins are you seeing the problem on?

All

Plugin Version

12

When do you experience the issue?

  • While logged in
  • While logged out
  • N/A

Are you using a VPN?

No

Relevant log output

No response

@powline99 powline99 added the Bug Something isn't working label Dec 30, 2024
@d4f5409d
Copy link

d4f5409d commented Jan 1, 2025

Although I am using VPN, but I am still expriencing the same issue.

@solevi
Copy link

solevi commented Jan 8, 2025

I had the same problem syncing between a Linux Desktop app and the Android app.
The resolution was to open TCP port 12315 in the Linux firewall.

@PolGZ
Copy link

PolGZ commented Jan 8, 2025

I had the same problem syncing between a Linux Desktop app and the Android app. The resolution was to open TCP port 12315 in the Linux firewall.

Why isn't this in the FAQ (nor desktop FAQ nor the general one) website?

I had to assume that might be a problem; come and search on issues for the word firewall; enter any of the issues which were not titled about firewall ports; and find a generous comment that solves the issue.

As much as I am thankful for the great @solevi answer... I think it is something to critique and ask for a fix: this should be warned somewhere on the FAQ (or have a documentation site). One shouldn't go opening ports that a "random" user comments about to see if something works. There should be an "official" indication about it.

All that complaining being aside, I am very grateful for this amazing app.

@d4f5409d
Copy link

d4f5409d commented Jan 8, 2025

Oh if Grayjay runs as a server to sync data p2p with my desktop that feature won't work for me. My VPN doesn't allow that so I'd be grateful for another method to sync between devices.

@KazuShuSora
Copy link

I had the same problem syncing between a Linux Desktop app and the Android app. The resolution was to open TCP port 12315 in the Linux firewall.

Thanks a lot for that answer @solevi <3. I agree with @PolGZ that this needs to be in the FAQ on the website. It's the first place I was looking for an answer and if it wouldn't have been for that comment, I'm sure I wouldn't have found the answer any time soon.

@PolGZ
Copy link

PolGZ commented Jan 16, 2025

Oh if Grayjay runs as a server to sync data p2p with my desktop that feature won't work for me. My VPN doesn't allow that so I'd be grateful for another method to sync between devices.

It works just on your local network. Can't you allow access to other devices just on the local network? (imagine a network printer, using KDE Connect...).

You should be able to configure (both) your VPN (and firewall) to allow network communication outside the tunnel to just local/private IP ranges such as:

  • 10.0.0.0/8
  • 192.168.0.0/16

I have a VPN always on (using wireguard) and I can use local printers, KDE Connect between my computers/phone and I could sync Grayjay without problems once I allowed the correct port.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Sync
Projects
None yet
Development

No branches or pull requests

6 participants