Network issues are not easily troubleshooted. It often requires the user to understand network topology and being able to use some basic utilities to test and gather info on the infrastructure.
Sometimes the resolver is at fault and switching your resolver from openresolv to systemd-resolved sometimes mitigates the issue.
Network errors can also occur if your kernel and modules has been updated and the system has not been restarted to load the new configuration.