I would check if there are any DNS errors trying to get the Repos or sites then look at this:
https://github.com/saltstack/salt-bootstrap/issues/996

More recently on this:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225104