Scanning can fail for multiple reasons. In most cases they are permanent and trying to scan the website again might not help.
Scanning fails temporarily when your website is taking too long to load. Such cases are usually temporary. And you can try scanning the same website after a few hours.
In case of the following, scanning will fail permanently: