memos icon indicating copy to clipboard operation
memos copied to clipboard

http无法登录、注册,只有https可以

Open refrain1128 opened this issue 1 year ago • 5 comments

Describe the bug

memos 通过环境变量设置成 MySQL 数据库,配置了 OHTTPS 的泛域名证书。 今天把域名证书关闭后发现http加域名无法登录注册,域名加端口和内网ip加端口也无法登录注册,但可以正常浏览/explore页面。 现在只能通过 https 登录,但所有账号都是在设置证书之前注册好的。 并且所有账号通过 http 登录显示“user not found”,清除浏览器缓存后依旧如此。 试过删除容器重新安装也是无法解决问题。

Steps to reproduce

1.输入账号密码 2.点击登录 3.提示“user not found”

The version of Memos you're using

0.20.0

Screenshots or additional context

Uploading memos无法登录.png…

refrain1128 avatar Mar 02 '24 16:03 refrain1128

Issue is not in English. It has been translated automatically.


Title: http cannot log in or register, only https can

Issues-translate-bot avatar Mar 02 '24 16:03 Issues-translate-bot

刚发现注册一直停留在转圈圈的页面,不会显示注册成功,但后台数据库已经创建了相关账号 1709412620947 memos数据库

refrain1128 avatar Mar 02 '24 20:03 refrain1128

Issue is not in English. It has been translated automatically.


I just found out that the registration has been stuck on the Zhuanquan page. It does not show that the registration is successful, but the relevant account has been created in the background database. 1709412620947 memos database

Issues-translate-bot avatar Mar 02 '24 20:03 Issues-translate-bot

我在重装linux系统之后,在只安装了1Panel的情况下,在1Panel的应用商店里安装了memos,发现问题并没有消失。 然而在卸载1Panel后,memos可以正常登录注册使用了。 所以我估计问题原因和1Panel最近更新的版本有关。

refrain1128 avatar Mar 02 '24 23:03 refrain1128

Issue is not in English. It has been translated automatically.


After reinstalling the Linux system, I installed memos in the 1Panel app store when only 1Panel was installed, and found that the problem did not disappear. However, after uninstalling 1Panel, memos can be logged in and registered normally. So I guess the cause of the problem is related to the recently updated version of 1Panel.

Issues-translate-bot avatar Mar 02 '24 23:03 Issues-translate-bot

Duplicated with https://github.com/usememos/memos/issues/3009

boojack avatar Mar 03 '24 07:03 boojack