apache / apache/pulsar-client-node

Provide more info for the AuthenticationError

オープン
#432 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
164
フォーク
98
PR マージ指標
30日以内にマージされた PR はありません

説明

The Node.js client throws an error when an authentication problem occurs:

```
node:internal/process/promises:391
  triggerUncaughtException(err, true /* fromPromise */);
  ^
[Error: Failed to create producer: AuthenticationError]
```

However, this error message lacks useful details. For example, it does not specify if the issue is related to the network connection to the issuer (for OAuth2), a file not being found, or another cause. It would be better to provide more specific information for this error.

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

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、示されている Node.js AuthenticationError を再現し、クライアント内でそのエラーが作成または表面化する箇所を追跡します。OAuth2 のネットワーク障害、ファイル不足、その他の認証原因が現在どのように表現されているかを確認します。エラーメッセージが根本原因に関する有用で具体的な情報を提供すれば完了です。

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

評価

技術スタック
node.js
領域
authentication
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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