Javascript error with TiddlyHost on password-protected wikis in mobile view

Hi folks,

I’m currently hosting my personal digital Zettelkasten, modeled after the one created by Soren Bjornstad, on TiddlyHost. I’m using the password feature that’s native to TiddlyWiki to encrypt it, that way I can set it as a public wiki and access it without logging into my TiddlyHost account.

I’m running into an odd and very specific problem. Whenever I try to access my TiddlyWiki from my mobile device, I’m encountering an internal JavaScript error after entering my password.

  • I’m using Firefox mobile. I’d like to keep using Firefox mobile.
  • When I turn the password protection off, this solves the problem.
  • I’ve tried accessing my wiki via a different mobile browser (Safari instead of Firefox), and this also fixes the problem.
  • I’ve checked, and this issue persists with a fresh dummy TiddlyWiki with password protection.
  • I only encounter this error on mobile, and have had zero issues with desktop access.
  • A browser refresh does not solve the issue.

Funny enough, it seems like the password feature is what’s causing the issue. I’ve never worked with JavaScript before, and I have no idea how to solve this problem, or where to even begin checking for the bug (if it’s even a bug?).

Any leads or suggestions?

This seems a little contradictory, make it public and use encryption, to avoid private and logging it. Once you login you can make the browser remember your login details.

  • Something to check is are you using an external javascript wiki, perhaps this has a problem with encryption.
  • If you have another browser trying there just for diagnostics?
  • Make another simple tiddlyhost site with only encryption and test that.
  • Have you any start up actions or similar that many be getting caught up in the load process.
  • Perhaps disable your plugins individually and try to see if the problem re-occurs, if not enable another, and try again.

By mobile device, you must mean iPhone ?

When I try the same experiment on Android I don’t get an error. But there’s a lot of variables. So I think we need someone with an iPhone to try it with Firefox and see if they get a similar result.

It’s hard to diagnose this sort of thing on mobile because, AFAICT, the mobile browsers don’t provide a browser console.

For what it’s worth, I’d make sure that auto-save is off.