Thanks for visiting the Community.
Here's some helpful steps to follow on setting up your Google Nest speakers.
Set up your speaker or display on the new Wi-Fi network:
If your speaker or display is connected to an existing Wi-Fi network, but you'd like to connect it to a new one, follow the steps below:
If you get an error message that says "could not communicate with your [device]" when you try to forget your network, or the steps above don't work, you'll need to factory reset your device and set it up again.
Hope this works.
What message are you getting when connecting your Nest Hub to your Wi-Fi? If you're using an iOS, make sure the Local Network Access for Google Home app is enabled on your phone settings. Here's how: Privacy > Local Network > Google Home app. If possible, check router settings. (AP isolation must be disabled and UPnP must be enabled). Also for isolation, try setting it up using mobile hotspot.
Let us know how it goes.