Unable to connect to Octoprint over wifi on Pi 4b

What is the problem?
I am unable to connect to Octoprint 1.8.1 on wifi running on a Pi 4B

I can see that it is connected to my router through it's admin panel but I'm unable to ssh into it using either octopi.local or it's ip address, same thing for the webserver running on it.

I connected it to my router using ethernet and was then able to access the server, when I unplugged the ethernet it started working again for a bit but then I woke up this morning and am now unable to connect again.