deltachat-core
deltachat-core copied to clipboard
Sending Pictures on slow connections
I have experienced a similar behaviour to my android issue 393 https://github.com/deltachat/deltachat-android/issues/393 On a slow connection an image with 391KB was sent three times. This is better then before, where the image was sent more then 10 times. I used version v0.90.0.
Received: from knopi.disroot.org ([127.0.0.1]) ... Mon, 17 Dec 2018 20:02:08 +0100 (CET) Received: from knopi.disroot.org ([127.0.0.1]) ... Mon, 17 Dec 2018 20:02:53 +0100 (CET) Received: from knopi.disroot.org ([127.0.0.1]) ... Mon, 17 Dec 2018 20:03:19 +0100 (CET)
I dont know the technical background but possibly a second and third sending attempt is started while the first sending is in progress and not yet finished? Possibly the connection gets even slower, because now three sending processes are running at the same time?
Same problem on fast connection and large files ...
interesting. sending attempts are started in sequences, not parallel. i tried different things, however, i could not reproduce this behavior yet. any additional information would be welcome therefore.
In the email header there are different lines with times: Date: Sun, 23 Dec 2018 18:27:40 +0100 => is always the same, and shown in the list of mails.
This one is different for each mail: Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)with ESMTP id DVISctW0QOHL; Sun, 23 Dec 2018 18:27:55 +0100 (CET)
The different emails have following times: Sun, 23 Dec 2018 19:00:39 +0100 (CET) Sun, 23 Dec 2018 19:00:27 +0100 (CET) Sun, 23 Dec 2018 18:54:11 +0100 (CET) Sun, 23 Dec 2018 18:53:56 +0100 (CET) Sun, 23 Dec 2018 18:53:42 +0100 (CET) Sun, 23 Dec 2018 18:53:28 +0100 (CET) Sun, 23 Dec 2018 18:37:34 +0100 (CET) Sun, 23 Dec 2018 18:37:18 +0100 (CET) Sun, 23 Dec 2018 18:35:33 +0100 (CET) Sun, 23 Dec 2018 18:35:19 +0100 (CET) Sun, 23 Dec 2018 18:29:57 +0100 (CET) Sun, 23 Dec 2018 18:29:43 +0100 (CET) Sun, 23 Dec 2018 18:29:25 +0100 (CET) Sun, 23 Dec 2018 18:29:11 +0100 (CET) Sun, 23 Dec 2018 18:28:24 +0100 (CET) Sun, 23 Dec 2018 18:28:09 +0100 (CET) Sun, 23 Dec 2018 18:27:55 +0100 (CET)
were you moving (physically or network-wise) while this happened?
No, during the second example I was at home. It is not very probable that my phone switched from one wlan to another. Normally it stays in the first wlan I logged in.
Sent one Video ... 570 MB new in the Mailbox ... DeltaChat shows just one message. Strange, that this happens only to me.
Device is Samsung S7 Lineage OS 14.1 DeltaChat v0.101.1 The video was opened and then sent using the share function.
btw it is still trying to send after 5h although it has been sent successfully according to receieved emails. The log is really long and I dont know how to attach a txt file here. But what I find in the log is the following: ... 03-17 17:50:19.791 5479 5499 W DeltaChat: SMTP failed to send message: Stream error: 03-17 17:50:19.819 5479 5499 I DeltaChat: SMTP-job #1 not succeeded on try #12, retry in ADD_TIME+116197 (in 97311 seconds). 03-17 17:50:19.820 5479 5499 I DeltaChat: SMTP-jobs ended. 03-17 17:50:19.822 5479 5499 I DeltaChat: SMTP-idle started... ...
YESSSSSS!! this had happened to me also, several times!! because my network is slow and unstable, in my case had happened with somewhat small images, the self-copy arrives to my inbox so I know the message was sent, but in deltachat the message is permanently in sending state, the only solution I found was to delete the message and restart deltachat, also I think I saw a toast with an error message "connection refused" until I deleted it.
On March 17, 2019 1:31:06 PM GMT-04:00, bokf [email protected] wrote:
Device is Samsung S7 Lineage OS 14.1 DeltaChat v0.101.1 The video was opened and then sent using the share function.
btw it is still trying to send after 5h although it has been sent successfully according to receieved emails. The log is really long and I dont know how to attach a txt file here. But what I find in the log is the following: ... 03-17 17:50:19.791 5479 5499 W DeltaChat: SMTP failed to send message: Stream error: 03-17 17:50:19.819 5479 5499 I DeltaChat: SMTP-job #1 not succeeded on try #12, retry in ADD_TIME+116197 (in 97311 seconds). 03-17 17:50:19.820 5479 5499 I DeltaChat: SMTP-jobs ended. 03-17 17:50:19.822 5479 5499 I DeltaChat: SMTP-idle started... ...
there are good chances that this becomes better withut libetpan. however, for now, iet's move this to the core, there is not much android can do about this.