zadam / trilium

Build your personal knowledge base with Trilium Notes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(Bug report) Trilium fail to load

WPum opened this issue · comments

commented

Trilium Version

0.56.2

What operating system are you using?

Windows

What is your setup?

Server access only

Operating System Version

Windows 10 version 2004 with Firefox 107.0

Description

Sometimes Trilium fail to load, showing a blank page with an error "ERROR when calling GET options: error - undefined".

Console log:

image

I can't find anything unusual in the backend log.

commented

Hi, that kind of looks like some intermittent network error.

commented

Hi, I deploy Trilium to localhost, so the network is unlikely to cause an error.

Luckily I found a way to reproduce this kind of error.

It seems that this error is related to rapid actions on the note interface. For example, I created two notes and switch between them rapidly. At the same time I refreshed the page by pressing F5, and then the error occurred.

test2.mp4
commented

@WPum this is normal - when you press F5, browser will forcefully cancel all network requests in progress and the error will still propagate into the JS runtime.