Umbraco - 预定发布的问题 - v7.2.1

M05*_*mty 5 c# umbraco azure asp.net-mvc-4

http://our.umbraco.org/forum/core/general/61055-Problems-with-scheduled-publishing-721

在我们的UAT和生产环境中部署在Azure上时,我在各种版本的Umbraco的计划发布行为中遇到了奇怪的错误.日志中的以下错误不断出现.

该站点托管在IIS 8中的https绑定上.

当前部署的Umbraco版本为7.1.9,其中日志发生且计划发布未完成.

尝试将原始7.2.1实例部署到同一环境后,出现相同的错误,但是尽管出现错误,但发布似乎实际上按预期工作.

我已经回顾了一些关于此事的其他类似主题,并尝试了所描述的修复无济于事.我想知道我在这里缺少什么吗?

http://our.umbraco.org/forum/core/general/56407-Worrying-errors-in-the-logs-over-last-couple-of-days-from-UmbracoWebSchedulingScheduledPublishing-?p=0

http://issues.umbraco.org/issue/U4-5842

http://issues.umbraco.org/issue/U4-5379

我考虑过Sebastiaan给出的解释的唯一想法是在我已经在日志中看到的OriginalRequestUrl修复实现之后:

2015-02-04 10:31:32,073 [17] INFO  Umbraco.Web.UmbracoModule - [Thread 10] Setting OriginalRequestUrl: test.[company].com:443/umbraco
Run Code Online (Sandbox Code Playgroud)

现在,在https上托管的网站不会将任何请求绑定到http:// test.[公司] .com:443/umbraco,我猜这会导致超时?是否有一个我缺少的设置来启用它?

我已将umbracoUseSSL设置为true,但这没有帮助.

提前致谢.

2015-02-04 12:00:45,647 [20] ERROR Umbraco.Web.Scheduling.KeepAlive - [Thread 108] Error in ping
System.Net.WebException: The operation has timed out
   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   at System.Net.WebClient.DownloadString(Uri address)
   at Umbraco.Web.Scheduling.KeepAlive.Start(ApplicationContext appContext,   IUmbracoSettingsSection settings)
 2015-02-04 12:01:17,644 [73] INFO  umbraco.BusinessLogic.Log - [Thread 125] Log scrubbed.  Removed all items older than 2014-12-06 12:01:17
2015-02-04 12:01:17,644 [20] INFO  umbraco.BusinessLogic.Log - [Thread 108] Log scrubbed.  Removed all items older than 2014-12-06 12:01:17
2015-02-04 12:01:25,624 [20] ERROR Umbraco.Web.Scheduling.ScheduledPublishing - [Thread 14] An error occurred with the scheduled publishing
System.Net.WebException: The operation has timed out
   at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
   at System.Net.WebClient.UploadString(Uri address, String method, String data)
   at Umbraco.Web.Scheduling.ScheduledPublishing.Run()
Run Code Online (Sandbox Code Playgroud)

小智 2

据我了解,这个问题与http://issues.umbraco.org/issue/U4-5965有关

问题的解决似乎涉及新的 baseUrl 属性。我正在使用 6.2.4 并遇到同样的问题,IIS 8 具有强制 SSL 的 URL 重写。等待6.2.5发布。