Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting invocation timeout error after a few days with the app open #648

Open
armanatz opened this issue Nov 9, 2023 · 1 comment
Open

Comments

@armanatz
Copy link

armanatz commented Nov 9, 2023

I receive this error message after the app has been running for a couple of days. The error notification shows up around 20 times and clearing all of the notifications just shows a gray screen.

Restarting the app resolves the issue.

I am on Windows 10 running the latest version of ElectronMail and I have persistent sessions enabled but not "auto-login into the app".

Uncaught (in promise): Error: Invocation timeout of calling "resolveLiveProtonClientSession" method on "electron-mail:webview-api:primary" channel with 25000ms timeout
Error: Invocation timeout of calling "resolveLiveProtonClientSession" method on "electron-mail:webview-api:primary" channel with 25000ms timeout
at <anonymous>:965:24
at Observable.init [as _subscribe] (<anonymous>:5216:35)
at Observable._trySubscribe (<anonymous>:3231:25)
at <anonymous>:3225:121
at Object.errorContext (<anonymous>:10349:16)
at Observable.subscribe (<anonymous>:3223:26)
at doInnerSub (<anonymous>:6939:58)
at outerNext (<anonymous>:6933:40)
at OperatorSubscriber._this._next (<anonymous>:5391:15)
at Subscriber.next (<anonymous>:3637:123)

Do let me know what other info is needed from me.

@vladimiry
Copy link
Owner

vladimiry commented Nov 9, 2023

I run the app on Linux for weeks without restart and have not faced this issue yet. Apparently the issue is linked to some sort of sleep state switch or/and interrupted internet connection which affects the webview's ipc-message event getting through. There is no fancy stuff in resolveLiveProtonClientSession implementation, as it simply works with window.sessionStorage. Labeling it as "glitch" for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants