dapr / dapr/cpp-sdk

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

Offen
#49 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Makefile
Sterne
38
Forks
16
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cpp, redis
Bereich
distributed-systems
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.