Coder Social home page Coder Social logo

Comments (6)

kimusan avatar kimusan commented on June 13, 2024

just tested with cli v0.11.1 and the problem also exists there.

from dnote.

sungwoncho avatar sungwoncho commented on June 13, 2024

Hi @kimusan, I'll have a look sometime soon, in the meantime:

  • does the problem persist with Dnote server v1.0.4?
  • could you try to set apiEndpoint to [insert base url to your dnote instance]/api in .config/dnote/dnoterc (instead of simply [insert base url to your dnote instance])

from dnote.

kimusan avatar kimusan commented on June 13, 2024

Seems to happen with both 1. 0.4 and 2.0.1 and both the old and new cli.
I wonder if it is the ngnix I have in front that somehow get it to break. The ssl cert is currently expired so maybe that can get things to explode.
The Web interface works just fine on the server.

Also tried with /api and also with :3000/api but no luck.

BTW: is it on purpose the new cli uses the old location for the dnotesrc file? I thought it was weird that it did not identify my changes when I changed the api url in ~/.config/dnote/dnoterc. Strace showed it tried to open ~/.dnote/dnoterc

from dnote.

sungwoncho avatar sungwoncho commented on June 13, 2024

The ssl cert is currently expired

I think this is the root cause. I admit that the error handling could be improved, and opened #603 to track the improvement.

Would you be able to try to renew your SSL cert? Or you could use http rather than https to get unblocked in the short term.

is it on purpose the new cli uses the old location for the dnotesrc file?

Yes, it is intentional for v0.12.0. If the old location exists, CLI will use that location for backward compatibility (https://github.com/dnote/dnote/blob/master/CHANGELOG.md#0120---2020-01-03).

from dnote.

kimusan avatar kimusan commented on June 13, 2024

Finally got around to test it with a new ssl cert (the nginx setup was a bit funky so it required a bit of a hack). This is indeed the problem causing the SIGSEGV and now I can login and search my notes again.

from dnote.

sungwoncho avatar sungwoncho commented on June 13, 2024

Thanks for the update. Closing this and keeping #603 open as an improvement.

More notes on the removal of the web interface: it was removed to lengthen the project's lifespan by simplifying the features and reducing complexity. Since API is stable, maybe a simplified version could be offered as a non-official client in the future. Please let me know about any thoughts.

from dnote.

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.