How to catch when Appwrite's server is down uses Java and Android? Is it possible?
Yes, if it throws an error not related to connection, but server (5xx error) you show server is down or something similar
But my app catch only java.net.RuntimeException: timeout
My internet is working 100%
Is it possible that I'll catch server's status from my app?
Before account's API operations
Then you could consider timeout as server error. It's the only way. Another option could be integrating an API (for example better uptime) with your app or using a library to check connection. If connection is successful but you see a timeout, throw sevre refror
I'll try it and after message about results
(edited) 😅
Recommended threads
- Authentication on custom Websocket Serve...
Hi, I want to use a custom Websocket Server (using Bun) for my application. However I cant really figure out authentication on custom servers. Session cookies ...
- Realtime: Listener not triggered on upda...
I self host appwrite 1.8.1. The genereal functionallity works fine. But my realtime subscription isn't updating. I see "Received heartbeat response from realtim...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...