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

Show the dropbox uri when syncing to solve http 400 errors #423

Open
ericchartier opened this issue Mar 17, 2016 · 10 comments
Open

Show the dropbox uri when syncing to solve http 400 errors #423

ericchartier opened this issue Mar 17, 2016 · 10 comments
Labels
Projects

Comments

@ericchartier
Copy link

When trying to sync a new instance of laverna with dropbox, I have to add the uri key to the app config on dropbox, but I have no idea what that uri is.

What I'm using on the website laverna.cc no longer works with the standalone installation on Windows. On the website it is either https://laverna.cc/app/dropbox.html or https://laverna.cc/dropbox.html, not sure which one is good anymore.

In the past, dropbox error messages would show the invalid uri but in that precise case it does not appear.

@ericchartier
Copy link
Author

How am I supposed to sync with dropbox on standalone version?

@CrystalMethod
Copy link

I'm also interested in this use case. 👍

@colinleefish
Copy link

Update: I happened to find that, after I open Laverna, it listens on port 9100 and is serving a web interface which looks very much like the online service. I tried to do authentication in this "localhost" webapp and found that the redirect_uri is actually http://localhost:9100/dropbox.html. After I put this link inside Dropbox Developer Page and redo the auth and this time I reached the login page.

But it was too early to be happy: After I typed in my ID/password, a 404 showed up saying it can't find localhost 9100 dropbox.

FYI. I'm using Mac OS.

I encountered exactly the same problem. Any help? Thanks very much!

@wwebfor wwebfor added the bug label Mar 22, 2016
@wwebfor
Copy link
Member

wwebfor commented Mar 22, 2016

All of you are using your own API key for Dropbox, correct?

@CrystalMethod
Copy link

@colinleefish Thanks for the hint to the correct redirect_uri.

Using 0.7.2-RC3 (Mac OS X) I was able to sync Laverna desktop with my Dropbox account. And using "export config" -> "import config" I was able to sync notes to two Laverna instances (Desktop / Laptop) #219

@colinleefish
Copy link

@wwebfor I'm using the API key I created as instructed in the config page.

@jn0
Copy link

jn0 commented Mar 25, 2016

laverna-dropbox
MacOS 10.10.5, Laverna from here - supposed to be a local desktop app as described in README.md.
No "laverna" executable for Mac/Linux.
The app started by "open index.html".
Attempt to setup the sync to dropbox failed.

@CrystalMethod
Copy link

No, you're using the static version supposed to be used for self hosting Laverna. Please try the native application to be found here: https://github.com/Laverna/laverna/releases/tag/0.7.2-RC3 .

@valvin1
Copy link

valvin1 commented Apr 20, 2016

in 0.7.2-RC4 laverna listens on TCP/9000 instead of TCP/9100 which means we have to add http://localhost:9000/dropbox.htmlin the redirect uri's Dropbox application settings

@winuxue
Copy link

winuxue commented Oct 9, 2017

I have the same issue in linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Sync
Dropbox
Development

No branches or pull requests

7 participants