Weather Forecast Doesn't Work
Since the failure is time to time, it’s likely you do not have a configuration issue. If it never worked, then a call to Apple support would likely get to the bottom of a persistent failure.
Do you have any support from your network provider?
I often tether to a smart phone when troubleshooting an internet connection if I can’t move my Mac easily.