{"action":"created","issue":{"url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/1768","labels_url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/1768/labels{/name}","comments_url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/1768/comments","events_url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/1768/events","html_url":"https://github.com/bleroy/OrchardImportTest/issues/1768","id":66114129,"number":1768,"title":"404 errors after host initialization error","user":{"login":"bleroy","id":1165609,"avatar_url":"https://avatars.githubusercontent.com/u/1165609?v=3","gravatar_id":"","url":"https://api.github.com/users/bleroy","html_url":"https://github.com/bleroy","followers_url":"https://api.github.com/users/bleroy/followers","following_url":"https://api.github.com/users/bleroy/following{/other_user}","gists_url":"https://api.github.com/users/bleroy/gists{/gist_id}","starred_url":"https://api.github.com/users/bleroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleroy/subscriptions","organizations_url":"https://api.github.com/users/bleroy/orgs","repos_url":"https://api.github.com/users/bleroy/repos","events_url":"https://api.github.com/users/bleroy/events{/privacy}","received_events_url":"https://api.github.com/users/bleroy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-03T09:16:44Z","updated_at":"2015-04-03T09:16:50Z","closed_at":null,"body":"If there is an error during the asynchronous initialization of the OrchardHost\nobject (e.g. App_Data directory is read-only), the users gets a YSOD the first\ntime, but then start getting 404 errors if the page is refreshed. After some\ntime, the YSOD will come up again (once) and so on.  \n  \nThis is a side-effect of the warm up code change done in Orchard 1.1. The\nbehavior should be that the user gets the YSOD consistently, until the host\ninitialization code has successfully finished (i.e. Orchard 1.0 experience).  \n\nWork Item Details\n--------------------\n**Original CodePlex Issue:**\t[Issue 17876](http://orchard.codeplex.com/workitem/17876)\n**Status:**\tClosed\n**Reason Closed:**\tUnassigned\n**Assigned to:**\trpaquay\n**Reported on:**\tMay 25, 2011 at 4:17 AM\n**Reported by:**\trpaquay\n**Updated on:**\tJun 14, 2011 at 7:23 PM\n**Updated by:**\tBertrandLeRoy\n**Closed on:**\tJun 14, 2011 at 7:23 PM\n**Closed by:**\tBertrandLeRoy\n**Status:**\tClosed\n**Reason Closed:**\tUnassigned\n**Assigned to:**\trpaquay\n**Reported on:**\tMay 25, 2011 at 4:17 AM\n**Reported by:**\trpaquay\n**Updated on:**\tJun 14, 2011 at 7:23 PM\n**Updated by:**\tBertrandLeRoy\n**Closed on:**\tJun 14, 2011 at 7:23 PM\n**Closed by:**\tBertrandLeRoy\n"},"comment":{"url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/comments/89233251","html_url":"https://github.com/bleroy/OrchardImportTest/issues/1768#issuecomment-89233251","issue_url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/1768","id":89233251,"user":{"login":"bleroy","id":1165609,"avatar_url":"https://avatars.githubusercontent.com/u/1165609?v=3","gravatar_id":"","url":"https://api.github.com/users/bleroy","html_url":"https://github.com/bleroy","followers_url":"https://api.github.com/users/bleroy/followers","following_url":"https://api.github.com/users/bleroy/following{/other_user}","gists_url":"https://api.github.com/users/bleroy/gists{/gist_id}","starred_url":"https://api.github.com/users/bleroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleroy/subscriptions","organizations_url":"https://api.github.com/users/bleroy/orgs","repos_url":"https://api.github.com/users/bleroy/repos","events_url":"https://api.github.com/users/bleroy/events{/privacy}","received_events_url":"https://api.github.com/users/bleroy/received_events","type":"User","site_admin":false},"created_at":"2015-04-03T09:16:50Z","updated_at":"2015-04-03T09:16:50Z","body":"On *2011-06-02 12:23:12 UTC*, **@rpaquay** commented:\n\nFixed in changeset (5a3a110be842) Refactor WarmupHttpModule use of AsyncResult\n"}}