mudkipme / MoeMemosAndroid

An app to help you capture thoughts and ideas
http://memos.moe
GNU General Public License v3.0
620 stars 67 forks source link

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

Open edersong opened 6 months ago

edersong commented 6 months ago

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 commented 6 months ago

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

edersong commented 6 months ago

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

tiritibambix commented 6 months ago

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

tiritibambix commented 5 months ago

How to fix this please ?

mudkipme commented 5 months ago

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