Comments (6)
@lxgr-linux thanks for the update.
Based on this issue, and other cases too, I could say that "app <=> @electron webview"
interaction, on some systems and for so far unclear reason, is a sensitive area of @electron. As pointed before, for the next release, I'm going to disable background throttling for webview's "webContents" guessing that this might increase named interaction stability.
Another option is replacing "app <=> @electron webview"
interaction with communication via the main
@electron channel, used as a simple events/signals redirection thing. So instead of direct "app <=> @electron webview"
interaction, the main
process would be in the middle "app <=> main <=> @electron webview"
. Besides, this approach would likely benefit the "context isolation" enabling need as when I tried it before, the direct "app <=> @electron webview"
interaction had some issue in relation to "context isolation". But this would increase the code complexity and would require some refactoring, so this approach is undesirable.
from electronmail.
The notification
channels has to be setup, so the further "app <=> @electron webview"
interaction logic works as designed, including secure persisting the active session for reuse it on the next app start. The log error indicates the issue with notification
channel establishing, the timeout error.
Why this happens is unclear at the moment, as there is no error cause in the log, so the request for notification channel setup just hangs somewhere in the @electron/@chromium internals. Some other users experience similar issues, see #648 for example.
I guess I could disable the background throttling for webview's "webContents", and we see then if it increases the "app <=> @electron webview"
interaction stability.
For now, if you run Linux, consider other package types, like for example flatpak-based one. Writing this because the issue like this might be potentially related to environment specifics (it stopped working for you a few months ago, for some reason, like for example update on your environment), and "flathub" comes with some environment isolation capabilities.
from electronmail.
This is happening to me since the last update.
from electronmail.
I tried flatpak-based version, and it works fine. There is no longer a need for a captcha, and the session remains valid the next time the app starts.
Maybe it's caused by the environment like you said.
from electronmail.
For me this is back working on my arch system.
from electronmail.
I'm going to disable background throttling for webview's "webContents" guessing that this might increase named interaction stability.
The backgroundThrottling: false
flag is already there for at least 3 years,
from electronmail.
Related Issues (20)
- Prontomail account cannot log in to ElectronMail HOT 4
- [NEWS] official proton mail desktop app in 2024 HOT 5
- Build error, occurs on tag v5.2.2 only HOT 1
- Windows 11 refuses to show notifications. HOT 2
- Will the development of electronmail continue, despite the upcoming official proton desktop client ? HOT 1
- ElectronMail window flickers on Windows 11 HOT 3
- Messages are no longer displayed HOT 1
- Android version of the application HOT 1
- Tor does not protect our IP address and is revealed with a webRTC leak HOT 10
- The app refuses to save more than one "proton-session" cookies records set HOT 3
- Maybe this is outside of the scope, but ability to access new web app of Proton Pass? HOT 1
- Can't open web links from e-mails in default browser HOT 8
- Windows 7 CRACK for v. 5.2.2 HOT 4
- [Bug] Drive: unable to download files that ask for location before download (large files) HOT 4
- problem with loading font in system dialogs HOT 3
- [FR] Use NativeMessaging for KeePassXC integration
- I am confused on how to do the code for recovering my proton mail password HOT 21
- Proton Mail has received official Windows client HOT 3
- Calendar side bar, no network connection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electronmail.