mirror of
https://github.com/langgenius/dify-docs-archived.git
synced 2026-07-21 01:45:23 -04:00
启动worker的时候,不会读取.env文件中的REDIS_HOST参数 #151
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hjklong55 on GitHub (Apr 28, 2025).
1。.evn文件如下:
REDIS_HOST=10.238.116.60
2.启动的时候还是去的localhost。
2025-04-28 10:40:01,498 ERROR [consumer.py:493] consumer: Cannot connect to redis://:**@localhost:17000/1: Error 111 connecting to localhost:17000. Connection refused..
Trying again in 2.00 seconds... (1/100)
请问怎么解决