Unable to install Cube HAL in firmware configuration.
I’m working from the same book, and I just want to be absolutely sure you installed the STM32 System Workbench from this site and didn’t try installing it as a plugin in Eclipse. I made this mistake as well, and unless you’re very careful, it probably won’t work.
The book mentions not installing System Workbench as a plugin in passing, but to be more clear, it won’t work if you use the most up-to-date version of Eclipse. You have to either download and install the System Workbench from this site or use at the latest Eclipse release 2019-12 to have it working properly. STM32 System Workbench is actually based on Neon.3, which is from all the way back in 2017. Apparently, the network API changed in later versions of Eclipse and it just silently fails.
In short, if you want it to work “out of the box” like is in the book, download the installer from this site. Don’t try doing it on your own Eclipse install.