-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timeout exception #59
Comments
Aren't you able to catch this exception in your code? |
@BilalZurmaati , @kishorenc
|
Yes I did that way but I am just reporting it so that they return a failure instead of crashing the app. @kishorenc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Getting following exception and app crashes as well.
Fatal Exception: java.net.SocketTimeoutException
failed to connect to search.bazaarghar.com/167.88.174.168 (port 443) from /192.168.1.3 (port 39918) after 2000ms
Expected Behavior
If the server is not working so I want to show some kind of error message but typesense straightaway throws this exception and app crashes.
Actual Behavior
The app crashes when on timeout exception.
Metadata
Typesense Version: 0.8.1
OS: Redmi 9C (Android 10)
The text was updated successfully, but these errors were encountered: