Skip to content

App Version 3.2.0 crashes up on connect to any server #228

@miaukatzewau

Description

@miaukatzewau

Hello Guys,

i found your project yesterday and had to install it on my k3s cluster immediately :)
No issues there, i can access the WebUI just fine.

Problem:
The iOS app crashes up on connect to any grocy server including the demo instances.
For my own Server. i created the access token and then used the QR code for the app configuration. But i also tried manually adding the server and copy&pasting the token. I also tried running the server with auth disabled.
I tried https://myserver.mydomain/api and without /api.

iOS Devices and Versions:

  • Iphone air (ios 26.2)
  • ipad mini 7 (ipadOS 26.2)

Grocy Versions:

  • 4.4.2
  • 4.5.0
  • demo instances i assume 4.5.0?

I found the following in the app.log the after i started the app again (it auto-closed on connect):
Jan 21, 2026 at 10:11:34 AM: Not logged in Jan 21, 2026 at 10:11:37 AM: Getting timestamp failed. Message: Error Domain=NSURLErrorDomain Code=-1002 "unsupported URL" UserInfo={NSLocalizedDescription=unsupported URL, NSErrorFailingURLStringKey=/api/system/db-changed-time, NSErrorFailingURLKey=/api/system/db-changed-time, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <7F345390-0F1F-4027-B8EB-AA4F5EA12FF8>.<1>" ), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <7F345390-0F1F-4027-B8EB-AA4F5EA12FF8>.<1>, NSUnderlyingError=0x113d273c0 {Error Domain=kCFErrorDomainCFNetwork Code=-1002 "(null)"}} Jan 21, 2026 at 10:11:49 AM: Getting timestamp failed. Message: Error Domain=NSURLErrorDomain Code=-1002 "unsupported URL" UserInfo={NSLocalizedDescription=unsupported URL, NSErrorFailingURLStringKey=/api/system/db-changed-time, NSErrorFailingURLKey=/api/system/db-changed-time, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <C28F1F29-E457-4D18-AD44-6E1DC26A7C0A>.<2>" ), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <C28F1F29-E457-4D18-AD44-6E1DC26A7C0A>.<2>, NSUnderlyingError=0x11d1f0d20 {Error Domain=kCFErrorDomainCFNetwork Code=-1002 "(null)"}}

In the nginx logs in the pod i can see that the ios client is connecting:
root@grocy-6b8fff94bf-chpxv:/config/log# tail -f nginx/access.log 10.42.3.5 - - [21/Jan/2026:16:11:13 +0000] "GET /api/system/info HTTP/1.1" 200 307 "-" "Grocy%20Mobile/50 CFNetwork/3860.300.31 Darwin/25.2.0" 10.42.3.5 - - [21/Jan/2026:16:11:15 +0000] "GET /api/system/db-changed-time HTTP/1.1" 200 49 "-" "Grocy%20Mobile/50 CFNetwork/3860.300.31 Darwin/25.2.0" 10.42.3.5 - - [21/Jan/2026:16:11:17 +0000] "GET /api/user HTTP/1.1" 200 169 "-" "Grocy%20Mobile/50 CFNetwork/3860.300.31 Darwin/25.2.0"

Since the problem occurs also with the demo servers, i assume my setup is not the reason for this issue.
I also just tested the Android App which works with my server. I know its not the same app all i wanted to know is, if my setup is the problem

Can you guys help me with this issue?
Am i doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions