this issue usually occurs if something on your computer is deleting the temporary files the calibre viewer creates. You can try using a different temporary directory for calibre, it might help. See
https://manual.calibre-ebook.com/cus...t-variablesfor how to change the calibre temporary directory via an environment variable.