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
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...
- My organization's project is blocked
My organization's project is blocked so unblocked my organization then I will this
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...