Hi there,
Not an expert answer, but as a fellow owner of this laptop, I’m convinced it’s got something to do with the placement of the antenna inside the laptop, or maybe the WiFi card really just isn’t that great. I’ve had this issue since the device was new and nothing has solved it permanently. When I am home I always use a wired connection, but out and about I just have to wait for it to resolve itself. I’d recommend investing in a really long Ethernet cable and USB/USB-c adapter for it.
Best of luck.