[BUG] <Pull the latest version of docker image deployment service, the email function cannot be used normally>
- Dominant language
- Java
- Stars
- 7.4k
- Forks
- 1.3k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 32
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Current Behavior
docker pull tancloud/hertzbeat:latest
docker run -d -p 1157:1157 -p 1158:1158 --name hertzbeat tancloud/hertzbeat
访问localhost:1157启动默认帐户:admin/hertzbeat
消息通知---->新增接收对象---->填写邮箱信息---->测试报错
报错信息为:
触发告警测试失败!
[Email Notify Error] Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.qq.com, port: 587; nested exception is: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message. Failed messages: javax.mail.MessagingException: Could not connect to SMTP host: smtp.qq.com, port: 587; nested exception is: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
### Expected Behavior
_No response_
### Steps To Reproduce
centos7.9
内核版本为6.7.1-1.el7.elrepo.x86_64
关闭防火墙
Docker version 25.0.0, build e758fe5
Docker Compose version v2.24.1
### Environment
```markdown
HertzBeat version(s):
docker pull tancloud/hertzbeat:latest
```
### Debug logs
_No response_
### Anything else?
_No response_
Contributor guide
Research direction
Reproduce the failure with the documented Docker commands and the HertzBeat notification path: add a recipient, enter the email details, and run the test. Start from the reported smtp.qq.com port 587 connection error and compare the SMTP settings with the container's behavior. Done means the email notification test succeeds without the SSLException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- centos, docker, java
- Domain
- backend, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100