CFHTTP 和 IIS 7 连接失败(非 SSL)
这与之前未回答的问题完全相同:
在 Win7 上的 IIS7 + CF9 上,当在端口 80 上的 localhost,无需 SSL。它的成功率约为 5%(或更少),这意味着它会间歇性地得到处理。但大多数时候它只是失败。
我调用的地址是:
http://localhost/integration/MY_KFKPortal/index.cfm? svc=KFKIncoming_MRC
在浏览器中工作正常。我的 CFHTTP 代码是:
<cfhttp url="#URL#" method="POST" result="objGet" timeout="20" throwOnError="no">
<cfhttpparam name="Content-Type" type="HEADER" value="content-type:text/html;charset='UTF-8';">
<cfhttpparam type="body" value="#PostString#"/>
</cfhttp>
有人找到这个问题的解决方案吗?
This is the same exact problem as a previously unanswered question:
CFHTTP and IIS 7 Connection Failture (NOT SSL)
On IIS7 + CF9 on Win7, CFHTTP POST fails with a HTTP Error 408 Request Time-out most of the time when using CFHTTP on localhost on port 80 without SSL. It is successful about 5% of the time (or less), meaning intermittently it will get processed. But most of the time it just fails.
The address I call is:
http://localhost/integration/MY_KFKPortal/index.cfm?svc=KFKIncoming_MRC
which works fine from the browser. My CFHTTP code is:
<cfhttp url="#URL#" method="POST" result="objGet" timeout="20" throwOnError="no">
<cfhttpparam name="Content-Type" type="HEADER" value="content-type:text/html;charset='UTF-8';">
<cfhttpparam type="body" value="#PostString#"/>
</cfhttp>
Anyone found the solution to this problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于这种情况,应该有两方面的考虑。
It should be two consideration for this case.