hanwckf / immortalwrt-mt798x

An Immortalwrt variant for mediatek mt798x routers.
Other
1.14k stars 604 forks source link

AX3000T 间断性 WAN TCP 断流 #253

Closed Pil0tXia closed 8 months ago

Pil0tXia commented 9 months ago

Describe the bug

系统设置:

现象:在网页中,ERR_CONNECTION_RESET, ERR_CONNECTION_CLOSED, ERR_TIME_OUT这三种类型的错误都有出现过;手机APP白屏转圈;QQ视频电话不受影响

内网通讯正常(如smb,游戏串流),走WAN口的通讯出现以上问题。

具体请看问题发生前的日志,希望能提供些许帮助,感谢。

ImmortalWrt version

r0-e1b4487

ImmortalWrt target/subtarget

mediatek/mt7981

Device

Xiaomi Mi Router AX3000T

Image kind

Official downloaded image

Steps to reproduce

No response

Actual behaviour

No response

Expected behaviour

No response

Additional info

Fri Feb 16 20:16:47 2024 kern.err kernel: [53104.539777] 7981@C00L1,RRM_PeerNeighborReqAction() 839: snprintf error!
Fri Feb 16 20:26:18 2024 kern.err kernel: [53674.804183] WiFi@C15L1,RTMPDeletePMKIDCache() 1246: IF(1), del PMKID CacheIdx=0
Fri Feb 16 20:40:33 2024 kern.warn kernel: [54529.960109] 7981@C08L2,ap_peer_disassoc_action() 3479: ASSOC - 1 receive DIS-ASSOC request
Fri Feb 16 20:40:33 2024 kern.warn kernel: [54529.968461] 7981@C01L2,wifi_sys_disconn_act() 1002:  wdev_idx=1
Fri Feb 16 20:40:33 2024 kern.notice kernel: [54529.975482] 7981@C08L3,hw_ctrl_flow_v2_disconnt_act() 172: wdev_idx=1
Fri Feb 16 20:40:33 2024 kern.warn kernel: [54529.982552] 7981@C13L2,MacTableDeleteEntry() 1793: Del Sta:c0:dd:8a:43:54:52
Fri Feb 16 20:54:44 2024 kern.warn kernel: [55380.966688] 7981@C15L2,PeerGroupMsg2Action() 7223: AP SETKEYS DONE - AKMMap=WPA3PSK, PairwiseCipher=AES, GroupCipher=AES from a8:3b:76:44:11:fd
Fri Feb 16 20:54:44 2024 kern.warn kernel: [55380.966688]
Fri Feb 16 20:54:45 2024 kern.warn kernel: [55381.054504] 7981@C15L2,PeerGroupMsg2Action() 7223: AP SETKEYS DONE - AKMMap=WPA3PSK, PairwiseCipher=AES, GroupCipher=AES from 50:3d:c6:45:82:69
Fri Feb 16 20:54:45 2024 kern.warn kernel: [55381.054504]
Fri Feb 16 20:54:45 2024 kern.warn kernel: [55381.088049] 7981@C15L2,PeerGroupMsg2Action() 7223: AP SETKEYS DONE - AKMMap=WPA3PSK, PairwiseCipher=AES, GroupCipher=AES from 4c:f2:02:b5:7d:5f
Fri Feb 16 20:54:45 2024 kern.warn kernel: [55381.088049]
Fri Feb 16 20:54:45 2024 kern.warn kernel: [55381.259766] 7981@C15L2,PeerGroupMsg2Action() 7223: AP SETKEYS DONE - AKMMap=WPA3PSK, PairwiseCipher=AES, GroupCipher=AES from f8:ab:82:ad:91:65
Fri Feb 16 20:54:45 2024 kern.warn kernel: [55381.259766]
Fri Feb 16 21:56:13 2024 kern.warn kernel: [59068.418339] 7981@C15L2,PeerGroupMsg2Action() 7223: AP SETKEYS DONE - AKMMap=WPA3PSK, PairwiseCipher=AES, GroupCipher=AES from a8:3b:76:44:11:fd
Fri Feb 16 21:56:13 2024 kern.warn kernel: [59068.418339]
Fri Feb 16 21:56:13 2024 kern.warn kernel: [59068.537155] 7981@C15L2,PeerGroupMsg2Action() 7223: AP SETKEYS DONE - AKMMap=WPA3PSK, PairwiseCipher=AES, GroupCipher=AES from 4c:f2:02:b5:7d:5f
Fri Feb 16 21:56:13 2024 kern.warn kernel: [59068.537155]
Fri Feb 16 21:56:13 2024 kern.warn kernel: [59068.710462] 7981@C15L2,PeerGroupMsg2Action() 7223: AP SETKEYS DONE - AKMMap=WPA3PSK, PairwiseCipher=AES, GroupCipher=AES from f8:ab:82:ad:91:65
Fri Feb 16 21:56:13 2024 kern.warn kernel: [59068.710462]
Fri Feb 16 21:56:13 2024 kern.warn kernel: [59068.850017] 7981@C15L2,PeerGroupMsg2Action() 7223: AP SETKEYS DONE - AKMMap=WPA3PSK, PairwiseCipher=AES, GroupCipher=AES from 50:3d:c6:45:82:69
Fri Feb 16 21:56:13 2024 kern.warn kernel: [59068.850017]
Fri Feb 16 21:56:57 2024 daemon.err miniupnpd[4190]: Failed to get ip address for interface
Fri Feb 16 21:56:57 2024 daemon.err miniupnpd[4190]: Failed to get ip address for interface
Fri Feb 16 21:56:57 2024 daemon.err miniupnpd[4190]: Failed to get ip address for interface
Fri Feb 16 21:56:57 2024 daemon.err miniupnpd[4190]: Failed to get ip address for interface
Fri Feb 16 21:59:09 2024 daemon.err netdata[6633]: heartbeat missed 1524962 monotonic microseconds
Fri Feb 16 22:00:01 2024 daemon.info netdata[6633]: Initializing file /var/cache/netdata/ipv6.icmpechos/main.db.
Fri Feb 16 22:00:01 2024 daemon.info netdata[6633]: Initializing file /var/cache/netdata/ipv6.icmpechos/InEchos.db.
Fri Feb 16 22:00:01 2024 daemon.info netdata[6633]: Initializing file /var/cache/netdata/ipv6.icmpechos/OutEchos.db.
Fri Feb 16 22:00:01 2024 daemon.info netdata[6633]: Initializing file /var/cache/netdata/ipv6.icmpechos/InEchoReplies.db.
Fri Feb 16 22:00:01 2024 daemon.info netdata[6633]: Initializing file /var/cache/netdata/ipv6.icmpechos/OutEchoReplies.db.
Fri Feb 16 22:01:21 2024 user.info : luci: accepted login on / for root from 192.168.0.102

以下这行日志大量出现,无论BitComet启动与否:

Sat Feb 17 04:21:09 2024 daemon.err miniupnpd[4190]: PCP: Invalid PCP v2 MAP message.

Diffconfig

No response

Terms

padavanonly commented 9 months ago

鉴于上一个issue其他人的full cone nat都正常,就你的不正常,大概率你的固件设置/插件 本身就存在问题。

Pil0tXia commented 8 months ago

将固件恢复squashfs初始状态后,不再出现此日志。应该是miniupnpd版本问题,推荐使用2.0.20170421-4。

还在观察是否存在其它断流问题。

Pil0tXia commented 8 months ago

未观察到更多明显断流现象。

W4J1e commented 8 months ago

@Pil0tXia 嗨,很抱歉在已关闭的 issue 下和你交流。 我上周二凌晨突然断,重启光猫和路由器正常后,也出现间歇性的断网问题。具体表现为网页间歇性解析很慢甚至失败,失败时edge 浏览器显示 dns_probe_finished_nxdomain,还有部分 app 间歇性图片预览不显示,或者点击帖子评论要过好一会才会加载出来。 我尝试过自定义 DNS,卸载 mwan3,重置路由器,启用、禁用 turbo acc,关闭 passwall,安装 smartDNS,升级其它版本的 immortalwrt 等等各种更改和折腾,好像都没能解决问题。当解析失败出现时,路由器日志里也没有新增任何记录。 我的设备 360 T7, miniupnpd 版本是2.0.20170421-4。目前安装的 ImmortalWrt 21.02 没有编译 turbo acc,开启了网络加速的 MediaTek HNAT,今天关闭全锥形 NAT 后貌似恢复正常,但还需要更长的时间来验证问题是否彻底解决。 请问楼主有无测试全锥形 NAT 这个功能,或者有没有更多的建议,谢谢。

Pil0tXia commented 8 months ago

@W4J1e 在我这里,全锥形 NAT 启用与否,并没有在Web浏览上体验到明显差别。

czkwg8 commented 2 weeks ago

来自长时间后的一则回复 如果你的设备有感受到tcp断流建议将无线固件设定为20230717或者自行从最新的ax3000t或者nx30pro的固件里面dump出来使用 可能是某些批次的mt7981存在奇怪的问题,某些版本的无线固件可能有软件修正