MoeMemosAndroid
MoeMemosAndroid copied to clipboard
无法登陆,Use JsonReader.setLenient(true) to accept malformed JSON at path $错误
我用客户端 Moe Memos 用 Open API 的方式,提示 Use JsonReader.setLenient(true) to accept malformed JSON at path $错误,不知道哪里出问题,不知道楼主或者大家有没有 【网页端是可以登陆使用的】
版本是 v0.4.1
I can't reproduce this issue with Open API login and Memos 0.9.1. Could you please reply with the output of this API with your web browser:
https://{YOUR_MEMOS_HOST}/api/user/me
Please make sure to remove the JSON value of your personal information such as email and openId.
BTW, does Username/Password login work for you?
Same issue:
{
"data": {
"id": 1,
"rowStatus": "NORMAL",
"createdTs": 1684387399,
"updatedTs": 1684392093,
"username": "ederson",
"role": "HOST",
"email": "secret",
"nickname": "Ederson Santos",
"openId": "secret",
"avatarUrl": "",
"userSettingList": [
{
"UserID": 1,
"key": "locale",
"value": "\"pt-BR\""
}
]
}
}
I'm behind Cloudflare tunnel and user+password report the same message MoeMemos version 0.6.1 Memos version 0.12.2
I'm having the same issue. I'm also behind a Cloudflare tunnel for Memos on my unRAID server. That being said, I temporarily bypassed it and it still get the same "malformed" error as above.
Username and password gives a different error:
baseUrl must end in /: https://{mydomain}/api/memo?openId={myopenID}
NOTE:
Using my IP instead of the Cloudflare DNS name allows Moe to connect. Obviously this only works on local network but is there a possibility to implement SSO that plays nice with CF?
I had the same problem, but my problem has been solved. My memos is built on the nas through docker, and then the internal network is penetrated to map the port to the external network. Since I have set up the nas access IP verification (there are other verification methods, such as WeChat, Oauth2.0, etc.), it needs to be done in advance. Use the tool to verify the IP of the mobile phone, and moe memos can log in normally.