Skip to content

App crashes immediately #242

@schoejo

Description

@schoejo

Hi,

I've been using this app for a while on multiple devices and I really love it. Unfortunately, I've recently run into an issue where the app crashes immediately when I try to refresh stock data or master data.

Environment:

  • Grocy: 4.6.0
  • PHP: 8.5.5
  • SQLite: 3.40.1
  • Grocy Mobile: 3.3.1
  • iOS: 26.4.1

Steps to reproduce:

  1. Open the app
  2. Try to refresh stock data or master data
  3. App crashes immediately

Error from app log:

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, ...}

The server check completes successfully (Server check successful. Logging into Grocy Server 4.6.0 with app version 3.3.1), but the subsequent request to /api/system/db-changed-time fails because the URL appears to be constructed without a host — only the path is used.

The Grocy API is fully accessible via browser and all endpoints respond correctly. The issue seems to be that the app builds a relative URL instead of an absolute one after the initial login.

Happy to provide any additional information if needed. Thanks for the great app!

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