当前位置:网站首页>Unrecognized SSL message, plaintext connection?
Unrecognized SSL message, plaintext connection?
2022-07-03 02:09:00 【Aegean child】
Preface
It was almost off work yesterday , A colleague posted an exception log in the Group , The contents are as follows
Failed to send email :{}
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:710)
at sun.security.ssl.InputRecord.read(InputRecord.java:527)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:619)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:393)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:217)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2160)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:726)
at javax.mail.Service.connect(Service.java:366)
Error reporting log is a function of sending email , He wondered if the email content contained escape characters , As a result, some emails can be sent normally , Some emails fail to be sent .
Nature of the problem
Look at this abnormal log , Like SSL Analytical problem , Services involving email sending have been upgraded to SSL 了 , The services have been launched , Sending email related codes is theoretically no problem , Later I thought of sending mail 25 Port and 465 port , Give it a try , Go to the integrated environment server and check the configuration of the mail server , The truth is clear ,66 The mailbox port on the server is 25 Of , and 169 The port on the server is 465 Of , Two nodes on the server , Request polling on both nodes , This explains , Why are some emails sent ok Of . It is clear that it will 25 Port to 465 Just ok 了 .
When troubleshooting , Occasional problems often occur , At this time, it is necessary to consider whether the environment has multiple nodes , Node environment 、 Is the configuration consistent . It has appeared before mq Misconfigured , Test environment mq Consume the message problem of the integrated environment , So be calm when troubleshooting problems , It depends on the actual error information in the exception log , So as to check the problem again .
Specific email support SSL Related information , You can see Email sending tool class
边栏推荐
- 可視化yolov5格式數據集(labelme json文件)
- Network security - password cracking
- File class (check)
- Method of removing webpage scroll bar and inner and outer margins
- 疫情當頭,作為Leader如何進行團隊的管理?| 社區征文
- 详细些介绍如何通过MQTT协议和华为云物联网进行通信
- [Flutter] dart: class;abstract class;factory;类、抽象类、工厂构造函数
- 我的创作纪念日
- Explore the conversion between PX pixels and Pt pounds, mm and MM
- 去除网页滚动条方法以及内外边距
猜你喜欢
查询商品案例-页面渲染数据
Job object of collaboration in kotlin
[shutter] shutter debugging (debugging fallback function | debug method of viewing variables in debugging | console information)
深度(穿透)选择器 ::v-deep/deep/及 > > >
Recommendation letter of "listing situation" -- courage is the most valuable
Machine learning notes (constantly updating...)
Certaines fonctionnalités du développement d'applets
《上市风云》荐书——唯勇气最可贵
stm32F407-------DMA
小程序開發的部分功能
随机推荐
Bottleneck period must see: how can testers who have worked for 3-5 years avoid detours and break through smoothly
COM和CN
疫情当头,作为Leader如何进行团队的管理?| 社区征文
转载收录6.5大侠写的部分Qt开发经验
疫情當頭,作為Leader如何進行團隊的管理?| 社區征文
[shutter] bottom navigation bar implementation (bottomnavigationbar bottom navigation bar | bottomnavigationbaritem navigation bar entry | pageview)
Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance o
How can retail enterprises open the second growth curve under the full link digital transformation
MySQL learning 03
Redis: simple use of redis
Trial setup and use of idea GoLand development tool
File class (check)
Network security - the simplest virus
Caused by: com. fasterxml. jackson. databind. exc.MismatchedInputException: Cannot construct instance o
缺少库while loading shared libraries: libisl.so.15: cannot open shared object file: No such file
Modify table structure
创建+注册 子应用_定义路由,全局路由与子路由
苏世民:25条工作和生活原则
Storage basic operation
In 2022, 95% of the three most common misunderstandings in software testing were recruited. Are you that 5%?