0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Daprをローカル環境下で実行失敗

Posted at

Daprが以下のエラーで起動しなくなった

WARN[0000] Error processing component, daprd process will exit gracefully  app_id=api instance=TEST scope=dapr.runtime type=log ver=1.11.1
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=api instance=TEST scope=dapr.runtime type=log ver=1.11.1

起動できなくなった理由

daprは状態をredisにて管理するためredisが必要なのですが、起動していませんでした。
つまりdapr initが上手くいっていなかったようです。

dapr init し直す

dapr unistall 
dapr install

一度 uninstallしないとinitできないのでuninstallしてからinstallしなおしてください。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?