我在
Windows Server 2012中的IIS中托管了一个应用程序.网站定期无法调用应用程序中使用的安全SOAP Api.通过在IIS中重新启动网站来解决此问题.但我无法在任何时候重启应用程序.
我在事件查看器和.中收到以下错误消息
应用程序错误日志
事件查看器
The TLS protocol defined fatal alert code is 80.
应用错误日志
“Could not establish secure channel for SSL/TLS with authority
‘URL’ ”
Windows Update尚未安装Microsoft已知的S Channel SSL Update KB,已知会生成此错误.
如果您查找错误原因:
TLS协议中的警报代码80表示:
Internal Error: An internal error unrelated to the peer or the
correctness of the protocol makes it impossible to continue,such as a
memory allocation failure. The error is not related to protocol. This
message is always fatal.
似乎在SOAP UI的配置方面有些不好,可能存在以下情况:
>服务中的内存消耗:结账WCF – Random client timeout when making multiple calls
>与限制(服务调用和优化的上限)设置相关的设置:您需要为任何托管应用程序设置最大并发调用.确保该值大于所需的连接.结帐WCF timeout exception detailed investigation
>服务器出错(应用程序中的内存泄漏,内存减少,其他进程):Monitor Server在应用程序中的事件查看器中记录错误.
>应用程序池的空闲超时设置:IIS上托管的任何托管应用程序都使用应用程序池&应用程序池有空闲超时.这意味着如果在一段时间内(AppPool的空闲超时)没有使用该AppPool上的托管应用程序,AppPool将被回收以释放资源.之后的新调用需要启动需要比常用时间更长的AppPool而不是某些应用程序的超时(如果超时较少).
查看Configure Idle Time-out Settings for an Application Pool