Endless syncing while a note is open
Is this normal? I recently noticed Silverbullet is endlessly syncing whenever I have a note open in my browser:
Sep 26 01:35:56 mydomain.com docker[6924]: Requested file Index.md
Sep 26 01:35:56 mydomain.com silverbullet[6974]: Requested file Index.md
Sep 26 01:35:51 mydomain.com docker[6924]: Requested file Index.md
Sep 26 01:35:51 mydomain.com silverbullet[6974]: Requested file Index.md
Sep 26 01:35:46 mydomain.com docker[6924]: Requested file Index.md
Sep 26 01:35:46 mydomain.com silverbullet[6974]: Requested file Index.md
Sep 26 01:35:40 mydomain.com docker[6924]: Requested file Index.md
Sep 26 01:35:40 mydomain.com silverbullet[6974]: Requested file Index.md
Sep 26 01:35:35 mydomain.com docker[6924]: Requested file Index.md
Sep 26 01:35:35 mydomain.com silverbullet[6974]: Requested file Index.md
Sep 26 01:35:30 mydomain.com docker[6924]: Requested file Index.md
Sep 26 01:35:30 mydomain.com silverbullet[6974]: Requested file Index.md
Sep 26 01:35:24 mydomain.com docker[6924]: Requested file Index.md
Sep 26 01:35:24 mydomain.com silverbullet[6974]: Requested file Index.md
Sep 26 01:35:19 mydomain.com docker[6924]: Requested file Index.md
Sep 26 01:35:19 mydomain.com silverbullet[6974]: Requested file Index.md
Sep 26 01:35:14 mydomain.com docker[6924]: Requested file Index.md
Sep 26 01:35:14 mydomain.com silverbullet[6974]: Requested file Index.md
Sep 26 01:35:08 mydomain.com docker[6924]: Requested file Index.md
Sep 26 01:35:08 mydomain.com silverbullet[6974]: Requested file Index.md
Sep 26 01:35:03 mydomain.com docker[6924]: Requested file Index.md
Sep 26 01:35:03 mydomain.com silverbullet[6974]: Requested file Index.md
As a result, whenever I use it on my phone, I keep getting "Page changed elsewhere" errors which causes a refresh, which causes me to lose anything I typed into that note on my phone before the refresh. It is very frustrating, and makes me afraid to use Silverbullet for fear of data loss. :( I have git set up, but I still worry.
The polling is expected. Every 5s the client checks if changes were made on the server (supposedly by external tools or other clients) and reloads if so. So the requests see make sense.
What shouldn't happen is constant reloads. Can you replicate this on a desktop device where you have access to the JavaScript console to see what's going on?
Sure, what can I do to help? I don't see anything changing in the console while I see those requests. I tried on Firefox and Safari (making sure to close the other browser while testing) and both trigger those messages.
Could this be something to do with SSL? I see this line: "Not launching service worker, likely because not running from localhost or over HTTPs. This means SilverBullet will not be available offline."
I have SSL set up, but everything seems to be working fine with that.