SXA website might fail to load for the first time with an unhandled exception. The website is normally displayed after you refresh the page once or twice. The following message can be found in the log:
Exception: System.InvalidOperationException
Message: Illegal recursion detected: GetModel
Source: Sitecore.Mvc
at Sitecore.Mvc.Common.RecursionPreventer..ctor(String title, Flag flag)
at Sitecore.Mvc.Presentation.Rendering.GetModel()
at Sitecore.Mvc.Presentation.Rendering.get_Model()
at Sitecore.XA.Foundation.Mvc.Wrappers.Rendering.get_Item()
...