Timeout exception

オープン
#59 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
android, java
領域
api

調査の方向性

The payload names no files, so start from the client's search request path and reproduce it by pointing at an unreachable host with a 2000ms timeout. Done means the timeout reaches the caller as a catchable library exception instead of an uncaught crash. The thread has been silent for over two years with no assignee or pull request, so confirm the maintainers still want this change before starting.

索引モデルが issue の本文から書いたものです。

説明

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)

主要言語
Java
スター
90
フォーク
39
平均マージ
22時間 26分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

typesense/typesense-java のほかの issue

typesense/typesense-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。