deltachat-core-rust icon indicating copy to clipboard operation
deltachat-core-rust copied to clipboard

Extemely unstable server connection, likely unable to connect

Open tomekdev opened this issue 2 years ago • 4 comments

Device: bq Aquaris X OS: LineageOS 16.0 (Android 9) Mail account host: GMail

Delta Chat seems to use extremely unstable library for making connections with mail server. My setup uses OAuth2 and works fine. However in most cases I have to kill Delta Chat many times before it finally gets connected to GMail servers. Usually throws error "Network unreachable (os error 101)" even though I can connect to these servers with no problem from browser or command line (android terminal). Can it be fixed soon? I really enjoy using Delta Chat, because it is actively maintained, secure, the idea of storing messages on mail server of my choice and overall experience of using it. However issues with unstable or even sometimes impossible connection with mail server, even though I can reach them from other apps, makes use of this app difficult.

Best regards

tomekdev avatar Aug 14 '22 16:08 tomekdev

@tomekdev Could you provide a log of when this happens? This seems to be a problem with your network (is it a mobile operator?) and some router on the path sending ICMP errors. If it works after restarting the app, we can probably make DC retry after some timeout in case of error, but a log would be helpful to see where the error is returned.

link2xt avatar Sep 16 '22 13:09 link2xt

@link2xt I'll provide the log next time this would happen. And yes, it is mobile operator (I mainly use cellular data)

tomekdev avatar Sep 16 '22 23:09 tomekdev

Where does the "Network unreachable (os error 101)" error show up? Is it in the connectivity view?

link2xt avatar Sep 17 '22 13:09 link2xt

Yes, it shows up in connectivity view. Sometimes it is stuck and shows "Connecting..." with yellow dots near "INBOX", "Delta Chat" and "Sent". When it is stuck I have to disable cellular data and re-enable it and then in most cases Delta Chat connects quite quickly. However when Delta Chat gets stuck, in the same time I can log in to GMail and browse other websites without issues.

tomekdev avatar Sep 17 '22 21:09 tomekdev

I assume this is fixed by #3820, reopen if the problem still exists on the latest Delta Chat version.

link2xt avatar Jan 14 '23 16:01 link2xt