hoarder-app / hoarder

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
https://hoarder.app
GNU Affero General Public License v3.0
6.48k stars 235 forks source link

iOS app JSON parse error #542

Closed katosdev closed 1 month ago

katosdev commented 1 month ago

Hi gang! πŸ‘‹πŸ»

When I try to log into the Hoarder iOS app (iOS 18.1) I am getting an error of: JSON Parse error: Unexpected character: <

Neither my email address nor my password contain this character.

kamtschatka commented 1 month ago

the endpoint you are reaching is not returning json, but some HTML. So you have an issue in your setup.

katosdev commented 1 month ago

the endpoint you are reaching is not returning json, but some HTML. So you have an issue in your setup.

Very interesting, I've only just configured this and have it working on the web side - Will dig into that, any pointers of where are the usual suspects to check please ?

kamtschatka commented 1 month ago

so far it was mostly proxies/VPNs

katosdev commented 1 month ago

so far it was mostly proxies/VPNs

Ahh that could be it actually, the site runs behind Cloudflare. I’ll do some digging and see what’s what. Thanks!

katosdev commented 1 month ago

so far it was mostly proxies/VPNs

Thanks matey, fixed it - Was me being a muppet.... Removed the Cloudflare Access requirement, and the app works flawlessly - Thanks! πŸ™‚