encryptic-team / encryptic

An encryption-focused open source note taking application
Mozilla Public License 2.0
347 stars 40 forks source link

Dropbox sync fails with error 429 #103

Open daed opened 5 years ago

daed commented 5 years ago

Per @dayfuaim from #95 : Dropbox sync works now (local built version and https://unstable.encryptic.org). But while having many "Error 429"'s, you will have to do sync (tap "Sync" button) several times – depends upon size of your notes library. With each next sync amount of 429's decreases (~2x each time) and one sweet moment sync goes smooth. :)

dayfuaim commented 5 years ago

Answer to https://github.com/encryptic-team/encryptic/issues/95#issuecomment-510699815: Yes, I also think that sync should not be stuck after errors. Just wait some longer (maybe 10..20 sec.) and repeat. Like human would do. :)

cityy commented 4 years ago

I managed to get Dropbox Sync to run on my PC but not on my Laptop (after importing the user profile from my PC). When I hit the sync button it shortly starts spinning and then interrupts without an error message. I tried both the existing Dropbox access token as well as generating a new one. Neither approach worked. Do you have any ideas?

swirly commented 4 years ago

Hello Downloaded encryptic to replace laverna. Sync with dropbox does not work by now Here is the error :

error: "Error in call to API function "files/list_folder": The given OAuth 2 access token is malformed."
response: Response {type: "cors", url: "https://api.dropboxapi.com/2/files/list_folder", redirected: false, status: 400, ok: false, …}
daed commented 4 years ago

I've noticed this happening sometimes after setting up dropbox. If you restart encryptic it will probably vanish. If not, let me know.

Encryptic has a lot of issues that it has been carrying around from the Laverna code that have seemed insurmountable to resolve due the way it was engineered. I've been quietly working on a rewrite that's going to be much closer to pure-javascript with proper CI tests written for it, but it's not really ready to show off yet.

swirly commented 4 years ago

I've tried to restart encryptic, restart computer, but the error is still here. It's not a 429 error, it's a 409 error.