White screen when idle

When I leave anytype idle or switch to another screen for a couple minutes, it just leaves me with a whitescreen. It does not even show me the screen to input my pincode. This happens occasionally

What platform/OS?

Windows 10

1 Like

@JGsource Hi! Please, write step by step how to get the application condition that you described.

@Kirill_Lem Hi. This issue actually stopped occurring once I disabled the pin code. When I had the issue, I first had to input the pin code to access my notes. When I click out of anytype for about 5 minutes+, it would trigger the pin code time out that requires me to input my code again. Sometimes the screen would pop up, other times, the screen would be completely blank which required me to restart the application.

1 Like

@JGsource Hi! I сan’t reproduce it in my local windows machine. Can I ask you to help me with debug?

For successful debug you need:

    1. Create a text file, put inside {“allowDebug”:true} and save it like devconfig.json
    1. Open anytype menu in the left upper corner
    1. Choose File -> Show work directory
    1. Put devconfig.json inside your work directory
    1. Relaunch anytype
    1. Press Alt+Ctrl+I / Shift + CTRL + J for dev tools open and switch to console
    1. Try to reproduce behavior with a white screen
    1. When it reproduced, click the right mouse button on the text in the console, save this and send to here, please

It’s not solved, and disabling the pin code is not a reasonable “fix”. Please reopen this issue as we’re still hitting it on windows Desktop.

Windows 10, Anytype 0.20.9

1 Like

Bump @Kirill_Lem

Here is the stack trace:

electron/js2c/renderer_init.js:13 (electron) The remote module is deprecated. Use https://github.com/electron/remote instead.
log @ electron/js2c/renderer_init.js:13
main.js?0.25695479294883494:257279 [Dispatcher] Server address:  http://127.0.0.1:51279
main.js?0.25695479294883494:249861 [OS Version] 10.0.19043
main.js?0.25695479294883494:249871 [Version] 0.20.9 isPackaged true
main.js?0.25695479294883494:228525 [commonStore.configSet] Object
main.js?0.25695479294883494:228525 [commonStore.configSet] Object
127.0.0.1:65396/image/bafybeie2ivulp46iyewlob75hd3ce6tbodgdl7i55adrqgagov5ftcokzy?width=1920:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
main.js?0.25695479294883494:228525 12:51:35.665 › Error: Error: net::ERR_CERT_AUTHORITY_INVALID
    at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:105:7068)
    at SimpleURLLoaderWrapper.emit (events.js:315:20)
(anonymous) @ main.js?0.25695479294883494:228525
main.js?0.25695479294883494:228525 Error: net::ERR_CERT_AUTHORITY_INVALID
    at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:105)
    at SimpleURLLoaderWrapper.emit (events.js:315)
(anonymous) @ main.js?0.25695479294883494:228525
main.js?0.25695479294883494:228525 13:01:34.583 › Error: Error: net::ERR_CERT_AUTHORITY_INVALID
    at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:105:7068)
    at SimpleURLLoaderWrapper.emit (events.js:315:20)
(anonymous) @ main.js?0.25695479294883494:228525
main.js?0.25695479294883494:228525 Error: net::ERR_CERT_AUTHORITY_INVALID
    at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:105)
    at SimpleURLLoaderWrapper.emit (events.js:315)
(anonymous) @ main.js?0.25695479294883494:228525
main.js?0.25695479294883494:228525 Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Ig (main.js?0.25695479294883494:249605)
    at Object.enqueueSetState (main.js?0.25695479294883494:249507)
    at Router.F.setState (main.js?0.25695479294883494:249355)
    at main.js?0.25695479294883494:370227
    at listener (main.js?0.25695479294883494:28664)
    at main.js?0.25695479294883494:28682
    at Array.forEach (<anonymous>)
    at Object.notifyListeners (main.js?0.25695479294883494:28681)
    at setState (main.js?0.25695479294883494:29312)
    at main.js?0.25695479294883494:29342
    at Object.confirmTransitionTo (main.js?0.25695479294883494:28654)
    at Object.push (main.js?0.25695479294883494:29330)
    at Page.init (main.js?0.25695479294883494:250548)
    at Page.componentDidUpdate (main.js?0.25695479294883494:250510)
    at Ji (main.js?0.25695479294883494:249587)
    at Sj (main.js?0.25695479294883494:249630)
    at exports.unstable_runWithPriority (main.js?0.25695479294883494:249705)
    at cg (main.js?0.25695479294883494:249497)
    at Jj (main.js?0.25695479294883494:249623)
    at yj (main.js?0.25695479294883494:249614)
    at main.js?0.25695479294883494:249498
    at exports.unstable_runWithPriority (main.js?0.25695479294883494:249705)
    at cg (main.js?0.25695479294883494:249497)
    at fg (main.js?0.25695479294883494:249498)
    at gg (main.js?0.25695479294883494:249497)
    at Ig (main.js?0.25695479294883494:249605)
    at Object.enqueueSetState (main.js?0.25695479294883494:249507)
    at Router.F.setState (main.js?0.25695479294883494:249355)
    at main.js?0.25695479294883494:370227
    at listener (main.js?0.25695479294883494:28664)
    at main.js?0.25695479294883494:28682
    at Array.forEach (<anonymous>)
    at Object.notifyListeners (main.js?0.25695479294883494:28681)
    at setState (main.js?0.25695479294883494:29312)
    at main.js?0.25695479294883494:29342
    at Object.confirmTransitionTo (main.js?0.25695479294883494:28654)
    at Object.push (main.js?0.25695479294883494:29330)
    at main.js?0.25695479294883494:268305
    at sentryWrapped (main.js?0.25695479294883494:228326)
(anonymous) @ main.js?0.25695479294883494:228525
main.js?0.25695479294883494:228342 Uncaught Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Ig (main.js?0.25695479294883494:249605)
    at Object.enqueueSetState (main.js?0.25695479294883494:249507)
    at Router.F.setState (main.js?0.25695479294883494:249355)
    at main.js?0.25695479294883494:370227
    at listener (main.js?0.25695479294883494:28664)
    at main.js?0.25695479294883494:28682
    at Array.forEach (<anonymous>)
    at Object.notifyListeners (main.js?0.25695479294883494:28681)
    at setState (main.js?0.25695479294883494:29312)
    at main.js?0.25695479294883494:29342
    at Object.confirmTransitionTo (main.js?0.25695479294883494:28654)
    at Object.push (main.js?0.25695479294883494:29330)
    at Page.init (main.js?0.25695479294883494:250548)
    at Page.componentDidUpdate (main.js?0.25695479294883494:250510)
    at Ji (main.js?0.25695479294883494:249587)
    at Sj (main.js?0.25695479294883494:249630)
    at exports.unstable_runWithPriority (main.js?0.25695479294883494:249705)
    at cg (main.js?0.25695479294883494:249497)
    at Jj (main.js?0.25695479294883494:249623)
    at yj (main.js?0.25695479294883494:249614)
    at main.js?0.25695479294883494:249498
    at exports.unstable_runWithPriority (main.js?0.25695479294883494:249705)
    at cg (main.js?0.25695479294883494:249497)
    at fg (main.js?0.25695479294883494:249498)
    at gg (main.js?0.25695479294883494:249497)
    at Ig (main.js?0.25695479294883494:249605)
    at Object.enqueueSetState (main.js?0.25695479294883494:249507)
    at Router.F.setState (main.js?0.25695479294883494:249355)
    at main.js?0.25695479294883494:370227
    at listener (main.js?0.25695479294883494:28664)
    at main.js?0.25695479294883494:28682
    at Array.forEach (<anonymous>)
    at Object.notifyListeners (main.js?0.25695479294883494:28681)
    at setState (main.js?0.25695479294883494:29312)
    at main.js?0.25695479294883494:29342
    at Object.confirmTransitionTo (main.js?0.25695479294883494:28654)
    at Object.push (main.js?0.25695479294883494:29330)
    at main.js?0.25695479294883494:268305
    at sentryWrapped (main.js?0.25695479294883494:228326)

Describe the bug

If you activate a pin code and you keep anytype open with some active object (e.g. a meeting note). After some time (pin code security timeout) anytype will show a white screen and must be closed in the windows task manager.

This is not the case if you are on the anytype start screen or if pin codes are not active.

To Reproduce

  1. Activate security pin code

  2. Open an existing or create a new anytype object

  3. Switch do a different application … or just wait some minutes

  4. Enjoy a white screen :wink:

Expected behavior

No white screens if pin code is active …

System Information:

  • Windows 10
  • Anytype Version: 0.19.0

@mkoechli please refer to this article https://community.anytype.io/t/-/1559

When I leave anytype idle or switch to another screen for a couple minutes, it just leaves me with a whitescreen. It does not even show me the screen to input my pincode. This happens occasionally and forces me to restart the application to get it working again

This topic has the “solved” tag assigned. Was this fixed?

Will mark this a solved as there was no response lately. Feel free to post here if it happens again.