ActiveMQ Channel was inactive for too long: localhost/127.0.0.1:8161

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ActiveMQ Channel was inactive for too long: localhost/127.0.0.1:8161相关的知识,希望对你有一定的参考价值。

参考技术A 原因是配置文件连接端口写的ActiveMQ的默认端口8161,连接端口号应该是61616

偶尔遇到的“The request was aborted:Could not create SSL/TLS secure channel.”怎么解决?

if (url.StartsWith("https", StringComparison.OrdinalIgnoreCase))///https请求
{
    ServicePointManager.Expect100Continue = true;
    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls; //SSL3协议替换成TLS协议
    ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(CheckValidationResult);
    webRequest = WebRequest.Create(url) as HttpWebRequest;
    webRequest.ProtocolVersion = HttpVersion.Version10;
}
else
{
    webRequest = WebRequest.Create(url) as HttpWebRequest;
}

以上是关于ActiveMQ Channel was inactive for too long: localhost/127.0.0.1:8161的主要内容,如果未能解决你的问题,请参考以下文章

org.apache.activemq.transport.InactivityIOException: Cannot send, channel has already failed

偶尔遇到的“The request was aborted:Could not create SSL/TLS secure channel.”怎么解决?

https网站访问第三方https网站时候报错: The request was aborted:Could not create SSL/TLS secure channel.

Failed to upgrade AX 2012 R3 Retail channel database from CU9 to CU11 if SQL Server version was lowe

微信退款时候报”请求被中止: 未能创建 SSL/TLS 安全通道“或”The request was aborted: Could not create SSL/TLS secure channel“

rabbitmq的channel的connection的区别