What can I do about `Retry header did not contain a valid timeout`?
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- node.js, typescript
- 領域
- api
調査の方向性
packages/web-api/src/WebClient.ts の 417 行目付近にある、報告された retry ヘッダー処理から始め、5.15.0 のコンテキストと記載されている 429 の再現手順を使用します。観測された timeout の欠落をクライアントの既存の動作と比較します。完了とするには、明確に合意された説明または処理の変更が必要ですが、この issue では現在それが指定されていません。
索引モデルが issue の本文から書いたものです。
説明
Hey there,
I've been running into 3 occurrences of this error: Retry header did not contain a valid timeout (from here)
The client was using the outdated 5.15.0 WebApi, so it didn't tell me the url.
My main questions are
- is there a way to prevent getting rate limit responses w/o retrySec information?
- are there any ideas about what causes this?
- Is there a best practice on how to handle these?
Thanks in advance
Packages:
Select all that apply:
-
@slack/web-api -
@slack/rtm-api -
@slack/webhooks -
@slack/oauth -
@slack/socket-mode - I don't know
Reproducible in:
npm ls | grep -o "\S\+@\S\+$" | tr @ ' ' | awk -v q='"' '{print q$1q": "q"^"$2q","}' | grep slack
node --version
sw_vers && uname -v # or `ver`
The Slack SDK version
@slack/web-api: 5.15.0
Python runtime version
v15.14.0
OS info
Chrome/98.0.4758.80
Macintosh; Intel Mac OS X 10_15_7
Steps to reproduce:
(Share the commands to run, source code, and project settings)
- Send a slack message
- Receive a 429
- Miss the timeout
Expected result:
I don't know, assume a default timeoutSec?
Actual result:
(Tell what actually happened with logs, screenshots)
Requirements
For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
- 主要言語
- TypeScript
- スター
- 3.4k
- フォーク
- 694
- 平均マージ
- 1日 10時間
- マージ済み PR(30日)
- 75
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
slackapi/node-slack-sdk のほかの issue
-
web-api: type is_stoppable and date_status_processing_expire on conversations.list agent statusesオープンarea:typescript enhancement pkg:web-api
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
slackapi/node-slack-sdk#2900 ·
メンテナーはふだん 1 日以内に返信
-
pkg:web-api
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
slackapi/node-slack-sdk#2895 ·
メンテナーはふだん 1 日以内に返信
-
pkg:web-api
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
slackapi/node-slack-sdk#2894 ·
メンテナーはふだん 1 日以内に返信
-
`SlackListsItem FieldMessage.message` type does not match API response shape対応中かも @AjTheSpidey が 202 日前に担当しました。 オープンarea:typescript auto-triage-skip bug pkg:web-api
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
slackapi/node-slack-sdk#2598 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Missing TypeScript response type for files.uploadV2対応中かも @Yshuro が 6 日前に担当しました。 オープンarea:typescript auto-triage-skip bug pkg:web-api
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
slackapi/node-slack-sdk#2459 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
slackapi/node-slack-sdk の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
Techiebutler/freeframe#687 ·
メンテナーはふだん 1 日以内に返信
-
enhancement from-app needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
nightly-labs/openbot#23050 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
OHDSI/Data2Evidence#3846 ·
メンテナーはふだん 3 日以内に返信
-
frontend: EditorDialog: Save & Apply on an empty or comment-only document reports success and applies nothing対応中かも @shubhamrai9122-creator が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
kubernetes-sigs/headlamp#9086 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
openai/openai-node#3232 ·
メンテナーはふだん 1 日以内に返信