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

Unable to login reporting error "Use JsonReader.setLenient(true) to accept malformed JSON at path $" #172

Open
edersong opened this issue May 7, 2024 · 5 comments

Comments

@edersong
Copy link

edersong commented May 7, 2024

I'm behind Cloudflare tunnel and trying to login thru user+password but it reports:

Use JsonReader.setLenient(true) to accept malformed JSON at path

Tried also thru Access Tocken, but getting the same error.

MoeMemos version 0.7.4
Memos version 0.21.0

@mudkipme
Copy link
Owner

mudkipme commented May 7, 2024

Please try disabling Cloudflare's Browser Integrity Check: https://developers.cloudflare.com/waf/tools/browser-integrity-check/

@edersong
Copy link
Author

edersong commented May 7, 2024

Hello, @mudkipme
Thanks for the feedback.
Tried it but didn't work. :-(

@tiritibambix
Copy link

I have the same issue. I don't use cloudlfare but nginx proxy manager

@tiritibambix
Copy link

How to fix this please ?

@mudkipme
Copy link
Owner

I tried setting a Memos server with Cloudflare Tunnel (with the default security setting and Browser Integrity Check enabled) and unable to reproduce this issue with latest Moe Memos and Memos. Could you try again and test with the curl command and reply with the response:

curl https://<your-cloudflare-tunnel-domain>/api/v1/workspace/profile

If you are using Memos 0.21 or below, please test with this command:

curl https://<your-cloudflare-tunnel-domain>/api/v1/status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants