Wifi Frequently Disconnecting (timeout)
Take a look at this thread WiFi randomly disconnected on Ubuntu 18.04 LTS you may help you. If it doesn’t try using an Ethernet cable and seeing if it works. If your wifi is 5ghz and going through walls or other insulators it will be weaker than 2.4ghz would because it has larger wave lengths. But this may not help you so if these fail wait for someone else to reply.
Try disabling powersave for WIFI:
In: /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
set wifi.powersave = 2