Code Monkey home page Code Monkey logo

Comments (6)

dzhl avatar dzhl commented on July 17, 2024

nobody know to how?

from obsidian-livesync.

vrtmrz avatar vrtmrz commented on July 17, 2024

Sorry for being late!

I regret to say this but I could not reproduce it.
I have tried the command Copy the setup URI (Without anything) and with a simple passphrase AAAAA, and it seems OK.

Would you please try like this?

from obsidian-livesync.

MrBlue90 avatar MrBlue90 commented on July 17, 2024

@dzhl I was getting the same error.
After a lot of changes and tests, I believe it was due to a missing reverse proxy to the DB (since I was trying to get it working on a mobile device and HTTPS is required)
Also, don't forget to create a new database in CouchDB which you enter in the connection tab.
Hope this helps.

from obsidian-livesync.

dzhl avatar dzhl commented on July 17, 2024

@dzhl I was getting the same error. After a lot of changes and tests, I believe it was due to a missing reverse proxy to the DB (since I was trying to get it working on a mobile device and HTTPS is required) Also, don't forget to create a new database in CouchDB which you enter in the connection tab. Hope this helps.

What do I need to do? Do I just need to update Docker again?

from obsidian-livesync.

aksagg avatar aksagg commented on July 17, 2024

@dzhl did you resolve this?

from obsidian-livesync.

hawe80 avatar hawe80 commented on July 17, 2024

@aksagg
Maybe you are misinterpreted the description just like me.
I followed the setup guide and generated the Setup URI like here:

$ export hostname=https://tiles-photograph-routine-groundwater.trycloudflare.com #Point to your vault
$ export database=obsidiannotes #Please change as you like
$ export passphrase=dfsapkdjaskdjasdas #Please change as you like
$ deno run -A https://raw.githubusercontent.com/vrtmrz/obsidian-livesync/main/utils/flyio/generate_setupuri.ts

And could not use the Setup URI!

I confused the passphrase to decrypt the database with the passphrase to decrypt the Setup URI. The first one is set with the export command above. The Setup URI Passphrase is hardcoded in generate_setupuri.ts to welcome

const encryptedConf = encodeURIComponent(await encrypt(JSON.stringify(conf), "welcome", false));

So even if you export your own passphrase like stated above you have to use welcome to decode your Setup URI.

from obsidian-livesync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.