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

Connection issues in Desktop client #6641

Closed
4 tasks done
shobeira opened this issue Mar 1, 2024 · 84 comments · Fixed by #6826
Closed
4 tasks done

Connection issues in Desktop client #6641

shobeira opened this issue Mar 1, 2024 · 84 comments · Fixed by #6826
Labels
bug broken functionality, usability problems, unexpected errors desktop Desktop client related issues state:tested We tested it and are about to release it
Milestone

Comments

@shobeira
Copy link

shobeira commented Mar 1, 2024

Bug description
The app pop-up notification notified about the new version of the app and it is installed successfully. After auto relaunch, the app is not getting connected Linux app is not connecting to Tuta anymore and only shows the last connected time. No email received or send.

Desktop (please complete the following information):

  • Desktop Environment: Linux)
  • Distribution: Ubuntu 22.04

Test notes

  • Client still works on all platforms
  • Try with IPv4 address only
  • Try with IPv6 address only
  • Try with both available
@shobeira shobeira added bug broken functionality, usability problems, unexpected errors desktop Desktop client related issues labels Mar 1, 2024
@Sheldoorr
Copy link

Sheldoorr commented Mar 1, 2024

I'm also having the same problem but with Windows version after the latest update.
I tried contacting Tuta but they denied their was a problem.

@tspoon765
Copy link

tspoon765 commented Mar 1, 2024

I have the same problem. client v218.240227.0 on Xubuntu 20.04

@rezbyte
Copy link
Contributor

rezbyte commented Mar 1, 2024

Hi @shobeira, @Sheldoorr and @tspoon765 ,
Sorry to hear you are having issues with getting the Tuta Mail client connected.

Does any error message appear when you open the client? If so, please click 'send report' then copy and paste any logs as a comment into this issue.

Thank you in advance.

@shobeira
Copy link
Author

shobeira commented Mar 1, 2024

No error at all

@tspoon765
Copy link

I copied this log file, not sure if it's useful:

v218.240227.0 - linux

Client: linux
Type: UNKNOWN
Tutanota version: 218.240227.0
Timestamp (UTC): Fri, 01 Mar 2024 06:47:43 GMT
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) tutanota-desktop/218.240227.0 Chrome/122.0.6261.57 Electron/29.0.1 Safari/537.36

== MAIN LOG ==
2024-03-01T06:47:07.437Z I "\n\n''''''''''''''''''''''''''''''''''''''''\n''''''''''''''''''''''''''''''''''''''''\n''''''''''''''''''''''''''''''''''''''''\n''''''''''''''''''''''''''''''''''''''''\n''''''''''''''''''''''''''''''''''''''''\n''''''''''''''''''''''''''''''''''''''''\n''''''''''''''''''''''''',:,''''''''''''\n''''''''''''';:llllcccccccc,'''''''''''' Do you care about privacy?\n'''''''''''':kXWXkoc::;,,'''''''''''''''\n'''''''''''',cdk0KKK00kxdolc;,'''''''''' Work at Tuta! Fight for our rights!\n'''''''''''''''';coxOKNMMWWNK0kdl:,'''''\n'''''''''''''''''''',;oKMMMMMMMMWX0dc,'' https://tuta.com/jobs\n'''''''''''''''''''''';kWMMMMMMMMMMWXk:'\n'''''''''''''''''''',:xXMMMMMMMMMMMMMWKl\n''''''''''''''''';lk0KWMMMMMMMMMMMMMMMWK\n''''''''''''';cdOKWMMMMMMMMMMMMMMMMMMMMM\n'''''''',:ldOKNWMMMMMMMMMMMMMMMMMMMMMMMM\n''',:ldk0XWMMMMMMMMMMMMMMMMMMMMMMMMMMMMM\nldk0XWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM\nWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM\n\n"
2024-03-01T06:47:07.441Z I "worker init time (ms):",178
2024-03-01T06:47:09.432Z I "removed topmost modal component"
2024-03-01T06:47:15.525Z I "removed topmost modal component"

== WORKER LOG ==
2024-03-01T06:47:09.428Z I "[RestClient]","failed request","GET","https://app.tuta.com/rest/sys/session/NJsWcOR--N-9/g5v4P0vBjzZ8UT6VSetQ4gTl0RgJmr3OQ1kcf2B8HFE",0,"",["accessToken","v","cv","Accept"],"no body"
2024-03-01T06:47:09.430Z I "ws close closeOption: ","terminate","state:","terminated"
2024-03-01T06:47:09.431Z I "[RestClient]","failed request","GET","https://app.tuta.com/rest/sys/session/NJsWcOR--N-9/g5v4P0vBjzZ8UT6VSetQ4gTl0RgJmr3OQ1kcf2B8HFE",0,"",["accessToken","v","cv","Accept"],"no body"
2024-03-01T06:47:15.030Z I "[RestClient]","failed request","GET","https://app.tuta.com/rest/sys/session/NJsWcOR--N-9/g5v4P0vBjzZ8UT6VSetQ4gTl0RgJmr3OQ1kcf2B8HFE",0,"",["accessToken","v","cv","Accept"],"no body"
2024-03-01T06:47:15.030Z I "ws close closeOption: ","terminate","state:","terminated"
2024-03-01T06:47:15.030Z I "[RestClient]","failed request","GET","https://app.tuta.com/rest/sys/session/NJsWcOR--N-9/g5v4P0vBjzZ8UT6VSetQ4gTl0RgJmr3OQ1kcf2B8HFE",0,"",["accessToken","v","cv","Accept"],"no body"

== NATIVE LOG ==
2024-03-01T06:47:01.072Z I "the monkey has been patched pid:",3721
2024-03-01T06:47:02.261Z I "version: ","218.240227.0"
2024-03-01T06:47:02.651Z I "resolving key...","tutanota-vault"
2024-03-01T06:47:02.670Z I "config up to date"
2024-03-01T06:47:02.983Z I "[2024-03-01T06:47:02.980Z]","using safeStorage with backend","gnome_libsecret"
2024-03-01T06:47:03.600Z I "[2024-03-01T06:47:03.599Z]","Create tray:true"
2024-03-01T06:47:03.604Z I "[ApplicationWindow]","webAssetsPath: ","/tmp/.mount_tutanoTGy0Kz/resources/app.asar"
2024-03-01T06:47:03.983Z I "[ApplicationWindow]","getting dictionaries from:","https://app.tuta.com/desktop/dictionaries/"
2024-03-01T06:47:03.999Z I "default mailto handler:",false
2024-03-01T06:47:04.000Z I "Webapp ready"
2024-03-01T06:47:04.018Z I "[2024-03-01T06:47:04.018Z]","[ElectronUpdater]","INFO:","Checking for update"
2024-03-01T06:47:04.018Z I "[2024-03-01T06:47:04.018Z]","[ElectronUpdater]","INFO:","checking-for-update"
2024-03-01T06:47:04.385Z I "[ApplicationWindow]","spellcheck-dictionary-initialized","en-GB"
2024-03-01T06:47:04.400Z I "desktop file exists, checking version..."
2024-03-01T06:47:04.855Z I "[DesktopSseClient]","scheduling to check sse in",1,"seconds"
2024-03-01T06:47:05.861Z I "[DesktopSseClient]","last missed notification check:",{"lastMissedNotificationCheckTime":1709209007508}
2024-03-01T06:47:05.862Z I "[DesktopSseClient]","scheduling to check sse in",91,"seconds"
2024-03-01T06:47:05.863Z I "[DesktopSseClient]","starting sse connection"
2024-03-01T06:47:06.043Z I "lookup sse request"
2024-03-01T06:47:06.043Z I "lookup sse request"
2024-03-01T06:47:06.299Z E "[2024-03-01T06:47:06.299Z]","sse error:",""
2024-03-01T06:47:06.787Z I "[2024-03-01T06:47:06.787Z]","[ElectronUpdater]","INFO:","Update for version 218.240227.0 is not available (latest version: 218.240227.0, downgrade is disallowed)."
2024-03-01T06:47:06.788Z I "[2024-03-01T06:47:06.787Z]","[ElectronUpdater]","INFO:","update not available:",{"version":"218.240227.0","files":[{"url":"tutanota-desktop-linux.AppImage","sha512":"8QbpZj+FfjfoY/Ycpm+N6wedwhO0HqdN6BhTQy8N3AJOLCSFQvQ9EsI/7+4R5mZX3c9EbTcdF07uSHNWiiDNDA==","size":123432738,"blockMapSize":130870}],"path":"tutanota-desktop-linux.AppImage","sha512":"8QbpZj+FfjfoY/Ycpm+N6wedwhO0HqdN6BhTQy8N3AJOLCSFQvQ9EsI/7+4R5mZX3c9EbTcdF07uSHNWiiDNDA==","releaseDate":"2024-02-27T17:00:50.141Z","signature":"ZnHO8B2MFEM17QH20lC21l+UJhxi1BfW9ZMK9daZf4oNs6y1O994MbjVkDMQi95wjjrhQuSC+reLO0S4i3YKOCQSdwM7Mk9Q4csAYKqvPGcEscM+PRkqkWM/a+71HGS1HoNq4CBkXRsVecqv1kS0J1YnVVQupJ3TK42z+8Y23ZCtI8zzKl/xJgh8Op4wHSKE7tC3/Q0BtIUIYZ7erakJcIiPSkBXqfcuCM6D27kM3n7Ke06VCatnKkHH1EQN+3GYW7WslGtHBZx1bxmBb9Ego/MxKm+Hl7//elIdqh0SFA6Oa6hbkEDW9B5lrtOvymZ93aKKHvoJsKWdM980deosVw=="}
2024-03-01T06:47:07.424Z I "resolving key...","tutanota-credentials"
2024-03-01T06:47:07.473Z I "[PerWindowSqlCipherFacade]","open db for","NJsWcO9--3-9"
2024-03-01T06:47:07.476Z I "[2024-03-01T06:47:07.476Z]","[WorkerSqlCipher]","started sqlcipher-worker-1"
2024-03-01T06:47:07.672Z I "[2024-03-01T06:47:07.672Z]","[sqlcipher-worker-1]","set up sql cipher done"
2024-03-01T06:47:09.422Z I "[ProtocolProxy]","error for GET https://app.tuta.com/rest/sys/session/NJsWcOR--N-9/g5v4P0vBjzZ8UT6VSetQ4gTl0RgJmr3OQ1kcf2B8HFE:"
2024-03-01T06:47:09.427Z I "[ProtocolProxy]",?
2024-03-01T06:47:09.427Z I "[ProtocolProxy]","{"name":"TypeError","message":"fetch failed","stack":"TypeError: fetch failed\n at /tmp/.mount_tutanoTGy0Kz/resources/app.asar/desktop/DesktopMain.js:10:29051\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /tmp/.mount_tutanoTGy0Kz/resources/app.asar/desktop/DesktopMain.js:10:29559\n at async AsyncFunction. (node:electron/js2c/browser_init:2:47442)"}"
2024-03-01T06:47:09.427Z I "[ProtocolProxy]","failed after 327ms"
2024-03-01T06:47:09.432Z I "[PerWindowSqlCipherFacade]","close db for","NJsWcO9--3-9"
2024-03-01T06:47:09.436Z I "[2024-03-01T06:47:09.436Z]","[OfflineDbRefCounter]","closed db for","NJsWcO9--3-9"
2024-03-01T06:47:14.526Z I "resolving key...","tutanota-credentials"
2024-03-01T06:47:14.544Z I "[PerWindowSqlCipherFacade]","open db for","NJsWcO9--3-9"
2024-03-01T06:47:14.545Z I "[2024-03-01T06:47:14.545Z]","[WorkerSqlCipher]","started sqlcipher-worker-2"
2024-03-01T06:47:14.730Z I "[2024-03-01T06:47:14.730Z]","[sqlcipher-worker-2]","set up sql cipher done"
2024-03-01T06:47:15.028Z I "[ProtocolProxy]","error for GET https://app.tuta.com/rest/sys/session/NJsWcOR--N-9/g5v4P0vBjzZ8UT6VSetQ4gTl0RgJmr3OQ1kcf2B8HFE:"
2024-03-01T06:47:15.029Z I "[ProtocolProxy]",?
2024-03-01T06:47:15.029Z I "[ProtocolProxy]","{"name":"TypeError","message":"fetch failed","stack":"TypeError: fetch failed\n at /tmp/.mount_tutanoTGy0Kz/resources/app.asar/desktop/DesktopMain.js:10:29051\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /tmp/.mount_tutanoTGy0Kz/resources/app.asar/desktop/DesktopMain.js:10:29559\n at async AsyncFunction. (node:electron/js2c/browser_init:2:47442)"}"
2024-03-01T06:47:15.029Z I "[ProtocolProxy]","failed after 256ms"
2024-03-01T06:47:15.031Z I "[PerWindowSqlCipherFacade]","close db for","NJsWcO9--3-9"
2024-03-01T06:47:15.033Z I "[2024-03-01T06:47:15.033Z]","[OfflineDbRefCounter]","closed db for","NJsWcO9--3-9"

@tspoon765
Copy link

tspoon765 commented Mar 1, 2024

When you click on your account name to get it to connect the 'logging in' graphic appears for 1-2 seconds then goes away again, nothing else occurs. Tried it quite a few times, but no connection.

@charlag
Copy link
Contributor

charlag commented Mar 1, 2024

We can't reproduce it on either Ubuntu 22.04 nor on Windows.
If you have ipv6 could you try disabling it and then restarting the app and seeing if it changes anything?
I assume browser version works fine

@Sheldoorr
Copy link

Sheldoorr commented Mar 1, 2024

ipv6 is disabled, tried restarting the app, uninstalled and reinstalled on windows. Restarted Pc....
Still offline.

@charlag
Copy link
Contributor

charlag commented Mar 1, 2024

thank you. could you confirm that it works in browser please?

@charlag
Copy link
Contributor

charlag commented Mar 1, 2024

If you are affected could you please send email to [email protected] with subject "v218.240227 desktop connection issue"? We can ask more specific questions then.
Thank you

@Sheldoorr
Copy link

thank you. could you confirm that it works in browser please?

Working in browser

@igorpupkinable
Copy link

igorpupkinable commented Mar 4, 2024

Works fine for me on Ubuntu 22 LTS with the latest version after updating via pop-up.

@Sheldoorr
Copy link

Any updates? the app is still offline and haven't received any responses after emailing.

@Opening-Button-8988
Copy link

Opening-Button-8988 commented Mar 8, 2024

Issue still persists on 218.240305.0 (Desktop).

This could only be an issue for people with accounts that have yubikeys registered?

@shobeira
Copy link
Author

shobeira commented Mar 8, 2024

Issue still persists on 218.240305.0 (Desktop).

This could only be an issue for people with accounts that have yubikeys registered?

I am not with Yubikey and the problem exists still..

@tinyvoice
Copy link

@shobeira I had this same problem for days until I enabled IPv6. If IPv6 is disabled on your device, router, or VPN, try enabling it. After I did that, it was able to start syncing.

@charlag can you reproduce the problem by disabling IPv6? It might be related to the device having IPv6 enabled but a router or VPN having it disabled, not sure. The Tuta desktop app had a problem a long time ago with only working with or without (I can't remember) IPv6, and it seems like a similar problem is back. It should not required IPv6 or IPv4. It should be able to failover to whichever works.

@samsaraswheel
Copy link

samsaraswheel commented Mar 10, 2024

Getting same problem, "No connection to server" error after latest update appimage 218.240305.0 (Desktop).

Linux Mint 21.3 cinnnamon, latest patches
Linux Mint 20.3 xfce
...but also happens on any linux mint vm image I create.

I found rolling back to Tutanota appimage version 218.240219.0 works for me for now. Any later images have the connection problems.

Of interest on my Linux Mint Xfce, I was running an old Tutanota version 3.122.5 (Desktop) and it was fine. When downloading and running the latest appimage 218.240305.0 (Desktop) version the client gave a message along the lines of "keychain corrupted, credentials being removed" then stopped working from there on either old or new client as I think it corrupted the config profile somehow.

I had to recreate the config folder
/home/user/.config/tutanota-desktop
by renaming it to
/home/user/.config/tutanota-desktop.old
then relog in to the older client to get it working again.

Will be using older Tutanota appimage desktop client version 218.240219.0 until a fix can be found.

NB: also if I use a VPN connection on the client it appears to work although not an acceptable solution as i need it to run on my normal internet also. I also have an Android Tutanota client and it works with no problems. Webmail is ok also. I don't use yubikey.

poss also related to issue #6669

@Sheldoorr
Copy link

Sheldoorr commented Mar 11, 2024

The app is now working on windows10.

Well it did for a day, now it's offline again.

@shobeira
Copy link
Author

The version 218.240307.1 seems working on Ubuntu 22.04

@ivocavalcante
Copy link

Nope, still not working here.

@samsaraswheel
Copy link

samsaraswheel commented Mar 18, 2024

Problem still happening with Appimage version 218.240307.1 . After some testing, here are my findings. May shed light on problem.

Tested Tutanota appimage on new VM installs of Linux mint, MX Linux, Fedora SilverBlue all get same "No connection to server" problem.

So Tutanota being run on typical Electron, I can f12 console to get the following:

console error

Note the [RestClient] failed request get errors and the Deprecated Feature used erros above.
Looking further into issues tab below.

console_sources_issue
Note also that last link for Feature: Deprecate unload event refers to https://chromestatus.com/feature/5579556305502208

Just to reiterate Appimage version 218.240219.0. is the last working version for me and doesn't have these issues.

Any other Appimage version above from there up to 218.240307.1 inherits this "No connection to server" error.

PS: also as a side note, may or may not be related., Tutanota flatpak just on Linux Mint doesn't appear to connect either. Haven't really looked further into it.

My 2c troubleshooting, hope that helps.

@charlag
Copy link
Contributor

charlag commented Mar 18, 2024

Hi, thank you for your info. We are pretty sure it's not related to unload event but to IPv4/IPv6. It seems like everyone who has the issue has some kind of IPv6 address but it's not fully working and the app chooses to use IPv6 in those cases.

@ivocavalcante
Copy link

ivocavalcante commented Mar 18, 2024

Hi, thank you for your info. We are pretty sure it's not related to unload event but to IPv4/IPv6. It seems like everyone who has the issue has some kind of IPv6 address but it's not fully working and the app chooses to use IPv6 in those cases.

I tried disabling IPv6 at all, on the host OS (checked to make sure no IPv6 address had been assigned to he interface), and still no luck. I can confirm that IPv6 on my network isn't working though (never bothered to look at it previously).

Interestingly (sadly?), I realized that Android app also doesn't work on the same network. If I use mobile data, works perfectly. Seems something else, not necessarily linked to platform (desktop, mobile), is to blame.

Every other process/app/whatever works on this network, except Tuta.

@charlag
Copy link
Contributor

charlag commented Mar 18, 2024

It looks like IP block rather than IPv6 issue in your case

@ivocavalcante
Copy link

It might be, it might not, but today, nothing else having changed, Android app started working.

It's important to note that I too had success in using the Linux app when downgrading.

@shobeira
Copy link
Author

The version 218.240307.1 seems working on Ubuntu 22.04

Even this version is not working and i beleive it is related to IP versions as others mentioned and based on my own tests.

@samsaraswheel
Copy link

Tested disabling IPV6 in network settings and can confirm this works on the latest appimage version v220.240321.0 as a workaround, currently only running network on IPV4.

Idealy would be good if Tuta is workable on IPV6 for futureproofing and due to fact that some users like me use IPV6 for various reasons.

@charlag
Copy link
Contributor

charlag commented Mar 25, 2024

@samsaraswheel Tuta does work on IPv6. Could you please check if other connections work over IPv6 like ping -6 wikipedia.org (when IPv6 is enabled of course)

@exxelxior
Copy link

exxelxior commented Apr 22, 2024

@exxelxior @cumber do you have IPv6 enabled? Does it work? Do you have VPN enabled? Does webapp work for you?

I have IPv6 enabled and its status is like @cumber results.
I haven´t VPN.
The webapp works fine, except the popup message showing a new version: when I accept the update the page doesn't refresh and no update, the message only close itself (using mail.tutanota.com/login (about info shows v220.240408.0) as well as app.tuta.com/login (about info shows v218.240307.1)). My browser is Firefox 115.10.0esr (64-bit).

@TwinkleToes777
Copy link

having the same problem, sometimes it works and then it stops working again, IPv4 only, IPv6 is disabled, no VPN

@charlag
Copy link
Contributor

charlag commented May 10, 2024

Should be fixed by #6923 (please note it is not released yet)

@charlag charlag closed this as completed May 10, 2024
@AlbeyAmakiir
Copy link

When will it be released? My desktop client (v229.240514.1 - linux) still believes it is offline.

v229.240514.1 - linux


 Client: linux
 Type: UNKNOWN
 Tutanota version: 229.240514.1
 Timestamp (UTC): Wed, 15 May 2024 08:34:34 GMT
 User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) tutanota-desktop/229.240514.1 Chrome/122.0.6261.156 Electron/29.3.2 Safari/537.36


== MAIN LOG ==
2024-05-15T08:29:57.323Z I "re-registering for push notifications, setting no alarms as scheduled"
2024-05-15T08:29:57.324Z I "\n\n''''''''''''''''''''''''''''''''''''''''\n''''''''''''''''''''''''''''''''''''''''\n''''''''''''''''''''''''''''''''''''''''\n''''''''''''''''''''''''''''''''''''''''\n''''''''''''''''''''''''''''''''''''''''\n''''''''''''''''''''''''''''''''''''''''\n''''''''''''''''''''''''',:,''''''''''''\n''''''''''''';:llllcccccccc,''''''''''''    Do you care about privacy?\n'''''''''''':kXWXkoc::;,,'''''''''''''''\n'''''''''''',cdk0KKK00kxdolc;,''''''''''    Work at Tuta! Fight for our rights!\n'''''''''''''''';coxOKNMMWWNK0kdl:,'''''\n'''''''''''''''''''',;oKMMMMMMMMWX0dc,''    https://tuta.com/jobs\n'''''''''''''''''''''';kWMMMMMMMMMMWXk:'\n'''''''''''''''''''',:xXMMMMMMMMMMMMMWKl\n''''''''''''''''';lk0KWMMMMMMMMMMMMMMMWK\n''''''''''''';cdOKWMMMMMMMMMMMMMMMMMMMMM\n'''''''',:ldOKNWMMMMMMMMMMMMMMMMMMMMMMMM\n''',:ldk0XWMMMMMMMMMMMMMMMMMMMMMMMMMMMMM\nldk0XWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM\nWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM\n\n"
2024-05-15T08:29:57.358Z I "worker init time (ms):",46
2024-05-15T08:29:58.770Z I "removed topmost modal component"
2024-05-15T08:34:32.838Z I "removed topmost modal component"

== WORKER LOG ==
2024-05-15T08:29:58.769Z I "[RestClient]","failed request","GET","https://app.tuta.com/rest/sys/session/NOTm9Fo--N-9/TffVzUSuKmdpggbDY_yJWsOULJ94mGLUXoaX-UU-tUY",0,"",["accessToken","v","cv","Accept"],"no body"
2024-05-15T08:29:58.770Z I "ws close closeOption: ","terminate","state:","terminated"
2024-05-15T08:29:58.770Z I "[RestClient]","failed request","GET","https://app.tuta.com/rest/sys/session/NOTm9Fo--N-9/TffVzUSuKmdpggbDY_yJWsOULJ94mGLUXoaX-UU-tUY",0,"",["accessToken","v","cv","Accept"],"no body"

== NATIVE LOG ==
2024-05-15T08:29:56.678Z I "the monkey has been patched pid:",165850
2024-05-15T08:29:56.804Z I "version:  ","229.240514.1"
2024-05-15T08:29:56.826Z I "resolving key...","tutanota-vault"
2024-05-15T08:29:56.827Z I "config up to date"
2024-05-15T08:29:56.963Z I "[2024-05-15T08:29:56.963Z]","using safeStorage with backend","gnome_libsecret"
2024-05-15T08:29:56.968Z I "[DesktopMain]","getting dictionaries from:","https://app.tuta.com/desktop/dictionaries/"
2024-05-15T08:29:56.969Z I "[2024-05-15T08:29:56.968Z]","Create tray:true"
2024-05-15T08:29:56.972Z I "[ApplicationWindow]","webAssetsPath: ","/opt/tutanota-desktop/resources/app.asar"
2024-05-15T08:29:57.076Z I "default mailto handler:",true
2024-05-15T08:29:57.076Z I "Webapp ready"
2024-05-15T08:29:57.077Z I "[DesktopSseClient]","scheduling to check sse in",1,"seconds"
2024-05-15T08:29:57.079Z I "[DesktopWindowManager]","invalidating alarms for window",1
2024-05-15T08:29:57.079Z W "[2024-05-15T08:29:57.079Z]","[ElectronUpdater]","WARN:","APPIMAGE env is not defined, current application is not an AppImage"
2024-05-15T08:29:57.083Z I "[DesktopMain]","spellcheck-dictionary-initialized","en-AU"
2024-05-15T08:29:57.107Z I "/home/albey/.local/share/applications/tutanota-desktop.desktop does not exist, checking for permission to ask for permission..."
2024-05-15T08:29:57.346Z I "resolving key...","tutanota-credentials"
2024-05-15T08:29:57.362Z I "[PerWindowSqlCipherFacade]","open db for","NOTm9FY----9"
2024-05-15T08:29:57.364Z I "[2024-05-15T08:29:57.364Z]","[WorkerSqlCipher]","started sqlcipher-worker-1"
2024-05-15T08:29:57.422Z I "[2024-05-15T08:29:57.422Z]","[sqlcipher-worker-1]","set up sql cipher done"
2024-05-15T08:29:58.081Z I "[DesktopSseClient]","last missed notification check:",{"lastMissedNotificationCheckTime":null}
2024-05-15T08:29:58.081Z I "[DesktopSseClient]","scheduling to check sse in",14,"seconds"
2024-05-15T08:29:58.081Z I "[DesktopSseClient]","No user IDs, skip reconnect"
2024-05-15T08:29:58.766Z I "[ProtocolProxy]","error for GET https://app.tuta.com/rest/sys/session/NOTm9Fo--N-9/TffVzUSuKmdpggbDY_yJWsOULJ94mGLUXoaX-UU-tUY:"
2024-05-15T08:29:58.769Z I "[ProtocolProxy]",?
2024-05-15T08:29:58.769Z I "[ProtocolProxy]","{\"name\":\"TypeError\",\"message\":\"fetch failed\",\"stack\":\"TypeError: fetch failed\\n    at /opt/tutanota-desktop/resources/app.asar/desktop/DesktopMain.js:10:30126\\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\\n    at async /opt/tutanota-desktop/resources/app.asar/desktop/DesktopMain.js:10:30634\\n    at async AsyncFunction.<anonymous> (node:electron/js2c/browser_init:2:47442)\"}"
2024-05-15T08:29:58.769Z I "[ProtocolProxy]","failed after 1334ms"
2024-05-15T08:29:58.770Z I "[PerWindowSqlCipherFacade]","close db for","NOTm9FY----9"
2024-05-15T08:29:58.771Z I "[2024-05-15T08:29:58.771Z]","[OfflineDbRefCounter]","closed db for","NOTm9FY----9"
2024-05-15T08:30:12.084Z I "[DesktopSseClient]","last missed notification check:",{"lastMissedNotificationCheckTime":null}
2024-05-15T08:30:12.084Z I "[DesktopSseClient]","scheduling to check sse in",213,"seconds"
2024-05-15T08:30:12.084Z I "[DesktopSseClient]","No user IDs, skip reconnect"
2024-05-15T08:33:45.093Z I "[DesktopSseClient]","last missed notification check:",{"lastMissedNotificationCheckTime":null}
2024-05-15T08:33:45.093Z I "[DesktopSseClient]","scheduling to check sse in",50,"seconds"
2024-05-15T08:33:45.093Z I "[DesktopSseClient]","No user IDs, skip reconnect"

@nabeelmoeen
Copy link

nabeelmoeen commented May 23, 2024

still having the same issue with latest AppImage downloaded on May 23rd.
v229.240517.0

@exxelxior
Copy link

On Debian 12 v229.240517.0 AppImage still not working.

@Opening-Button-8988
Copy link

Opening-Button-8988 commented May 30, 2024

On Debian 12 v229.240517.0 AppImage still not working.

Honestly this is concerning at this point. I can't log in anywhere except via the app on Android, and even with that, a bunch of criteria needs to be met in order for me to log in (enable JIT in browser, give Google Play necessary permissions, use USB not NFC for security key, and wait 3+ minutes for the passkey prompt to appear in the browser). Tuta is becoming near-unusable. And semi-related, what are they doing to their logo? It's an awful logo.

@WimDeWinter01
Copy link

On Debian 12 v229.240517.0 AppImage still not working.

Honestly this is concerning at this point. I can't log in anywhere except via the app on Android, and even with that, a bunch of criteria needs to be met in order for me to log in (enable JIT in browser, give Google Play necessary permissions, use USB not NFC for security key, and wait 3+ minutes for the passkey prompt to appear in the browser). Tuta is becoming near-unusable. And semi-related, what are they doing to their logo? It's an awful logo.

The most recent appimage is working flawless on my Debian 12 installation.

@Opening-Button-8988
Copy link

Opening-Button-8988 commented May 30, 2024

@WimDeWinter01

The most recent appimage is working flawless on my Debian 12 installation.

Because you have IPv6 enabled which is required now.

@charlag
Copy link
Contributor

charlag commented May 30, 2024

IPv6 is not required.
The next version will work without WASM.
We do not use Google Play.

@WimDeWinter01
Copy link

@WimDeWinter01

The most recent appimage is working flawless on my Debian 12 installation.

Because you have IPv6 enabled which is required now.

No, ipv6 is disabled because of vpn issues.

@Opening-Button-8988
Copy link

Opening-Button-8988 commented May 30, 2024

Strange, what version appimage are you using? And you're 100% certain IPv6 is disabled?

I might install it in a VM to see if it works I just realised that wouldn't work since I'm not routing IPv6 traffic at the router level. Woops.

@WimDeWinter01
Copy link

Strange, what version appimage are you using? And you're 100% certain IPv6 is disabled?

I might install it in a VM to see if it works I just realised that wouldn't work since I'm not routing IPv6 traffic at the router level. Woops.

App version v229.240517.0

100% certain I'm not using ipv6

@exxelxior
Copy link

On Debian 12 v230.240603.0 AppImage STILL not working.

@exxelxior
Copy link

@exxelxior @cumber do you have IPv6 enabled? Does it work? Do you have VPN enabled? Does webapp work for you?

I have IPv6 enabled and its status is like @cumber results. I haven´t VPN. The webapp works fine, except the popup message showing a new version: when I accept the update the page doesn't refresh and no update, the message only close itself (using mail.tutanota.com/login (about info shows v220.240408.0) as well as app.tuta.com/login (about info shows v218.240307.1)). My browser is Firefox 115.10.0esr (64-bit).

In the webapp I accepted the popup message showing the new version and the refresh and update worked perfect, now shows version 232.240621.0
It's the first time that works since March.

I hope the future desktop AppImage release works too...

@exxelxior
Copy link

On Debian 12 v229.240517.0 AppImage STILL NOT WORKING. In the webapp I accepted the popup message showing the new version and the refresh and update AGAIN NOT WORKED... Anyway...

@nabeelmoeen
Copy link

On Debian 12 v229.240517.0 AppImage STILL NOT WORKING. In the webapp I accepted the popup message showing the new version and the refresh and update AGAIN NOT WORKED... Anyway...

surprisingly for me, experiencing the same issue, the appimage client connects if i switch on VPN.
Could you try and share if connecting via VPN works?
also, could you share what error message are you getting?

@exxelxior
Copy link

On Debian 12 v229.240517.0 AppImage STILL NOT WORKING. In the webapp I accepted the popup message showing the new version and the refresh and update AGAIN NOT WORKED... Anyway...

surprisingly for me, experiencing the same issue, the appimage client connects if i switch on VPN. Could you try and share if connecting via VPN works? also, could you share what error message are you getting?

I tried with VPN and it didn't work.
Always it's the same error: when I try to login the app shows "connection to the server was lost"

By the way: AppImage v235.240712.0 not working (only for me???)

@Opening-Button-8988
Copy link

image

Flatpak v240.240816.0 (latest). Not working.

What's going on over at Tuta? Are they having a mid-life crisis?

@tspoon765
Copy link

It's over 6 months now. What is going on at Tutanota with this junk pile of an email client?

@shobeira
Copy link
Author

Hi @tspoon765,

It has been a while since I have no problem with the linux client. I noticed that sometimes my ISP won't allocate me an IPv6 and I reboot the modem and will get an IPv6. I am pretty sure the issue was related to IPv6 and I as I can tell, I have no problem with the Tuta Linux client for about 2 months now.

@AlbeyAmakiir
Copy link

I still do. (Version 244.240903.0-1 from the ArchLinux AUR)

@Opening-Button-8988
Copy link

Opening-Button-8988 commented Sep 23, 2024

Hi @tspoon765,

It has been a while since I have no problem with the linux client. I noticed that sometimes my ISP won't allocate me an IPv6 and I reboot the modem and will get an IPv6. I am pretty sure the issue was related to IPv6 and I as I can tell, I have no problem with the Tuta Linux client for about 2 months now.

The problem is that the app relies on IPv6 which some people (including myself) do not use. There is no reason to rely on ipv6, there is literally no other app or service that I use that relies on ipv6.

The only way I've been able to use Tuta is through the android app (the web client does not work) and even then the security key implementation is nearly broken when first setting up an account (it requires very specific steps to work, and you need to wait like 3 minutes for the security key popup to appear).

This along with the incredibly stupid rebranding just proves to me that Tuta are undergoing some kind of mid life identity crisis and I fear it marks the beginning of the decline of Tuta. Who thought making a damn light switch as their logo was a good idea?

@exxelxior
Copy link

On Debian 12 v244.240913.1 AppImage STILL NOT WORKING.
I would like to know if it is useful to post this kind of messages or I just have to give up since there is no feedback or response from the authors of this application.

@charlag
Copy link
Contributor

charlag commented Oct 7, 2024

I am honestly at lost at what could be wrong. I have tested with both ipv4 only and ipv6 only and both do work. I think would could help is looking at the captured packets in Wireshark to try and figure out where it stalls.

@pierreraby
Copy link

pierreraby commented Oct 8, 2024

I've had exactly the same problem since the last update 2 days ago. I had been using the app.image under ubuntu 24.04 without any problem for several months and following the update, I had the connection problem.
I deleted the .image, the .desktop and tested the application in flatpak format and had the same problem.
As a matter of conscience, I uninstalled the flatpak application and downloaded the last .image from the site -> everything worked fine, apart from a slightly high processor load.
Launching tuta at startup, I closed and reopened my session and since then everything works like a charm !
I could be wrong, but I think it's more the update process that's screwing up than the application itself.

@AlbeyAmakiir
Copy link

I just downloaded the AppImage to check and I didn't have as much luck. I get the feeling it's multiple issues that present similarly. :/

Just in case, this was the (probably) relevant output when I ran the AppImage from terminal:

[SSE] error:
[SSE] Scheduling exponential reconnect
[SSE] state: delayedReconnect
[ProtocolProxy] error for GET https://app.tuta.com/rest/sys/user/NOTm9FY----9:
[ProtocolProxy] TypeError: fetch failed
    at ch (/tmp/.mount_tutanokfrLwd/resources/app.asar/desktop/DesktopMain.js:10:11383)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /tmp/.mount_tutanokfrLwd/resources/app.asar/desktop/DesktopMain.js:10:33049
    at async AsyncFunction.<anonymous> (node:electron/js2c/browser_init:2:52236) {
  [cause]: AggregateError [ETIMEDOUT]:
      at internalConnectMultiple (node:net:1118:18)
      at afterConnectMultiple (node:net:1685:7) {
    code: 'ETIMEDOUT',
    [errors]: [ [Error], [Error] ]
  }
}
[ProtocolProxy] {"name":"TypeError","message":"fetch failed","stack":"TypeError: fetch failed\n    at ch (/tmp/.mount_tutanokfrLwd/resources/app.asar/desktop/DesktopMain.js:10:11383)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async /tmp/.mount_tutanokfrLwd/resources/app.asar/desktop/DesktopMain.js:10:33049\n    at async AsyncFunction.<anonymous> (node:electron/js2c/browser_init:2:52236)"}
[ProtocolProxy] failed after 1330ms
[PerWindowSqlCipherFacade] close db for NOTm9FY----9
[2024-10-10T06:21:56.536Z] [OfflineDbRefCounter] closed db for NOTm9FY----9
[49071:1010/172200.949416:ERROR:browser_main_loop.cc(278)] GLib-GObject: ../glib/gobject/gsignal.c:2684: instance '0xbfc057df480' has no handler with id '1825'
resolving key... tutanota-credentials
[PerWindowSqlCipherFacade] open db for NOTm9FY----9
[2024-10-10T06:22:04.925Z] [WorkerSqlCipher] started sqlcipher-worker-2
[2024-10-10T06:22:04.982Z] [sqlcipher-worker-2] set up sql cipher done
[ProtocolProxy] error for GET https://app.tuta.com/rest/sys/user/NOTm9FY----9:
[ProtocolProxy] TypeError: fetch failed
    at ch (/tmp/.mount_tutanokfrLwd/resources/app.asar/desktop/DesktopMain.js:10:11383)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /tmp/.mount_tutanokfrLwd/resources/app.asar/desktop/DesktopMain.js:10:33049
    at async AsyncFunction.<anonymous> (node:electron/js2c/browser_init:2:52236) {
  [cause]: AggregateError [ETIMEDOUT]:
      at internalConnectMultiple (node:net:1118:18)
      at afterConnectMultiple (node:net:1685:7) {
    code: 'ETIMEDOUT',
    [errors]: [ [Error], [Error] ]
  }
}
[ProtocolProxy] {"name":"TypeError","message":"fetch failed","stack":"TypeError: fetch failed\n    at ch (/tmp/.mount_tutanokfrLwd/resources/app.asar/desktop/DesktopMain.js:10:11383)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async /tmp/.mount_tutanokfrLwd/resources/app.asar/desktop/DesktopMain.js:10:33049\n    at async AsyncFunction.<anonymous> (node:electron/js2c/browser_init:2:52236)"}

@Opening-Button-8988
Copy link

I'm not very good at Wireshark, otherwise I would help trying to identify the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug broken functionality, usability problems, unexpected errors desktop Desktop client related issues state:tested We tested it and are about to release it
Projects
None yet
Development

Successfully merging a pull request may close this issue.