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

自建Leanote发送邮件失败 以及 /api/auth/login登陆失败 #675

Open
vcinex opened this Issue Oct 11, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@vcinex

vcinex commented Oct 11, 2017

  1. Centos7下自建,发送邮件失败,确认smtp服务器 端口 用户 密码等配置正确后台报dial tcp <ip:port>: getsockopt: connection timed out
    这个可能是服务器的问题?

  2. Postman访问/api/auth/login登陆未验证邮箱账户失败,返回{"Ok":false,"Msg":"Wrong username or password"}
    同样的请求格式访问leanote.com登陆成功

@lealife

This comment has been minimized.

Show comment
Hide comment
@lealife

lealife Oct 11, 2017

Member

自建的服务可以在网页上登录吗?

Member

lealife commented Oct 11, 2017

自建的服务可以在网页上登录吗?

@vcinex

This comment has been minimized.

Show comment
Hide comment
@vcinex

vcinex Oct 11, 2017

所有用户网页可以登录,安卓客户端也可以登录
中间迁移过服务器 迁移之前建立有用户A,刚刚又建立了用户B
现在Demo用户和B用户可以API登录,admin和A用户不可以API登录
Shell操作删除AB用户后后台重新建立AB用户后均不可API访问

另外 服务器上有一个Python脚本内含SMTP发送邮件部分,也是在之前的机器上可以正常运行,迁移之后无法发送邮件

vcinex commented Oct 11, 2017

所有用户网页可以登录,安卓客户端也可以登录
中间迁移过服务器 迁移之前建立有用户A,刚刚又建立了用户B
现在Demo用户和B用户可以API登录,admin和A用户不可以API登录
Shell操作删除AB用户后后台重新建立AB用户后均不可API访问

另外 服务器上有一个Python脚本内含SMTP发送邮件部分,也是在之前的机器上可以正常运行,迁移之后无法发送邮件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment