Azure / Azure/data-api-builder

[Bug]: Timeout gives 502 response and config is not taken into account

オープン
#2,750 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug triage
主要言語
C#
スター
1.5k
フォーク
370
平均マージ
3日 22時間
マージ済み PR(30日)
9

説明

### What happened?

The default 30 seconds timeout on connections cause the API to return 502.

The connect string contains `Timeout=15; Command Timeout=180` but the parameters are always ignored.

Image

### Version

1.4.6

### What database are you using?

PostgreSQL

### What hosting model are you using?

Custom Docker host

### Which API approach are you accessing DAB through?

REST

### Relevant log output

```Text
N/A - nothing interesting in logs
```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、報告された接続文字列を使用して PostgreSQL に対する REST リクエストを再現し、続いて接続とコマンドのタイムアウトパラメーターがどのように処理されているかを追跡します。設定されたタイムアウトが守られ、デフォルトの30秒の制限を超えた後にリクエストが予期せず 502 を返さなくなれば完了です。

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

評価

技術スタック
csharp, postgresql
領域
api, backend, databases
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

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

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