简体   繁体   English

IIS Wordpress反向代理新发布超时

[英]IIS Wordpress Reverse Proxy New Post Timeout

We finally managed to install Wordpress on IIS with a reverse proxy on Netscaler. 我们终于设法在Netscaler上使用反向代理在IIS上安装了Wordpress。 The site works fine except when I attempt to make a new post. 该网站工作正常,除非我尝试发表新帖子。

I click on Publish, after some time I get a timeout with error net::ERR_CONNECTION_TIMED_OUT. 我单击发布,一段时间后出现超时,错误为net :: ERR_CONNECTION_TIMED_OUT。

The URL is as per below, which also seems somewhat wrong since we are coming from https. URL如下所示,由于我们来自https,因此似乎也有些错误。 http://domain.com/wordpress/wp-admin/post.php?post=2011&action=edit&message=6&doing_wp_cron=1417706600.9032890796661376953125 http://domain.com/wordpress/wp-admin/post.php?post=2011&action=edit&message=6&doing_wp_cron=1417706600.9032890796661376953125

When I click back into the Posts page, I see that the post has been created. 当我单击回到“帖子”页面时,看到该帖子已创建。 Also, clicking back shortly after I clicked on Publish, Postr has been created. 另外,在单击“发布”后不久,单击返回,就创建了Postr。 This also occurs when deleting more than one post, deleting only one works though. 当删除多个帖子,但仅删除一个作品时,也会发生这种情况。

When I post using the browser on the web server the post is published, I get the refreshed page with message 'Post Published'. 当我使用Web服务器上的浏览器发布帖子时,发布该帖子,得到的页面刷新并显示消息“发布帖子”。

Any suggestions? 有什么建议么? Many thanks for any help!! 非常感谢您的帮助!

Ok well I found the problem.. . 好的,我发现了问题。 I really hope this helps someone else, as usual it was relatively simple and the answer was in my last edit which shows doing_wp_cron. 我真的希望这对其他人有帮助,像往常一样,它相对简单,答案出在我上次显示doing_wp_cron的编辑中。

Commenting out the line below, new posts now posts as they should: 注释掉下面的行,现在新帖子按原样发布:

define('ALTERNATE_WP_CRON', true);

Time for a beer! 是时候喝啤酒了!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM