Incomplete downloads in long downloads at low speed 21.02.1 (Newifi-D2)

Hi, I don't know if it's because of changes in Openwrt but before I didn't fail any and now I can't finish any download from servers like keep2share.cc... neither in the same router with a usb nor in computers connected to Openwrt.

4% |*                              | 41759k  - stalled -Connection error: Connection timed out
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 19  932M   19  179M    0     0  50348      0  5:23:34  1:02:09  4:21:25     0
curl: (56) Error

Any idea?

Thanks

Seems curl error 56 means connection reset by peer.

I give more info as there seems to be an error.

Newifi-D2
OpenWrt 21.02.1 r16325-88151b8303

I just removed the bridge mode from the carrier's router and put LAN internet on this router and the download does not seem to terminate prematurely.

Could it be a timing error with the NAT tables?

PD: I would say it did not fail in OpenWrt 19.07

Add: Works without using Openwrt NAT

root@OpenWrt:~/USB/# curl -JO "https://slow-5.keep2share.cc/******"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  932M  100  932M    0     0  51193      0  5:18:13  5:18:13 --:--:-- 75491
curl: Saved to filename '********'

Well, if I confirm that if I don't use Openwrt the downloads don't fail.

Who is responsible for this issue?

Can anyone check, what test could be used for this?

I always refer to ethernet cable connection

run a continuous ping while you're DLing, not necessarily to the DL host, but for instance to 8.8.8.8.

I don't have connection drops, the ping doesn't fail, I think the problem could be from this:


I am testing without those options enabled

NO! without this activated it also fails :weary:

I have tested with another identical model that I have with factory default OpenWrt version 21.02.1.
It happens exactly the same I can not finish any download that lasts in time.
I would assure you that with 19.07.8 it didn't happen, it must be because of the change in the way the internal switch works in version 21.

Add:
OpenWrt SNAPSHOT, r18270-fc4398fe71

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  2  990M    2 26.7M    0     0  54340      0  5:18:23  0:08:37  5:09:46     0
curl: (56) Recv failure: Connection reset by peer
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0 1641M    0 14.1M    0     0  18902      0 25:17:45  0:13:07 25:04:38     0
curl: (18) transfer closed with 1706431138 bytes remaining to read

I seem to have made a mistake and there is no Openwrt problem with this.
I have tried directly in bridge mode to the pc from the operator's router and it also fails.
Tonight I left a double NAT router of the operator and Openwrt and it does not fail.

Apparently the problem is when the operator's router is bridged.

Thanks if it is better to delete this topic is deleted :innocent:

The real problem: https://forum.openwrt.org/t/same-mac-by-default-in-all-newifi-d2-d407ac-87/

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.