Open mannipulator opened 1 year ago
I have the same problem. I get all errors except the last one. Accessing grocy through home assistant ingress via the homeassistant ui is no problem and I can edit data there just fine. The problem occurs only with the app on IOS and MacOS.
I noticed that when I log out from the server in the app and log back in, then I have a connection and can edit data but after about a minute the errors mentioned occur. After a night sleep it might work again but only for a minute or so.
To give some system context for my installation:
homeassistant:
IOS app:
MacOS app:
As an example, here is the IOS App log after logging out of the server, logging back in and editing some data until it doesn't work anymore:
26.11.2023, 10:19:21: Server check successful. Logging into Grocy Server 4.0.3 with app version 2.10.3. 26.11.2023, 10:19:21: Switched to login modus 26.11.2023, 10:20:01: Quantity unit added successfully. 26.11.2023, 10:20:28: Location added successfully. 26.11.2023, 10:21:27: Store Edeka edited successfully. 26.11.2023, 10:21:33: Store Edeka edited successfully. 26.11.2023, 10:21:38: Store REWE edited successfully. 26.11.2023, 10:21:42: Store REWE edited successfully. 26.11.2023, 10:21:46: Store PicNic edited successfully. 26.11.2023, 10:21:50: Store PicNic edited successfully. 26.11.2023, 10:21:57: Deleting store was successful. 26.11.2023, 10:22:05: Store added successfully. 26.11.2023, 10:22:14: Store EDEKA edited successfully. 26.11.2023, 10:22:33: Getting timestamp failed. Message: Error Domain=NSPOSIXErrorDomain Code=57 "Socket is not connected" UserInfo={NSDescription=Socket is not connected} 26.11.2023, 10:22:34: Getting timestamp failed. Message: hassError(error: Grocy_Mobile.APIError.errorString(description: "Web Socket not running.")) 26.11.2023, 10:22:40: Store edit failed. hassError(error: Grocy_Mobile.APIError.errorString(description: "Web Socket not running.")) 26.11.2023, 10:22:44: Getting timestamp failed. Message: hassError(error: Grocy_Mobile.APIError.errorString(description: "Web Socket not running.")) 26.11.2023, 10:22:45: Getting timestamp failed. Message: hassError(error: Grocy_Mobile.APIError.errorString(description: "Web Socket not running."))
I am trying to use the Grocy app, however I keep getting errors. I have installed the Grocy add-on in the Home Assistant OS, the web interface works fine. In the iOS app, I often get white screens or products can't be saved, always with one of the following error messages:
Getting timestamp failed. Message: hassError(error: Grocy_Mobile.APIError.errorString(description: "Web Socket not running."))
or this:Product edit failed. Message: hassError(error: Grocy_Mobile.APIError.errorString(description: "Web Socket not running."))
or this:
Getting timestamp failed. Message: ErrorDomain=kNWErrorDomainPOSIX Code=57 "Socket is not connected" UserInfo={NSDescription=Socker is not connected}
or this:
Getting timestamp failed. Message: internalError
Version: 3.3.2 Releasedatum: 12.11.2022 PHP Version: 8.1.19 SQLite Version: 3.41.2