tutao / tutanota

Tuta is an email service with a strong focus on security and privacy that lets you encrypt emails, contacts and calendar entries on all your devices.
https://tuta.com
GNU General Public License v3.0
5.86k stars 502 forks source link

Invalid state: not connecting #7097

Closed charlag closed 3 weeks ago

charlag commented 4 weeks ago
ProgrammingError: Invalid state: not connecting
    at gP.exponentialBackdownReconnect (..\..\C:\Users\MGrantham\AppData\Local\Programs\Tutanota Desktop\Tuta Mail Desktop\resources\app.asar\desktop\DesktopMain.js:25:6318)
    at ..\..\ClientRequest.<anonymous> (C:\Users\MGrantham\AppData\Local\Programs\Tutanota Desktop\Tuta Mail Desktop\resources\app.asar\desktop\DesktopMain.js:25:5689)
    at ClientRequest.emit (..\..\node:events:518:28)
    at TLSSocket.socketErrorListener (..\..\node:_http_client:495:9)
    at TLSSocket.emit (..\..\node:events:518:28)
    at emitErrorNT (..\..\node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (..\..\node:internal/streams/destroy:128:3)
    at process.processTicksAndRejections (..\..\node:internal/process/task_queues:82:21)

App version:
230.240603.0
Client type:
Windows
Additional info:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) tutanota-desktop/230.240603.0 Chrome/124.0.6367.207 Electron/30.0.6 Safari/537.36

Test notes

It is hard to reproduce the original issue (it is some kind of race between connection events and connect call from the outside) but we can test regressions:

Alf-Melmac commented 19 hours ago

I was having this problem quite regularly and can confirm that this has solved the issue. Thanks!