Skip to content

Cannot setup sync (v2) #458

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

Open
1 task done
DaitiDay opened this issue Mar 26, 2025 · 4 comments
Open
1 task done

Cannot setup sync (v2) #458

DaitiDay opened this issue Mar 26, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@DaitiDay
Copy link

Describe your issue

I'm trying to setup sync with a local taskserver running on a rpi. The server works just fine (tested with 2 laptops), but if I go into the app settings and add certificates and taskrc file (a copy of the one I use on the laptop, without taskd.certificate, taskd.key and taskd.ca), I get all green ticks but at the bottom the popup says "Please setup your TaskServer"

Steps to reproduce

  1. Go to Menu
  2. Profile -> Manage selected profile -> Configure Taskserver
  3. Add taskrc (as explained above)
  4. Configure Server Certificate set to ca.cert.pem
  5. Configure your certificate set to first_last.cert.pem
  6. Configure your key set to first_last.key.pem
  7. Press the lightning (?) icon in the top right corner
  8. All green ticks
  9. Popup at the bottom of the screen says "Please setup your TaskServer"

What was the expected result?

Taskserver correctly setup and sync enabled

Put here any screenshots or videos (optional)

No response

How can we contact you (optional)

No response

Would you like to work on this issue?

None

By submitting this issue, I have confirmed that:

  • I have starred the repo ⭐ and watched 👀 it on GitHub and followed the contribution guidelines.
@DaitiDay DaitiDay added the bug Something isn't working label Mar 26, 2025
@DaitiDay
Copy link
Author

Any help?

@DeadlySquad13
Copy link

Have same issue... I think it may be related to the certificates. Personally I use self-signed certificates and in taskrc these lines:

taskd.trust=ignore hostname

Do you have the same setting by any chance?

@DeadlySquad13
Copy link

DeadlySquad13 commented Mar 31, 2025

Related #428 (comment)

@DaitiDay
Copy link
Author

DaitiDay commented Mar 31, 2025

I tried to put that in taskrc but seems like it's not being loaded... I tried with a simplified taskrc:

taskd.server={host}:53589
taskd.credentials={org}\/{client}\/{key}
taskd.trust=ignore hostname

But when I load it (via file, not pasting the content) I get:

taskd.server={host}:53589
taskd.credentials={org}\/{client}\/{key}

Edit: since for some reason my android phone does not take up local DNS set with pihole, I used the local IP of the taskserver as {host}, but I tried with the hostname too just to be sure, with no changes.

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

No branches or pull requests

2 participants