vladimiry / ElectronMail

Unofficial ProtonMail Desktop App
GNU General Public License v3.0
1.5k stars 97 forks source link

Failed to load webclient in 15000ms | Flatpak Version #349

Closed kb8cb40j1av39c02 closed 3 years ago

kb8cb40j1av39c02 commented 3 years ago

Hi

First of all, thank you for Electronmail. I used it daily on Windows - however I have switched to PopOS 20.04 LTS recently, and I've been using the Flatpak version of your app on PopOS.

Since installing the flatpak version I get following error almost every time when I open the app: Failed to load "webclient1://mail.protonmail.com" page in 15000ms

I have deleted part of the URL. I know where the logfile is located. But I'm not sure if it's safe to post the entire logfile? Does it contain sensitive information?

The issue is I think related to #311 .

Kindest regards!

vladimiry commented 3 years ago

This is a Flatpak-specific issue and unfortunately there is not a lot I can do about it. I will just ping @mike2307 and @pizzadude, maybe they have some information for sharing. The workaround is to use other package type.

But I'm not sure if it's safe to post the entire logfile? Does it contain sensitive information?

The log file won't help much (I was reviewing it in #311). In general, the app tends not to put sensitive information into the log file. For sharing potentially sensitive information there is an email address specified in the author field of the package.json file.

pizzadude commented 3 years ago

I use Fedora 33. I used to have this issue but after some OS updates I no longer have this issue. Maybe Pop OS has outdated flatpak / some other libraries? You can try the snap version as a workaround, it should work. https://snapcraft.io/electron-mail

pizzadude commented 3 years ago

You can try updating flatpak via the official PPA to see if it helps.

sudo add-apt-repository ppa:alexlarsson/flatpak sudo apt update sudo apt dist-upgrade

kb8cb40j1av39c02 commented 3 years ago

@vladimiry does the .deb version have a way of automatically updating or does it contain update notifications like windows? @pizzadude I suppose so in that case. Maybe if I upgraded to Pop OS 20.10 it would fix itself. If I do so and something changes I will update this.

vladimiry commented 3 years ago

The wild guess is that the issue might be kernel version dependent, see https://github.com/vladimiry/ElectronMail/issues/253.

pizzadude commented 3 years ago

I'm using kernel 5.9.9. What kernel does PopOS 20.04 use? You can check with " uname -r " in the terminal.

kb8cb40j1av39c02 commented 3 years ago

5.8.0 in 20.04

vladimiry commented 3 years ago

does the .deb version have a way of automatically updating or does it contain update notifications like windows?

The code and app behavior is the same for all packages except for the snap+flatpak ones where the "Check for update and notify" toggle disabled by default (but can be manually enabled if needed). That toggle simply enables the https://api.github.com/repos/vladimiry/ElectronMail/releases response checking on app start and showing the desktop notification if new version is available.

123

kb8cb40j1av39c02 commented 3 years ago

UPDATE @vladimiry @pizzadude: The issue is now fixed! PopOS is still on 20.04 - Kernel still on 5.8.0 - but what HAS changed is the flatpak version installed - i noticed it got upgraded to 1.8.4 - I sadly don't quite remember what version was installed before. Since that upgrade though - I've never had the issue anymore.

vladimiry commented 3 years ago

Thanks for the update. Lets close the issue then.