Laverna / laverna

Laverna is a JavaScript note taking application with Markdown editor and encryption support. Consider it like open source alternative to Evernote.
https://laverna.cc/index.html
Mozilla Public License 2.0
9.2k stars 801 forks source link

No error shown when failing to contact a remotestorage #668

Open Phyks opened 8 years ago

Phyks commented 8 years ago

Hi,

I have tried to use Laverna with my own remotestorage provider. When trying to connect, it fails because of blocked mixed content (Laverna is served on HTTPS but it requests http://URL/.well-known/webfinger?resource=acct:ID). Not sure if this issue is Laverna-specific or to be reported on a third-party project.

Then, I get

Discovery failed Object { message: "No storage information found at tha…", stack: "" } "No storage information found at that user address."

In the web console of my browser. But this error is never displayed in the UI and the "connect remotestorage" button simply returns to its initial state, which is quite misleading and not really helpful for an average user.

Thanks!

csbenz commented 7 years ago

Does the url actually exist? Do you have a directory https://URL/.well-known/webfinger ?

Phyks commented 7 years ago

The URL was supposed to exist. It was served with Cozy-remotestorage.

The main issue for me here is more that the error is only displayed in the web console of the browser and not reflected in the UI.