taskwarrior-flutter
taskwarrior-flutter copied to clipboard
Cannot setup sync (v2)
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
- Go to Menu
- Profile -> Manage selected profile -> Configure Taskserver
- Add
taskrc(as explained above) Configure Server Certificateset toca.cert.pemConfigure your certificateset tofirst_last.cert.pemConfigure your keyset tofirst_last.key.pem- Press the lightning (?) icon in the top right corner
- All green ticks
- 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:
- [x] I have starred the repo ⭐ and watched 👀 it on GitHub and followed the contribution guidelines.
Any help?
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?
Related https://github.com/CCExtractor/taskwarrior-flutter/issues/428#issue-2773330452
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.