Grocy-SwiftUI icon indicating copy to clipboard operation
Grocy-SwiftUI copied to clipboard

URL of iOS App: connection ro server failed

Open pedroct opened this issue 3 years ago • 4 comments

I installed the app on my iPhone 11 with no problems. I configured the BASE_URL in the config.php file with my domain http://estoque.pedroct.com.br , but when trying to access, it shows the following error message/image: When I use the manuall connection in the web browser, it works.

grocy_erro

pedroct avatar Jun 07 '21 20:06 pedroct

This seems to be connected to the usage of a non-https server. I have added some more logging to the app to identify this possible error.

supergeorg avatar Jun 07 '21 22:06 supergeorg

Similar problem on my side. I run Grocy on my Home Assistant server all behind reversed proxy server, each with its own port (HA: 8123, Grocy: 9192). Everything works fine but the connection from the iOS app with the QR code connection. Where should I look to fix this problem?

yvansandoz avatar Jul 18 '21 10:07 yvansandoz

If direct login entry works, maybe the BASE_URL is misconfigured. Test the QR code with another app (e.g. iOS Camera) and identify if the login URL is correct (not missing the server address and port).

supergeorg avatar Jul 18 '21 16:07 supergeorg

Yes, the BASE_URL is wrong, but going through the different descriptions, I cannot figure out how to set it up.

yvansandoz avatar Jul 19 '21 15:07 yvansandoz