jackdesert / freecinc

A hosted solution for syncing your TaskWarrior client
MIT License
69 stars 3 forks source link

Sync failed. The Taskserver returned error: 504 Request too big #7

Closed engines-wafu closed 6 years ago

engines-wafu commented 6 years ago

Just ran into this on initial sync. Can you temporarily increase the limit?

engines-wafu commented 6 years ago

I think the command below in /var/taskd/config should work:

request.limit 0

jackdesert commented 6 years ago

This is the first time I've seen this issue. Do you know how big your data file is? The default appears to be 1MB

engines-wafu commented 6 years ago

I don't know how big the file is, but I did have this exact problem when setting up taskd on a raspberry pi.

On Tue, May 29, 2018, 20:17 Jack Desert notifications@github.com wrote:

This is the first time I've seen this issue. Do you know how big your data file is? The default appears to be 1MB

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jackdesert/freecinc/issues/7#issuecomment-393017430, or mute the thread https://github.com/notifications/unsubscribe-auth/AaILuFMC1toPRBWmLRTG-P-P9a_btcMUks5t3g9YgaJpZM4UShgw .

jackdesert commented 6 years ago

@gavinedwards will you run these commands and paste the output here?

cd ~/.task
ls -alh

Also, did you eventually get it syncing with your raspberry pi?

engines-wafu commented 6 years ago

total 25096 drwxr-xr-x 29 gavin staff 928B May 29 19:56 ./ drwxr-xr-x+ 188 gavin staff 5.9K Jun 1 11:56 ../ -rw-rw-r-- 1 gavin staff 231B Mar 2 06:17 .vim_tw.history drwxrwxr-x 5 gavin staff 160B Apr 9 2017 Taskwarrior-habitica-hooks-master/ -rw-r--r-- 1 gavin staff 709B May 29 20:16 backlog.data -rw------- 1 gavin staff 1.9K Apr 7 18:52 ca.cert.pem -rw-r--r-- 1 gavin staff 959K May 29 20:15 completed.data -rw-r--r--@ 1 gavin staff 2.0K May 29 19:56 ####.ca.pem -rw-r--r--@ 1 gavin staff 2.0K May 29 19:56 ####.cert.pem -rw-r--r--@ 1 gavin staff 11K May 29 19:56 ####.key.pem -rw------- 1 gavin staff 1.9K Apr 7 18:52 ####.cert.pem -rw------- 1 gavin staff 11K Apr 7 18:52 ####.key.pem drwxr-xr-x 9 gavin staff 288B Feb 13 22:08 hooks/ -rw-r--r-- 1 gavin staff 8.1K May 29 20:16 pending.data -rw-r--r-- 1 gavin staff 148K May 29 20:16 sync_hook.log -rw-rw-r-- 1 gavin staff 1.0M Apr 6 18:09 task-backup-20180406.tar.gz -rw-r--r-- 1 gavin staff 2.0K Apr 17 2017 task.2fdaa844.task -rw-r--r-- 1 gavin staff 2.0K Apr 18 2017 task.6ccd1ea6.task -rw-r--r-- 1 gavin staff 1.9K Apr 12 2017 task.7abff96b.task -rw-r--r-- 1 gavin staff 2.0K May 1 2017 task.7dce9cf2.task -rw-rw-r-- 1 gavin staff 2.1K Apr 2 01:03 task.7e7958c6.task -rw-rw-r-- 1 gavin staff 2.0K Jun 8 2017 task.995e03ac.task -rw-rw-r-- 1 gavin staff 1.9K Sep 11 2017 task.b39318d8.task -rw-r--r-- 1 gavin staff 2.0K Apr 18 2017 task.bb51876c.task -rw-rw-r-- 1 gavin staff 2.0K Oct 21 2017 task.c02b449c.task -rw-rw-r-- 1 gavin staff 2.0K May 15 2017 task.f4cdf417.task lrwxrwxr-x 1 gavin staff 7B May 28 19:07 taskrc@ -> .taskrc lrwxrwxr-x 1 gavin staff 48B May 28 19:05 taskwarrior@ -> /Users/gavin/code/pomodoro-warriors/taskwarrior/ -rw-r--r-- 1 gavin staff 9.2M May 29 20:16 undo.data

It all worked on the raspberry pi once I removed the limit.

Regards,

Gavin

Gavin Edwards BEng(Hons) MSc CEng CMgr MIET MCMI

Mobile: +1 571 599 9517 | email: edwards.gavin@gmail.com

On 31 May 2018 at 19:46, Jack Desert notifications@github.com wrote:

@gavinedwards https://github.com/gavinedwards will you run these commands and paste the output here?

cd ~/.task ls -alh

Also, did you eventually get it syncing with your raspberry pi?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jackdesert/freecinc/issues/7#issuecomment-393742277, or mute the thread https://github.com/notifications/unsubscribe-auth/AaILuEvArS0BReL9zDIhlD0FYyoShP2cks5t4KsbgaJpZM4UShgw .

jackdesert commented 6 years ago

I've temporarily increased the limit to 2.9MB. Give it another shot and let me know how it goes.

engines-wafu commented 6 years ago

Seems like it's working fine now. Thanks for the help!

Regards,

Gavin

Gavin Edwards BEng(Hons) MSc CEng CMgr MIET MCMI

Mobile: +1 571 599 9517 | email: edwards.gavin@gmail.com

On 1 June 2018 at 17:31, Jack Desert notifications@github.com wrote:

I've temporarily increased the limit to 2.9MB. Give it another shot and let me know how it goes.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jackdesert/freecinc/issues/7#issuecomment-394042146, or mute the thread https://github.com/notifications/unsubscribe-auth/AaILuGA631ilk0XJK4a1t9BKjnELUmSCks5t4dzwgaJpZM4UShgw .

jackdesert commented 6 years ago

Good to hear! Reducing limit to default of 1MB.