I had the same issue after it working for two years with no issue. Tried a brand new logger and still the same. It work for a day or two then keep dropping and then work again etc.
Try turning off "802.11ax / WiFi 6 mode" in your router and test for a few days.
Doing this fixed my issue for now. Both loggers are connecting with no issues.