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

Cannot connect to Grocy on my HAG #193

Open
olivievranska opened this issue Jan 9, 2024 · 2 comments
Open

Cannot connect to Grocy on my HAG #193

olivievranska opened this issue Jan 9, 2024 · 2 comments

Comments

@olivievranska
Copy link

Hello,

I'm running Grocy addon on my Home Assistant Green, incl. Let's Encrypt certificate (valid to January 2024), URL https://hag.DOMAIN.TLD:8123.
I tried to connect iOS app using QR code but I'm getting error:

"Connection to server failed.
Server https://hag.DOMAIN.TLD:8123
Error: Operaci nelze dokončit.
(Grocy_Mobile.APIError chyba 5.)

See attached log.

Thank you for solution.
grocy-swiftui_log.log

@supergeorg
Copy link
Owner

The message says a malformed JSON file. This usually happens with the wrong address configuration. (Or missing authentication).

For Home Assistant, please check if the plugin and its paths are configured correctly and the token works.

@olivievranska
Copy link
Author

The message says a malformed JSON file. This usually happens with the wrong address configuration. (Or missing authentication).

For Home Assistant, please check if the plugin and its paths are configured correctly and the token works.

Grocy is working like a charm in HA iOS app, also in web browsers on desktop (Edge, Chrome, Opera) and iOS (Safari, Chrome).

I installed Grocy on my HAG a month ago, I tried to connect iOS app but it was not working due missing certificate as HAG was running only on http and the same subdomain as my Synology (synology.DOMAIN.TLD), separated only by port 8123.

So I created dedicated subdomain hag.DOMAIN.TLD and Let's Encrypt certificate a few days ago and tried to connect Grocy iOS app again.

I'm getting the same error for both ways - QR code, permanent token - and I'm also not able to create API Key using Grocy iOS app.

What should I do?

How can I reset Grocy iOS app to default to remove all data...?

Thanks!

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

2 participants