I’m stumped.
Here are some straws to grab at …
You use a web GET request. I’ve seen others do a POST request.
Aren’t button pushes associated with POST requests?
Does it make a difference?
I don’t know.
You use mDNS to address “ESP8266” in your sketch. I don’t know why you are doing this, if all your addresses are hard wired for a local network, and mDNS is meant to act as a local name server. I noticed in my mDNS reading that there are built in delays in that protocol for discovering local names, if you want to grab at another straw.