TP-Link RE650 v1 23.05.5 behaving strange (like cache building up?)

Hi,

I am having weird issues with this firmware.
First week I did not use the guide for relayd, but made smth up, basically smth like trippleNAT, which worked fine.
Then a network IT friend told me that it is better to use the "relayd" guide to avoid the "trippleNAT"
The problem is that the guide worked fine, until 4-6 hours later when the configuration did not work anymore, smth like cache was building up and needed to restart the radio or reboot, which was annoying.
Afterwards I've tried started to revert to my original configuration, and again to relayd, but again, smth like cache building up and cannot connect now to the internet (--- openwrt.org ping statistics --- 5 packets transmitted, 5 packets received, 0% packet loss but software update lists says "Failed to download the package list from ..." )

Even if I tried to reset the router, I got the same issue.
I do not want to switch to snapshot version and I'm not sure if flashing the same sysupgrade on top of the same factory fw will truly clear the cache.

No more than 16mb disk cache and sub-3mb dnsmadq cache can build up.
can you extract logs leading to damage?

There is some problem between dl server and cdn, so no downloads today.

Lets have a look if you made aany mistake configuring... get rid of secrets mac addresses and paste </> formatted output

ubus call system board
cat /etc/config/firewall
cat /etc/config/network
cat /etc/config/wireless

I do not have access to previous logs or backup.
I guess I tried to reset and reconfig the settings maybe 10 times

root@OpenWrt:~# ubus call system board
config/firewall
cat /etc/config/network
cat /etc/config/wireless{
        "kernel": "5.15.167",
        "hostname": "OpenWrt",
        "system": "MediaTek MT7621 ver:1 eco:3",
        "model": "TP-Link RE650 v1",
        "board_name": "tplink,re650-v1",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "23.05.5",
                "revision": "r24106-10cc5fcd00",
                "target": "ramips/mt7621",
                "description": "OpenWrt 23.05.5 r24106-10cc5fcd00"
        }
}
root@OpenWrt:~# cat /etc/config/firewall

config defaults
        option input 'REJECT'
        option output 'ACCEPT'
        option forward 'REJECT'
        option synflood_protect '1'

config zone
        option name 'lan'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'ACCEPT'
        list network 'lan'
        list network 'wwan'

root@OpenWrt:~# cat /etc/config/network

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd1e:8ae8:d6e8::/48'
        option packet_steering '1'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.2.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wwan'
        option proto 'static'
        option ipaddr '192.168.1.2'
        option netmask '255.255.255.0'
        option gateway '192.168.1.1'
        list dns '192.168.1.1'

root@OpenWrt:~# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option channel '6'
        option band '2g'
        option htmode 'HT40'
        option cell_density '0'
        option noscan '1'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'
        option disabled '1'

config wifi-device 'radio1'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
        option channel '36'
        option band '5g'
        option htmode 'VHT80'
        option disabled '1'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'

config wifi-iface 'wifinet2'
        option device 'radio0'
        option mode 'sta'
        option network 'wwan'

Set wifi country code? And wait for the next breakage to collect logs.

I set the country code on the wifi radio, but same thing.
You lost me at "wait for next breakage to collect logs"...

Collect logs (logread) when wifi disappears.

Problem was solved with a simple restart (happened on two devices). I will add an improvement/suggestion on the relayd page

To restart when having issues?

Or are you saying you never applied the configs?

Did you copy the logs before restarting?

And BTW, I didn't see a relayd config in your network file.

I could not install relayd (although ping openwrt.com was fine) and I just needed to reboot (no info about this in relayd guide). That's why there is no relayd in my previous log.