简体   繁体   English

Jmeter 侦听器显示“javax.net.ssl.SSLException:无法识别的 SSL 消息,纯文本连接?”

[英]Jmeter listener showing “ javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?”

Using jmeter I am trying to run a test that was recorded using HTTP proxy Server.使用 jmeter 我试图运行一个使用 HTTP 代理服务器记录的测试。 But on playing the test following exception is thrown in the listener.但是在播放测试时,侦听器中会抛出以下异常。

javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
    at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:521)
    at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:722)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1029)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1056)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1040)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:405)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:133)
    at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:483)
    at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:965)
    at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:951)
    at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:348)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
    at java.lang.Thread.run(Thread.java:619)

The website also had certificate issue for which i permanently stored exception.What can be the reasons for this error?该网站也有证书问题,我永久存储了异常。此错误的原因是什么? Any help would be appreciated任何帮助,将不胜感激

The error message indicates that you are trying to establish an SSL/TLS connection using a port on the server that speaks HTTP and not HTTP S .该错误消息表明您正在尝试使用服务器上使用 HTTP 而不是 HTTP S的端口建立 SSL/TLS 连接。 Make sure you have the correct port - usually 443 for HTTPS.确保您拥有正确的端口——HTTPS 通常为 443。

暂无
暂无

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

相关问题 无法发送邮件 - javax.net.ssl.SSLException:无法识别的 SSL 消息,纯文本连接? - Unable to Send Mail - javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? 随机出现的javax.net.ssl.SSLException:无法识别的SSL消息,明文连接? - Random occurence of javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? 获取源网页的源代码,javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? - get source web page's source code, javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? spotify/dockerfile-maven 插件:无法构建映像:javax.net.ssl.SSLException:无法识别的 SSL 消息,纯文本连接 - spotify/dockerfile-maven plugin: Could not build image: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection 连接到IMAP javax.net.ssl.SSLException:无法识别的SSL消息 - Connecting to IMAP javax.net.ssl.SSLException: Unrecognized SSL message javax.net.ssl.SSLException:不支持或无法识别的 SSL 消息 - javax.net.ssl.SSLException: Unsupported or unrecognized SSL message javax.net.ssl.SSLException:连接重置 - javax.net.ssl.SSLException: Connection reset 获取不受支持或无法识别的 SSL 消息; 调用外部 API 时,嵌套异常是 javax.net.ssl.SSLException - Getting Unsupported or unrecognized SSL message; nested exception is javax.net.ssl.SSLException while calling external API 客户端无法与 WireMock 通信 HTTPS:javax.net.ssl.SSLException:不支持或无法识别的 SSL 消息 - client can't talk HTTPS to WireMock: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message javax.net.ssl.SSLException:连接重置但仅适用于代理请求 - javax.net.ssl.SSLException: Connection reset but ONLY for proxied requests
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM