dapr / dapr/cpp-sdk

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

Abierto
#49 3 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Makefile
Estrellas
38
Forks
16
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
cpp, redis
Área
distributed-systems
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.