Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

邮件不发送 #3399

Open
marginheart opened this issue Oct 30, 2019 · 12 comments

Comments

@marginheart
Copy link

@marginheart marginheart commented Oct 30, 2019

[简述你的问题]
测试邮件可以正常发送, 创建用户,找回密码等日志均提示发送成功,但是未发送邮件

使用版本

[请提供你使用的Jumpserver版本 1.x.x 注: 0.3.x不再提供支持]
版本“:Version 1.5.4-2 GPLv2

具体表现[截图可能会更好些,最好能截全]

image

image

@BaiJiangJie

This comment has been minimized.

Copy link
Member

@BaiJiangJie BaiJiangJie commented Oct 31, 2019

看下 celery 的日志信息

@marginheart

This comment has been minimized.

Copy link
Author

@marginheart marginheart commented Oct 31, 2019

celery.log的日志是空的,celery_default.log 倒是有些报错:
image
image

@BaiJiangJie

This comment has been minimized.

Copy link
Member

@BaiJiangJie BaiJiangJie commented Nov 4, 2019

在找回密码或是创建用户的时候,多截一些日志。

@zhouyuyong

This comment has been minimized.

Copy link

@zhouyuyong zhouyuyong commented Nov 4, 2019

遇到同样的问题,测试可以通过,但是无法收到重置邮件 版本1.5.4

点击重置后 在celery日志中没有任何记录信息

@BaiJiangJie

This comment has been minimized.

Copy link
Member

@BaiJiangJie BaiJiangJie commented Nov 4, 2019

查看日志文件 logs/celery_default.log

@zhouyuyong

This comment has been minimized.

Copy link

@zhouyuyong zhouyuyong commented Nov 4, 2019

查看日志文件 logs/celery_default.log

我使用tail -f 实时监控这个文件的内容变化, 当我点击重置时 ,此文件没有发生任何变化

@Yiipanny

This comment has been minimized.

Copy link

@Yiipanny Yiipanny commented Nov 6, 2019

我也遇到了和楼主一模一样的问题,收不到邮件

@xiaochaohasun

This comment has been minimized.

Copy link

@xiaochaohasun xiaochaohasun commented Nov 11, 2019

和楼主一样的问题, 版本 1.5.3 请问,有解决方案了吗?

@eagleye1115

This comment has been minimized.

Copy link

@eagleye1115 eagleye1115 commented Nov 12, 2019

和楼主一样的问题,版本1.5.4
celery日志都是空的

@xiaochaohasun

This comment has been minimized.

Copy link

@xiaochaohasun xiaochaohasun commented Nov 13, 2019

问题已解决,登录redis库3号库的celery key队列拥堵,执行bgsave,重启redis,然后重启jms。

@eagleye1115

This comment has been minimized.

Copy link

@eagleye1115 eagleye1115 commented Nov 14, 2019

问题已解决,登录redis库3号库的celery key队列拥堵,执行bgsave,重启redis,然后重启jms。

使用同样的办法,问题依旧

@marginheart

This comment has been minimized.

Copy link
Author

@marginheart marginheart commented Nov 19, 2019

我这里恢复了,具体原因不知。 我在 jumpserver/apps/jumpserver/settings.py中添加了邮箱的相关信息,然后我想看邮件发送的调用在 jumpserver/apps/common/task.py中添加了邮件内容写入到文本中,然后重启自行恢复了。感觉是有时发送邮件并没有调用到发送邮件的方法,只是生成了日志内容并写入了日志。
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.