dapr / dapr/cpp-sdk

echo_app fails with error nitialization error occurred for pubsub (pubsub.redis/v1)

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

説明

Getting the following errors when trying to compile and run the example application.

WARN[0000] error processing component, daprd process will exit gracefully app_id=callee instance=ad92d6cc7e69 scope=dapr.runtime type=log ver=1.10.4
FATA[0000] process component pubsub error: [INIT_COMPONENT_FAILURE]: initialization error occurred for pubsub (pubsub.redis/v1): redis streams: error connecting to redis at localhost:6379: dial tcp 127.0.0.1:6379: connect: connection refused app_id=callee instance=ad92d6cc7e69 scope=dapr.runtime type=log ver=1.10.4
❌ The daprd process exited with error code: exit status 1
⚠ Could not update sidecar metadata for cliPID: PUT http://127.0.0.1:36265/v1.0/metadata/cliPID giving up after 5 attempt(s): Put "http://127.0.0.1:36265/v1.0/metadata/cliPID": dial tcp 127.0.0.1:36265: connect: connection refused
ℹ️ Updating metadata for appPID: 1513
⚠ Could not update sidecar metadata for appPID: PUT http://127.0.0.1:36265/v1.0/metadata/appPID giving up after 5 attempt(s): Put "http://127.0.0.1:36265/v1.0/metadata/appPID": dial tcp 127.0.0.1:36265: connect: connection refused
ℹ️ Updating metadata for app command: ./echo_app callee 6000
⚠ Could not update sidecar metadata for appCommand: PUT http://127.0.0.1:36265/v1.0/metadata/appCommand giving up after 5 attempt(s): Put "http://127.0.0.1:36265/v1.0/metadata/appCommand": dial tcp 127.0.0.1:36265: connect: connection refused
ℹ️
terminated signal received: shutting down
❌ Error exiting Dapr: exit status 1
✅ Exited App successfully

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

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

調査の方向性

Start by reproducing the echo_app compile-and-run failure and inspect how the pubsub.redis/v1 component connects to Redis at localhost:6379. Confirm whether the example's Redis dependency is running or its configuration is incorrect; done means the app starts without the INIT_COMPONENT_FAILURE connection-refused error.

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

評価

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

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

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